Package com.attivio.sdk.util
Class BaseTypesList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- com.attivio.sdk.util.BaseTypesList<E>
-
- Type Parameters:
E- The entry type
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.List<E>,java.util.RandomAccess
public class BaseTypesList<E> extends java.util.ArrayList<E>AnArrayListthat checks the type of all entries against a set of predefined data types inBaseTypesMap.VALID_CLASSES.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseTypesList()BaseTypesList(E... values)BaseTypesList(java.util.Collection<E> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanadd(E e)booleanaddAll(int index, java.util.Collection<? extends E> c)booleanaddAll(java.util.Collection<? extends E> c)java.lang.Objectclone()E[]getValues()Eset(int index, E element)voidsetValues(E[] values)-
Methods inherited from class java.util.ArrayList
clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
add
public boolean add(E e)
-
add
public void add(int index, E element)
-
addAll
public boolean addAll(java.util.Collection<? extends E> c)
-
addAll
public boolean addAll(int index, java.util.Collection<? extends E> c)
-
getValues
public E[] getValues()
-
setValues
public void setValues(E[] values)
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.util.ArrayList<E>
-
-