EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm.record
Class MarshalRecord.CycleDetectionStack<E>

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


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MarshalRecord.CycleDetectionStack()
           
 
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
 

Constructor Detail

MarshalRecord.CycleDetectionStack

public MarshalRecord.CycleDetectionStack()
Method Detail

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>

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference