Class UnmodifiableCOSDictionary

    • Constructor Detail

      • UnmodifiableCOSDictionary

        UnmodifiableCOSDictionary​(COSDictionary dict)
    • Method Detail

      • mergeInto

        public void mergeInto​(COSDictionary dic)
        This will add all of the dictionaries keys/values to this dictionary, but only if they don't already exist. If a key already exists in this dictionary then nothing is changed.
        Overrides:
        mergeInto in class COSDictionary
        Parameters:
        dic - The dictionaries to get the keys from.
      • setNeedToBeUpdated

        public void setNeedToBeUpdated​(boolean flag)
        Set the update state of the dictionary for the COSWriter. This indicates whether an object is to be written when there is an incremental save.
        Specified by:
        setNeedToBeUpdated in interface COSUpdateInfo
        Overrides:
        setNeedToBeUpdated in class COSDictionary
        Parameters:
        flag - the update state.