com.androidplot.util
Class ZLinkedList<Type>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Type>
com.androidplot.util.ZLinkedList<Type>
- All Implemented Interfaces:
- ZIndexable<Type>, Serializable, Cloneable, Iterable<Type>, Collection<Type>, Deque<Type>, List<Type>, Queue<Type>
- Direct Known Subclasses:
- LayoutManager
public class ZLinkedList<Type>
- extends LinkedList<Type>
- implements ZIndexable<Type>
- See Also:
- Serialized Form
Methods inherited from class java.util.LinkedList |
add, add, addAll, 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, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray |
ZLinkedList
public ZLinkedList()
moveToTop
public boolean moveToTop(Type element)
- Description copied from interface:
ZIndexable
- Move above all other elements
- Specified by:
moveToTop
in interface ZIndexable<Type>
- Returns:
moveAbove
public boolean moveAbove(Type objectToMove,
Type reference)
- Description copied from interface:
ZIndexable
- Move above the specified element
- Specified by:
moveAbove
in interface ZIndexable<Type>
- Returns:
moveBeneath
public boolean moveBeneath(Type objectToMove,
Type reference)
- Description copied from interface:
ZIndexable
- Move beneath the specified element
- Specified by:
moveBeneath
in interface ZIndexable<Type>
- Returns:
moveToBottom
public boolean moveToBottom(Type key)
- Description copied from interface:
ZIndexable
- Move beneath all other elements
- Specified by:
moveToBottom
in interface ZIndexable<Type>
- Returns:
moveUp
public boolean moveUp(Type key)
- Description copied from interface:
ZIndexable
- Move up by one element
- Specified by:
moveUp
in interface ZIndexable<Type>
- Returns:
moveDown
public boolean moveDown(Type key)
- Description copied from interface:
ZIndexable
- Move down by one element
- Specified by:
moveDown
in interface ZIndexable<Type>
- Returns:
elements
public List<Type> elements()
- Specified by:
elements
in interface ZIndexable<Type>
addToBottom
public void addToBottom(Type element)
addToTop
public void addToTop(Type element)
Copyright © 2010-2013 androidplot.com. All Rights Reserved.