org.sablecc.sablecc.node
Class TypedLinkedList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList
org.sablecc.sablecc.node.TypedLinkedList
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.Queue
public class TypedLinkedList
- extends java.util.LinkedList
- See Also:
- Serialized Form
Field Summary |
(package private) Cast |
cast
|
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
void |
add(int index,
java.lang.Object element)
|
boolean |
add(java.lang.Object o)
|
boolean |
addAll(java.util.Collection c)
|
boolean |
addAll(int index,
java.util.Collection c)
|
void |
addFirst(java.lang.Object o)
|
void |
addLast(java.lang.Object o)
|
Cast |
getCast()
|
java.util.ListIterator |
listIterator(int index)
|
Methods inherited from class java.util.LinkedList |
clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, 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 |
cast
Cast cast
TypedLinkedList
public TypedLinkedList()
TypedLinkedList
public TypedLinkedList(java.util.Collection c)
TypedLinkedList
public TypedLinkedList(Cast cast)
TypedLinkedList
public TypedLinkedList(java.util.Collection c,
Cast cast)
getCast
public Cast getCast()
add
public void add(int index,
java.lang.Object element)
- Specified by:
add
in interface java.util.List
- Overrides:
add
in class java.util.LinkedList
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.List
- Overrides:
add
in class java.util.LinkedList
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.List
- Overrides:
addAll
in class java.util.LinkedList
addAll
public boolean addAll(int index,
java.util.Collection c)
- Specified by:
addAll
in interface java.util.List
- Overrides:
addAll
in class java.util.LinkedList
addFirst
public void addFirst(java.lang.Object o)
- Overrides:
addFirst
in class java.util.LinkedList
addLast
public void addLast(java.lang.Object o)
- Overrides:
addLast
in class java.util.LinkedList
listIterator
public java.util.ListIterator listIterator(int index)
- Specified by:
listIterator
in interface java.util.List
- Overrides:
listIterator
in class java.util.LinkedList