public final class CustomPropertyCollection extends AbstractList<CustomProperty>
modCount
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
CustomProperty element) |
void |
clear() |
CustomProperty |
get(int index) |
CustomProperty |
get(String name)
Gets the
CustomProperty with the specified name, from the collection, or returns null if not found. |
Object |
getOwner()
Gets the instance that these custom properties belong to.
|
CustomProperty |
remove(int index) |
CustomProperty |
set(int index,
CustomProperty element) |
int |
size() |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public Object getOwner()
public CustomProperty get(String name)
CustomProperty
with the specified name, from the collection, or returns null if not found.name
- The name of the CustomProperty
to return.CustomProperty
with the specified name, or null if not found.public void clear()
clear
in interface Collection<CustomProperty>
clear
in interface List<CustomProperty>
clear
in class AbstractList<CustomProperty>
public CustomProperty remove(int index)
remove
in interface List<CustomProperty>
remove
in class AbstractList<CustomProperty>
public void add(int index, CustomProperty element)
add
in interface List<CustomProperty>
add
in class AbstractList<CustomProperty>
public CustomProperty set(int index, CustomProperty element)
set
in interface List<CustomProperty>
set
in class AbstractList<CustomProperty>
public CustomProperty get(int index)
get
in interface List<CustomProperty>
get
in class AbstractList<CustomProperty>
public int size()
size
in interface Collection<CustomProperty>
size
in interface List<CustomProperty>
size
in class AbstractCollection<CustomProperty>
Copyright © 2021. All rights reserved.