Class COSIncrement

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(COSBase base)
      Returns true if the given COSBase is already known to and has been processed by this COSIncrement.
      COSIncrement exclude​(COSBase... base)
      The given COSBases are not fit for inclusion in an increment and shall be added to excluded.
      null values shall be ignored.
      java.util.Set<COSBase> getObjects()
      Returns all indirect COSBases, that shall be written to an increment as top level COSObjects.
      Calling this method will cause the increment to be initialized.
      java.util.Iterator<COSBase> iterator()
      Return an iterator for the determined objects contained in this COSIncrement.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • contains

        public boolean contains​(COSBase base)
        Returns true if the given COSBase is already known to and has been processed by this COSIncrement.
        Parameters:
        base - The COSBase to check.
        Returns:
        true if the given COSBase is already known to and has been processed by this COSIncrement.
        See Also:
        objects, processedObjects
      • exclude

        public COSIncrement exclude​(COSBase... base)
        The given COSBases are not fit for inclusion in an increment and shall be added to excluded.
        null values shall be ignored.
        Parameters:
        base - The COSBases to add to excluded.
        Returns:
        The COSIncrement itself, to allow method chaining.
        See Also:
        excluded
      • getObjects

        public java.util.Set<COSBase> getObjects()
        Returns all indirect COSBases, that shall be written to an increment as top level COSObjects.
        Calling this method will cause the increment to be initialized.
        Returns:
        All indirect COSBases, that shall be written to an increment as top level COSObjects.
        See Also:
        objects
      • iterator

        public java.util.Iterator<COSBase> iterator()
        Return an iterator for the determined objects contained in this COSIncrement.
        Specified by:
        iterator in interface java.lang.Iterable<COSBase>
        Returns:
        An iterator for the determined objects contained in this COSIncrement.