Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.p2p.util
Class SortedLinkedList<E extends java.lang.Comparable>

    java.lang.Object
      java.util.AbstractCollection<E>
          java.util.AbstractList<E>
              java.util.AbstractSequentialList<E>
                  java.util.LinkedList<E>
                      rice.p2p.util.SortedLinkedList<E>

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.Queue<E>

    public class SortedLinkedList<E extends java.lang.Comparable>

extends java.util.LinkedList<E>

See Also:
  Serialized Form

Field Summary

Fields inherited from class java.util.AbstractList
`modCount`

Constructor Summary
`SortedLinkedList()`

Method Summary
`boolean` | `add(E o)`
`boolean` | `addAll(java.util.Collection<? extends E> c)`
`boolean` | `addAll(int index, java.util.Collection<? extends E> c)`
`void` | `addFirst(E o)`
`void` | `addLast(E o)`
`java.util.ListIterator<E>` | `listIterator(int index)`
`E` | `set(int index, E element)`

Methods inherited from class java.util.LinkedList
`add, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, size, toArray, toArray`

Methods inherited from class java.util.AbstractSequentialList
`iterator`

Methods inherited from class java.util.AbstractList
`equals, hashCode, listIterator, removeRange, subList`

Methods inherited from class java.util.AbstractCollection
`containsAll, isEmpty, removeAll, retainAll, toString`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Methods inherited from interface java.util.List
`containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList`

Constructor Detail

### SortedLinkedList

    public SortedLinkedList()

Method Detail

### addAll

    public boolean addAll(java.util.Collection<? extends E> c)

  Specified by:
    `addAll` in interface `java.util.Collection<E extends java.lang.Comparable>`
  Specified by:
    `addAll` in interface `java.util.List<E extends java.lang.Comparable>`
  Overrides:
    `addAll` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### addAll

    public boolean addAll(int index,
                          java.util.Collection<? extends E> c)

  Specified by:
    `addAll` in interface `java.util.List<E extends java.lang.Comparable>`
  Overrides:
    `addAll` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### addFirst

    public void addFirst(E o)

  Overrides:
    `addFirst` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### addLast

    public void addLast(E o)

  Overrides:
    `addLast` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### listIterator

    public java.util.ListIterator<E> listIterator(int index)

  Specified by:
    `listIterator` in interface `java.util.List<E extends java.lang.Comparable>`
  Overrides:
    `listIterator` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### set

    public E set(int index,
                 E element)

  Specified by:
    `set` in interface `java.util.List<E extends java.lang.Comparable>`
  Overrides:
    `set` in class `java.util.LinkedList<E extends java.lang.Comparable>`

### add

    public boolean add(E o)

  Specified by:
    `add` in interface `java.util.Collection<E extends java.lang.Comparable>`
  Specified by:
    `add` in interface `java.util.List<E extends java.lang.Comparable>`
  Overrides:
    `add` in class `java.util.LinkedList<E extends java.lang.Comparable>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.