public abstract class PropertyCollection<T extends Property> extends AbstractCollection<T>
A base class of collection of properties.
Modifier and Type | Method and Description |
---|---|
boolean |
add(T item)
<inheritdoc></inheritdoc> |
void |
clear()
<inheritdoc></inheritdoc> |
boolean |
contains(String name)
Determines whether the
Aspose.Tasks.Properties.PropertyCollection{T} contains a property with the
specified name. |
boolean |
contains(T item)
<inheritdoc></inheritdoc> |
T |
get_Item(String name)
Gets the Property associated with the specified key.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<String> |
getNames()
Gets the collection of all property names.
|
abstract boolean |
isReadOnly()
Gets a value indicating whether this collection is read-only; otherwise, false.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator() |
boolean |
remove(T item)
<inheritdoc></inheritdoc> |
int |
size()
Gets the number of properties in the collection.
|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public final boolean add(T item)
<inheritdoc></inheritdoc>
add
in interface Collection<T extends Property>
add
in class AbstractCollection<T extends Property>
public void clear()
<inheritdoc></inheritdoc>
clear
in interface Collection<T extends Property>
clear
in class AbstractCollection<T extends Property>
public final boolean contains(String name)
Determines whether the Aspose.Tasks.Properties.PropertyCollection{T}
contains a property with the
specified name.
name
- The name of a propertyAspose.Tasks.Properties.PropertyCollection{T}
contains a property with the specified
name; otherwise, false.public final boolean contains(T item)
<inheritdoc></inheritdoc>
public final com.aspose.ms.System.Collections.Generic.IGenericCollection<String> getNames()
Gets the collection of all property names.
public final T get_Item(String name)
Gets the Property associated with the specified key.
name
- The name of the Property to get.public abstract boolean isReadOnly()
Gets a value indicating whether this collection is read-only; otherwise, false.
public final com.aspose.ms.System.Collections.IEnumerator iterator()
public final boolean remove(T item)
<inheritdoc></inheritdoc>
public final int size()
Gets the number of properties in the collection.
size
in interface Collection<T extends Property>
size
in class AbstractCollection<T extends Property>
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.