Class ReplacementList<T extends Replacement<T>>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.silverpeas.core.workflow.api.user.ReplacementList<T>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,List<T>
,RandomAccess
public class ReplacementList<T extends Replacement<T>> extends ArrayList<T>
A list dedicated toReplacement
instances. It provides in particular the possibility to filter on functional data about replacement by using theStream
API.- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ReplacementList.FilterStream<R extends Replacement>
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
ReplacementList.FilterStream<T>
stream()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
stream
public ReplacementList.FilterStream<T> stream()
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceCollection<T extends Replacement<T>>
- Specified by:
equals
in interfaceList<T extends Replacement<T>>
- Overrides:
equals
in classArrayList<T extends Replacement<T>>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection<T extends Replacement<T>>
- Specified by:
hashCode
in interfaceList<T extends Replacement<T>>
- Overrides:
hashCode
in classArrayList<T extends Replacement<T>>
-
-