Class KGraphDataUtil.PropertiesSkippingTreeIterator

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.AbstractEList<E>
org.eclipse.emf.common.util.BasicEList<Iterator<? extends E>>
org.eclipse.emf.common.util.AbstractTreeIterator<org.eclipse.emf.ecore.EObject>
de.cau.cs.kieler.klighd.kgraph.util.KGraphDataUtil.PropertiesSkippingTreeIterator
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Iterator<? extends org.eclipse.emf.ecore.EObject>>, Collection<Iterator<? extends org.eclipse.emf.ecore.EObject>>, Iterator<org.eclipse.emf.ecore.EObject>, List<Iterator<? extends org.eclipse.emf.ecore.EObject>>, RandomAccess, org.eclipse.emf.common.util.EList<Iterator<? extends org.eclipse.emf.ecore.EObject>>, org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject>
Enclosing class:
KGraphDataUtil

public static class KGraphDataUtil.PropertiesSkippingTreeIterator extends org.eclipse.emf.common.util.AbstractTreeIterator<org.eclipse.emf.ecore.EObject>
A tree iterator that skips properties of EMapPropertyHolders. For an explanation of why this is necessary, see the implementation of KGraphDataUtil.loadDataElements(KNode, Predicate, boolean, IProperty...).
Author:
cds
See Also:
  • 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 org.eclipse.emf.common.util.AbstractTreeIterator

    includeRoot, nextPruneIterator, nextRemoveIterator, object

    Fields inherited from class org.eclipse.emf.common.util.BasicEList

    data, size

    Fields inherited from class java.util.AbstractList

    modCount
  • Constructor Summary

    Constructors
    Constructor
    Description
    PropertiesSkippingTreeIterator(Object object, boolean includeRoot)
    Creates a tree iterator that skips properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Iterator<? extends org.eclipse.emf.ecore.EObject>
     

    Methods inherited from class org.eclipse.emf.common.util.AbstractTreeIterator

    hasNext, next, prune, remove

    Methods inherited from class org.eclipse.emf.common.util.BasicEList

    addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicList, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, newData, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArray

    Methods inherited from class org.eclipse.emf.common.util.AbstractEList

    add, add, addAll, addAll, basicIterator, basicListIterator, basicListIterator, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, 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.lang.Iterable

    forEach

    Methods inherited from interface java.util.Iterator

    forEachRemaining

    Methods inherited from interface java.util.List

    containsAll, replaceAll, sort, spliterator, subList
  • Constructor Details

    • PropertiesSkippingTreeIterator

      public PropertiesSkippingTreeIterator(Object object, boolean includeRoot)
      Creates a tree iterator that skips properties.
      Parameters:
      object - The object to start the iteration on. Is expected to be an EObject.
      includeRoot - Flag to indicate whether the passed object should be included in the iterator.
  • Method Details

    • getChildren

      protected Iterator<? extends org.eclipse.emf.ecore.EObject> getChildren(Object object)
      Specified by:
      getChildren in class org.eclipse.emf.common.util.AbstractTreeIterator<org.eclipse.emf.ecore.EObject>