Package com._1c.g5.v8.dt.compare.model
Class ComparisonTreeNodeReadOnlyChildrenList<TNode extends ComparisonNode>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.eclipse.emf.common.util.BasicEList<E>
-
- org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<TNode>
-
- com._1c.g5.v8.dt.compare.model.ComparisonTreeNodeReadOnlyChildrenList<TNode>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TNode>
,Collection<TNode>
,List<TNode>
,RandomAccess
,org.eclipse.emf.common.util.EList<TNode>
public class ComparisonTreeNodeReadOnlyChildrenList<TNode extends ComparisonNode> extends org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<TNode>
A wrapper for navigating through lists of children of a given comparison node.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList
org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.BasicEList.EIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.FastCompare<E extends Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<E extends Object>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ComparisonTreeNodeReadOnlyChildrenList(ComparisonNode node)
Creates a list instance for the given node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TNode
basicGet(int index)
boolean
contains(Object object)
TNode
get(int index)
int
indexOf(Object object)
Iterator<TNode>
iterator()
int
lastIndexOf(Object object)
ListIterator<TNode>
listIterator()
ListIterator<TNode>
listIterator(int index)
protected TNode
primitiveGet(int index)
Object[]
toArray()
<T> T[]
toArray(T[] array)
String
toString()
-
Methods inherited from class org.eclipse.emf.common.util.BasicEList.UnmodifiableEList
add, add, addAll, addAll, clear, grow, move, move, remove, remove, removeAll, retainAll, set, shrink
-
Methods inherited from class org.eclipse.emf.common.util.BasicEList
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicList, clone, data, isEmpty, newData, setData, setUnique, size
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
basicIterator, basicListIterator, basicListIterator, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, resolve, useEquals, validate
-
Methods inherited from class java.util.AbstractList
removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
containsAll, replaceAll, sort, spliterator, subList
-
-
-
-
Constructor Detail
-
ComparisonTreeNodeReadOnlyChildrenList
public ComparisonTreeNodeReadOnlyChildrenList(ComparisonNode node)
Creates a list instance for the given node.- Parameters:
node
- the node to be navigated, cannot benull
-
-
Method Detail
-
contains
public boolean contains(Object object)
- Specified by:
contains
in interfaceCollection<TNode extends ComparisonNode>
- Specified by:
contains
in interfaceList<TNode extends ComparisonNode>
- Overrides:
contains
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
indexOf
public int indexOf(Object object)
- Specified by:
indexOf
in interfaceList<TNode extends ComparisonNode>
- Overrides:
indexOf
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
lastIndexOf
public int lastIndexOf(Object object)
- Specified by:
lastIndexOf
in interfaceList<TNode extends ComparisonNode>
- Overrides:
lastIndexOf
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
get
public TNode get(int index)
- Specified by:
get
in interfaceList<TNode extends ComparisonNode>
- Overrides:
get
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
basicGet
public TNode basicGet(int index)
- Overrides:
basicGet
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
toArray
public Object[] toArray()
- Specified by:
toArray
in interfaceCollection<TNode extends ComparisonNode>
- Specified by:
toArray
in interfaceList<TNode extends ComparisonNode>
- Overrides:
toArray
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
toArray
public <T> T[] toArray(T[] array)
- Specified by:
toArray
in interfaceCollection<TNode extends ComparisonNode>
- Specified by:
toArray
in interfaceList<TNode extends ComparisonNode>
- Overrides:
toArray
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
listIterator
public ListIterator<TNode> listIterator()
- Specified by:
listIterator
in interfaceList<TNode extends ComparisonNode>
- Overrides:
listIterator
in classorg.eclipse.emf.common.util.BasicEList.UnmodifiableEList<TNode extends ComparisonNode>
-
listIterator
public ListIterator<TNode> listIterator(int index)
- Specified by:
listIterator
in interfaceList<TNode extends ComparisonNode>
- Overrides:
listIterator
in classorg.eclipse.emf.common.util.BasicEList.UnmodifiableEList<TNode extends ComparisonNode>
-
iterator
public Iterator<TNode> iterator()
- Specified by:
iterator
in interfaceCollection<TNode extends ComparisonNode>
- Specified by:
iterator
in interfaceIterable<TNode extends ComparisonNode>
- Specified by:
iterator
in interfaceList<TNode extends ComparisonNode>
- Overrides:
iterator
in classorg.eclipse.emf.common.util.BasicEList.UnmodifiableEList<TNode extends ComparisonNode>
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.common.util.AbstractEList<TNode extends ComparisonNode>
-
primitiveGet
protected TNode primitiveGet(int index)
- Overrides:
primitiveGet
in classorg.eclipse.emf.common.util.BasicEList<TNode extends ComparisonNode>
-
-