com.androidplot.util
Class ZLinkedList<Type>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<Type>
                  extended by 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

Constructor Summary
ZLinkedList()
           
 
Method Summary
 void addToBottom(Type element)
           
 void addToTop(Type element)
           
 List<Type> elements()
           
 boolean moveAbove(Type objectToMove, Type reference)
          Move above the specified element
 boolean moveBeneath(Type objectToMove, Type reference)
          Move beneath the specified element
 boolean moveDown(Type key)
          Move down by one element
 boolean moveToBottom(Type key)
          Move beneath all other elements
 boolean moveToTop(Type element)
          Move above all other elements
 boolean moveUp(Type key)
          Move up by one element
 
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
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

ZLinkedList

public ZLinkedList()
Method Detail

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.