-
- All Implemented Interfaces:
-
com.androidplot.util.Layerable,java.io.Serializable,java.lang.Cloneable,java.lang.Iterable,java.util.Collection,java.util.Deque,java.util.List,java.util.Queue
public class LinkedLayerList<Type> extends LinkedList<Type> implements Layerable<Type>
A implementation of Layerable backed by a LinkedList.
-
-
Method Summary
Modifier and Type Method Description booleanmoveToTop(Type element)Move above all other elements booleanmoveAbove(Type objectToMove, Type reference)Move above the specified element booleanmoveBeneath(Type objectToMove, Type reference)Move beneath the specified element booleanmoveToBottom(Type key)Move beneath all other elements booleanmoveUp(Type key)Move up by one element booleanmoveDown(Type key)Move down by one element List<Type>elements()voidaddToBottom(Type element)voidaddToTop(Type element)-
Methods inherited from class java.util.LinkedList
add, add, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray -
Methods inherited from class java.util.AbstractSequentialList
iterator -
Methods inherited from class java.util.AbstractList
equals, hashCode, subList -
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString -
Methods inherited from class java.util.Collection
parallelStream, removeIf, stream -
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator -
Methods inherited from class java.util.List
copyOf, of, replaceAll, sort -
Methods inherited from class com.androidplot.util.Layerable
elements, moveAbove, moveBeneath, moveDown, moveToBottom, moveToTop, moveUp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
moveBeneath
boolean moveBeneath(Type objectToMove, Type reference)
Move beneath the specified element
-
moveToBottom
boolean moveToBottom(Type key)
Move beneath all other elements
-
addToBottom
void addToBottom(Type element)
-
-
-
-