- java.lang.Object
-
- swim.structure.collections.ValueIterable<T>
-
- swim.structure.collections.ValueCollection<T>
-
- swim.structure.collections.ValueList<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
- Direct Known Subclasses:
ValueKeyedList
public class ValueList<T> extends ValueCollection<T> implements List<T>
-
-
Field Summary
-
Fields inherited from class swim.structure.collections.ValueIterable
inner, valueForm
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T newObject)
boolean
addAll(int index, Collection<? extends T> newObjects)
boolean
equals(Object other)
T
get(int index)
int
hashCode()
int
indexOf(Object object)
List<Value>
inner()
int
lastIndexOf(Object object)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int index)
T
remove(int index)
T
set(int index, T newObject)
List<T>
subList(int fromIndex, int toIndex)
<T2> ValueList<T2>
valueClass(Class<T2> valueClass)
<T2> ValueList<T2>
valueForm(Form<T2> valueForm)
-
Methods inherited from class swim.structure.collections.ValueCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
-
Methods inherited from class swim.structure.collections.ValueIterable
iterator, valueForm
-
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
-
-
-
-
Method Detail
-
inner
public List<Value> inner()
- Overrides:
inner
in classValueCollection<T>
-
valueForm
public <T2> ValueList<T2> valueForm(Form<T2> valueForm)
- Overrides:
valueForm
in classValueCollection<T>
-
valueClass
public <T2> ValueList<T2> valueClass(Class<T2> valueClass)
- Overrides:
valueClass
in classValueCollection<T>
-
lastIndexOf
public int lastIndexOf(Object object)
- Specified by:
lastIndexOf
in interfaceList<T>
-
addAll
public boolean addAll(int index, Collection<? extends T> newObjects)
-
listIterator
public ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIterator
in interfaceList<T>
-
equals
public boolean equals(Object other)
-
-