public class AttributeList<TYPE> extends AbstractList<TYPE>
modCount
Constructor and Description |
---|
AttributeList(Identifiable obj) |
AttributeList(Identifiable obj,
Collection<TYPE> col) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
TYPE element) |
TYPE |
get(int index) |
static <TYPE> AttributeList<TYPE> |
populateKnownAttributes(Identifiable object,
List<Attribute> all,
Class<TYPE> cl) |
TYPE |
set(int index,
TYPE element) |
int |
size() |
Object[] |
toArray() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray
parallelStream, removeIf, stream
public AttributeList(Identifiable obj)
public AttributeList(Identifiable obj, Collection<TYPE> col)
public TYPE get(int index)
public int size()
size
in interface Collection<TYPE>
size
in interface List<TYPE>
size
in class AbstractCollection<TYPE>
public Object[] toArray()
toArray
in interface Collection<TYPE>
toArray
in interface List<TYPE>
toArray
in class AbstractCollection<TYPE>
public void add(int index, TYPE element)
public static final <TYPE> AttributeList<TYPE> populateKnownAttributes(Identifiable object, List<Attribute> all, Class<TYPE> cl)
Copyright © 2016. All rights reserved.