org.eclipse.persistence.oxm.record
Class MarshalRecord.CycleDetectionStack<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<java.lang.Object>
org.eclipse.persistence.oxm.record.MarshalRecord.CycleDetectionStack<E>
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>
- Enclosing class:
- MarshalRecord
public class MarshalRecord.CycleDetectionStack<E>
- extends java.util.AbstractList<java.lang.Object>
A Stack-like List, used to detect object cycles during marshal operations.
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
boolean |
contains(java.lang.Object item,
boolean equalsUsingIdentity)
|
java.lang.Object |
get(int index)
|
java.lang.String |
getCycleString()
|
java.lang.Object |
pop()
|
void |
push(E item)
|
int |
size()
|
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
MarshalRecord.CycleDetectionStack
public MarshalRecord.CycleDetectionStack()
push
public void push(E item)
pop
public java.lang.Object pop()
contains
public boolean contains(java.lang.Object item,
boolean equalsUsingIdentity)
getCycleString
public java.lang.String getCycleString()
get
public java.lang.Object get(int index)
- Specified by:
get
in interface java.util.List<java.lang.Object>
- Specified by:
get
in class java.util.AbstractList<java.lang.Object>
size
public int size()
- Specified by:
size
in interface java.util.Collection<java.lang.Object>
- Specified by:
size
in interface java.util.List<java.lang.Object>
- Specified by:
size
in class java.util.AbstractCollection<java.lang.Object>