com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class PropertyKeyedCollection<T extends Property>

    • Method Detail

      • add

        public final boolean add(T property)

        Creates a new custom property.

        Specified by:
        add in interface Collection<T extends Property>
        Parameters:
        property - The property.
      • contains

        public final boolean contains(String name)

        Determines whether the Aspose.Tasks.Properties.PropertyCollection{T} contains a property with the specified name.

        Parameters:
        name - The name of a property
        Returns:
        true if the Aspose.Tasks.Properties.PropertyCollection{T} contains a property with the specified name; otherwise, false.
      • getNames

        public final Collection<String> getNames()

        Gets the collection of all property names.

        Returns:
        the collection of all property names.
      • get_Item

        public final T get_Item(String name)

        Gets the Property associated with the specified key.

        Parameters:
        name - The name of the Property to get.
        Returns:
        The Property associated with the specified name.
      • isReadOnly

        public abstract boolean isReadOnly()

        Gets a value indicating whether this collection is read-only; otherwise, false.

        Returns:
        a value indicating whether this collection is read-only; otherwise, false.
      • size

        public final int size()

        Gets the number of properties in the collection.

        Specified by:
        size in interface Collection<T extends Property>
        Returns:
        the number of properties in the collection.
      • toArray

        public <T1> T1[] toArray(T1[] a)
        Specified by:
        toArray in interface Collection<T extends Property>
        Type Parameters:
        T1 -
        Parameters:
        a -
        Returns: