Class ValueArrayList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Value>
-
- no.priv.bang.modeling.modelstore.value.ValueArrayList
-
class ValueArrayList extends AbstractList<Value> implements ValueList
-
-
Field Summary
Fields Modifier and Type Field Description (package private) List<Value>
arrayList
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ValueArrayList()
ValueArrayList(int initialCapacity)
ValueArrayList(ValueList original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(boolean value)
void
add(double value)
void
add(int i, Value value)
void
add(long value)
void
add(Boolean value)
void
add(Double value)
void
add(Long value)
void
add(String value)
void
add(Propertyset value)
void
add(ValueList value)
private void
deepDefensiveCopyWhenNeeded()
boolean
equals(Object obj)
Value
get(int index)
int
hashCode()
Value
remove(int paramInt)
Value
set(int i, boolean value)
Value
set(int i, double value)
Value
set(int i, long value)
Value
set(int i, Boolean value)
Value
set(int i, Double value)
Value
set(int i, Long value)
Value
set(int i, String value)
Value
set(int i, Propertyset value)
Value
set(int i, Value value)
Value
set(int i, ValueList value)
int
size()
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
ValueArrayList
public ValueArrayList(ValueList original)
-
ValueArrayList
public ValueArrayList()
-
ValueArrayList
public ValueArrayList(int initialCapacity)
-
-
Method Detail
-
deepDefensiveCopyWhenNeeded
private void deepDefensiveCopyWhenNeeded()
-
set
public Value set(int i, Propertyset value)
-
add
public void add(int i, Value value)
-
add
public void add(Propertyset value)
-
remove
public Value remove(int paramInt)
-
get
public Value get(int index)
-
size
public int size()
- Specified by:
size
in interfaceCollection<Value>
- Specified by:
size
in interfaceList<Value>
- Specified by:
size
in classAbstractCollection<Value>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection<Value>
- Specified by:
hashCode
in interfaceList<Value>
- Overrides:
hashCode
in classAbstractList<Value>
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceCollection<Value>
- Specified by:
equals
in interfaceList<Value>
- Overrides:
equals
in classAbstractList<Value>
-
-