public final class EditableAtts
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(AttributeDefinition<?> attributeDefinition)
Checks whether the specified
AttributeDefinition exists in this collection. |
AttributeDefinition<?> |
get(int index)
Returns the
AttributeDefinition object at the specified index that is contained in this collection. |
int |
getCount()
Returns the count of items in this collection.
|
java.util.Iterator<AttributeDefinition<?>> |
iterator() |
java.util.stream.Stream<AttributeDefinition<?>> |
stream() |
java.lang.String |
toString() |
public java.util.stream.Stream<AttributeDefinition<?>> stream()
public java.util.Iterator<AttributeDefinition<?>> iterator()
iterator
in interface java.lang.Iterable<AttributeDefinition<?>>
public AttributeDefinition<?> get(int index) throws java.lang.IndexOutOfBoundsException
AttributeDefinition
object at the specified index that is contained in this collection.index
- the index of the AttributeDefinition
to return from the collection, >= 0
and <
collection sizeAttributeDefinition
object at the specified indexjava.lang.IndexOutOfBoundsException
- if the index is < 0
or >=
countpublic boolean contains(AttributeDefinition<?> attributeDefinition)
AttributeDefinition
exists in this collection.attributeDefinition
- the AttributeDefinition
to check, not nulltrue
if the specified attributeDefinition exists
, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public int getCount()