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>
AnArrayList
that 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 void
add(int index, E element)
boolean
add(E e)
boolean
addAll(int index, java.util.Collection<? extends E> c)
boolean
addAll(java.util.Collection<? extends E> c)
java.lang.Object
clone()
E[]
getValues()
E
set(int index, E element)
void
setValues(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:
clone
in classjava.util.ArrayList<E>
-
-