public interface Content
Modifier and Type | Method | Description |
---|---|---|
<T> T |
deepCopy() |
Returns a deep copy of this object.
|
VIterator |
iterator() |
Returns an iterator that traverses the object graph (depth first)
using the
VIterator.IterationStrategy.UNIQUE_PROPERTY iteration strategy. |
VIterator |
iterator(VIterator.IterationStrategy strategy) |
Returns an iterator that traverses the object graph (depth first)
using the specified iteration strategy.
|
eu.mihosoft.vcollections.VList<VObject> |
referencedBy() |
Returns an unmodifiable list of all objects that reference this object.
|
eu.mihosoft.vcollections.VList<VObject> |
references() |
Returns an unmodifiable list of all objects that are referenced by this object.
|
<T> T |
shallowCopy() |
Returns a shallow copy of this object.
|
java.util.stream.Stream<VObject> |
stream() |
Returns a stream that contains all elements of the object graph (depth first)
using the
VIterator.IterationStrategy.UNIQUE_PROPERTY iteration strategy. |
java.util.stream.Stream<VObject> |
stream(VIterator.IterationStrategy strategy) |
Returns a stream that contains all elements of the object graph (depth first)
using the specified iteration strategy.
|
<T extends VObject> |
stream(java.lang.Class<T> type) |
Returns a stream that contains all elements of the object graph (depth first) that implement/extend the
specified type.
|
<T extends VObject> |
stream(java.lang.Class<T> type,
VIterator.IterationStrategy strategy) |
Returns a stream that contains all elements of the object graph (depth first) that implement/extend the
specified type.
|
VIterator iterator()
VIterator.IterationStrategy.UNIQUE_PROPERTY
iteration strategy.VIterator iterator(VIterator.IterationStrategy strategy)
strategy
- iteration strategyjava.util.stream.Stream<VObject> stream()
VIterator.IterationStrategy.UNIQUE_PROPERTY
iteration strategy.java.util.stream.Stream<VObject> stream(VIterator.IterationStrategy strategy)
strategy
- iteration strategy<T extends VObject> java.util.stream.Stream<T> stream(java.lang.Class<T> type)
Stream<T>
.T
- element typetype
- type for filtering and mappingStream<T>
<T extends VObject> java.util.stream.Stream<T> stream(java.lang.Class<T> type, VIterator.IterationStrategy strategy)
Stream<T>
using the specified
iteration strategy.T
- element typetype
- type for filtering and mappingstrategy
- iteration strategyStream<T>
eu.mihosoft.vcollections.VList<VObject> referencedBy()
eu.mihosoft.vcollections.VList<VObject> references()
<T> T deepCopy()
<T> T shallowCopy()