Packages

 

com.aspose.cad.fileformats.cad

Class CadClassDictionary

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,CadClassEntity>>, com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,CadClassEntity>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,CadClassEntity>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,CadClassEntity>>, com.aspose.ms.System.ICloneable, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,CadClassEntity>>


    public class CadClassDictionary
    extends NonGenericDictionary<String,CadClassEntity>
    implements com.aspose.ms.System.ICloneable

    CAD classes collection

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Collections.Generic.Dictionary

        com.aspose.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.Link, com.aspose.ms.System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue>
    • Constructor Detail

      • CadClassDictionary

        public CadClassDictionary()
    • Method Detail

      • add

        public void add(String key,
                        CadClassEntity value)

        Adds a CadClassEntity to the dictionary.

        Parameters:
        key - The CadClassEntity key.
        value - The CadClassEntity to add.
      • remove

        public boolean remove(String key)

        Removes the CadClassEntity with the specified key.

        Parameters:
        key - The CadClassEntity key to remove.
        Returns:
        True if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the dictionary.
      • deepClone

        public Object deepClone()

        Clones the dictionary.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        A new object that is a shallow copy of this instance.