Interface Foreachable<T>

All Known Subinterfaces:
ContainerDelta<V>, DeltaSetTriple<T>, ItemDelta<V,D>, ItemDeltaDelegator<V,D>, PrismValueDeltaSetTriple<V>, ProcessedObject.ProcessedObjectItemDelta<V,D>, PropertyDelta<T>, ReferenceDelta
All Known Implementing Classes:
AbstractDelegatedPrismValueDeltaSetTriple, AssociationSynchronizationResult, ContainerDeltaImpl, DeltaSetTripleImpl, DeltaTriple, ItemDeltaImpl, PrismValueDeltaSetTripleImpl, PropertyDeltaImpl, ReferenceDeltaImpl, SourceTriple
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Foreachable<T>
Author:
semancik
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    foreach(Processor<T> processor)
    Will call processor for every element in the instance.
  • Method Details

    • foreach

      void foreach(Processor<T> processor)
      Will call processor for every element in the instance. This is NOT recursive. E.g. in case of collection of collections the processor will NOT be called for elements of the inner collections. If you need recursion please have a look at Visitor.