Class ConvertedList<VInner,VOuter>
java.lang.Object
com.comphenix.protocol.wrappers.collection.AbstractConverted<VInner,VOuter>
com.comphenix.protocol.wrappers.collection.ConvertedCollection<VInner,VOuter>
com.comphenix.protocol.wrappers.collection.ConvertedList<VInner,VOuter>
- Type Parameters:
VInner- - type of the items in the inner invisible list.VOuter- - type of the items publically accessible in the outer list.
- All Implemented Interfaces:
Iterable<VOuter>,Collection<VOuter>,List<VOuter>,SequencedCollection<VOuter>
public abstract class ConvertedList<VInner,VOuter>
extends ConvertedCollection<VInner,VOuter>
implements List<VOuter>
Represents a list that wraps another list by transforming the items going in and out.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends VOuter> c) get(int index) intintlistIterator(int index) remove(int index) subList(int fromIndex, int toIndex) Methods inherited from class com.comphenix.protocol.wrappers.collection.ConvertedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class com.comphenix.protocol.wrappers.collection.AbstractConverted
getInnerConverter, getOuterConverter, toInner, toOuterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ConvertedList
-
-
Method Details
-
add
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<VInner>
-
listIterator
- Specified by:
listIteratorin interfaceList<VInner>
-
listIterator
- Specified by:
listIteratorin interfaceList<VInner>
-
remove
-
set
-
subList
-