Class IntrinsicRoster<T>
java.lang.Object
org.smallmind.persistence.cache.praxis.intrinsic.IntrinsicRoster<T>
- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,List<T>,Roster<T>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidadd(IntrinsicRosterNode<T> next, T element) booleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) voidvoidvoidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) getFirst()getLast()protected ReentrantReadWriteLockgetLock()protected IntrinsicRosterNode<T>getNextInView(IntrinsicRosterNode<T> current) protected IntrinsicRosterNode<T>getPrevInView(IntrinsicRosterNode<T> current) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) protected voidremoveNode(IntrinsicRosterNode<T> current) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<U> U[]toArray(U[] a) Methods 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, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
IntrinsicRoster
public IntrinsicRoster() -
IntrinsicRoster
-
-
Method Details
-
getLock
-
getNextInView
-
getPrevInView
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
toArray
-
toArray
public <U> U[] toArray(U[] a) -
getFirst
-
getLast
-
get
-
set
-
add
-
addFirst
-
addLast
-
add
-
add
-
removeNode
-
removeFirst
-
removeLast
- Specified by:
removeLastin interfaceRoster<T>
-
remove
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-