Schnittstelle ObjectIterable<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
Iterable<T>
Alle bekannten Unterschnittstellen:
Byte2BooleanMap.FastEntrySet, Byte2BooleanOrderedMap.FastOrderedSet, Byte2BooleanSortedMap.FastSortedSet, Byte2ByteMap.FastEntrySet, Byte2ByteOrderedMap.FastOrderedSet, Byte2ByteSortedMap.FastSortedSet, Byte2CharMap.FastEntrySet, Byte2CharOrderedMap.FastOrderedSet, Byte2CharSortedMap.FastSortedSet, Byte2DoubleMap.FastEntrySet, Byte2DoubleOrderedMap.FastOrderedSet, Byte2DoubleSortedMap.FastSortedSet, Byte2FloatMap.FastEntrySet, Byte2FloatOrderedMap.FastOrderedSet, Byte2FloatSortedMap.FastSortedSet, Byte2IntMap.FastEntrySet, Byte2IntOrderedMap.FastOrderedSet, Byte2IntSortedMap.FastSortedSet, Byte2LongMap.FastEntrySet, Byte2LongOrderedMap.FastOrderedSet, Byte2LongSortedMap.FastSortedSet, Byte2ObjectMap.FastEntrySet<V>, Byte2ObjectOrderedMap.FastOrderedSet<V>, Byte2ObjectSortedMap.FastSortedSet<V>, Byte2ShortMap.FastEntrySet, Byte2ShortOrderedMap.FastOrderedSet, Byte2ShortSortedMap.FastSortedSet, Char2BooleanMap.FastEntrySet, Char2BooleanOrderedMap.FastOrderedSet, Char2BooleanSortedMap.FastSortedSet, Char2ByteMap.FastEntrySet, Char2ByteOrderedMap.FastOrderedSet, Char2ByteSortedMap.FastSortedSet, Char2CharMap.FastEntrySet, Char2CharOrderedMap.FastOrderedSet, Char2CharSortedMap.FastSortedSet, Char2DoubleMap.FastEntrySet, Char2DoubleOrderedMap.FastOrderedSet, Char2DoubleSortedMap.FastSortedSet, Char2FloatMap.FastEntrySet, Char2FloatOrderedMap.FastOrderedSet, Char2FloatSortedMap.FastSortedSet, Char2IntMap.FastEntrySet, Char2IntOrderedMap.FastOrderedSet, Char2IntSortedMap.FastSortedSet, Char2LongMap.FastEntrySet, Char2LongOrderedMap.FastOrderedSet, Char2LongSortedMap.FastSortedSet, Char2ObjectMap.FastEntrySet<V>, Char2ObjectOrderedMap.FastOrderedSet<V>, Char2ObjectSortedMap.FastSortedSet<V>, Char2ShortMap.FastEntrySet, Char2ShortOrderedMap.FastOrderedSet, Char2ShortSortedMap.FastSortedSet, Double2BooleanMap.FastEntrySet, Double2BooleanOrderedMap.FastOrderedSet, Double2BooleanSortedMap.FastSortedSet, Double2ByteMap.FastEntrySet, Double2ByteOrderedMap.FastOrderedSet, Double2ByteSortedMap.FastSortedSet, Double2CharMap.FastEntrySet, Double2CharOrderedMap.FastOrderedSet, Double2CharSortedMap.FastSortedSet, Double2DoubleMap.FastEntrySet, Double2DoubleOrderedMap.FastOrderedSet, Double2DoubleSortedMap.FastSortedSet, Double2FloatMap.FastEntrySet, Double2FloatOrderedMap.FastOrderedSet, Double2FloatSortedMap.FastSortedSet, Double2IntMap.FastEntrySet, Double2IntOrderedMap.FastOrderedSet, Double2IntSortedMap.FastSortedSet, Double2LongMap.FastEntrySet, Double2LongOrderedMap.FastOrderedSet, Double2LongSortedMap.FastSortedSet, Double2ObjectMap.FastEntrySet<V>, Double2ObjectOrderedMap.FastOrderedSet<V>, Double2ObjectSortedMap.FastSortedSet<V>, Double2ShortMap.FastEntrySet, Double2ShortOrderedMap.FastOrderedSet, Double2ShortSortedMap.FastSortedSet, Float2BooleanMap.FastEntrySet, Float2BooleanOrderedMap.FastOrderedSet, Float2BooleanSortedMap.FastSortedSet, Float2ByteMap.FastEntrySet, Float2ByteOrderedMap.FastOrderedSet, Float2ByteSortedMap.FastSortedSet, Float2CharMap.FastEntrySet, Float2CharOrderedMap.FastOrderedSet, Float2CharSortedMap.FastSortedSet, Float2DoubleMap.FastEntrySet, Float2DoubleOrderedMap.FastOrderedSet, Float2DoubleSortedMap.FastSortedSet, Float2FloatMap.FastEntrySet, Float2FloatOrderedMap.FastOrderedSet, Float2FloatSortedMap.FastSortedSet, Float2IntMap.FastEntrySet, Float2IntOrderedMap.FastOrderedSet, Float2IntSortedMap.FastSortedSet, Float2LongMap.FastEntrySet, Float2LongOrderedMap.FastOrderedSet, Float2LongSortedMap.FastSortedSet, Float2ObjectMap.FastEntrySet<V>, Float2ObjectOrderedMap.FastOrderedSet<V>, Float2ObjectSortedMap.FastSortedSet<V>, Float2ShortMap.FastEntrySet, Float2ShortOrderedMap.FastOrderedSet, Float2ShortSortedMap.FastSortedSet, Int2BooleanMap.FastEntrySet, Int2BooleanOrderedMap.FastOrderedSet, Int2BooleanSortedMap.FastSortedSet, Int2ByteMap.FastEntrySet, Int2ByteOrderedMap.FastOrderedSet, Int2ByteSortedMap.FastSortedSet, Int2CharMap.FastEntrySet, Int2CharOrderedMap.FastOrderedSet, Int2CharSortedMap.FastSortedSet, Int2DoubleMap.FastEntrySet, Int2DoubleOrderedMap.FastOrderedSet, Int2DoubleSortedMap.FastSortedSet, Int2FloatMap.FastEntrySet, Int2FloatOrderedMap.FastOrderedSet, Int2FloatSortedMap.FastSortedSet, Int2IntMap.FastEntrySet, Int2IntOrderedMap.FastOrderedSet, Int2IntSortedMap.FastSortedSet, Int2LongMap.FastEntrySet, Int2LongOrderedMap.FastOrderedSet, Int2LongSortedMap.FastSortedSet, Int2ObjectMap.FastEntrySet<V>, Int2ObjectOrderedMap.FastOrderedSet<V>, Int2ObjectSortedMap.FastSortedSet<V>, Int2ShortMap.FastEntrySet, Int2ShortOrderedMap.FastOrderedSet, Int2ShortSortedMap.FastSortedSet, Long2BooleanMap.FastEntrySet, Long2BooleanOrderedMap.FastOrderedSet, Long2BooleanSortedMap.FastSortedSet, Long2ByteMap.FastEntrySet, Long2ByteOrderedMap.FastOrderedSet, Long2ByteSortedMap.FastSortedSet, Long2CharMap.FastEntrySet, Long2CharOrderedMap.FastOrderedSet, Long2CharSortedMap.FastSortedSet, Long2DoubleMap.FastEntrySet, Long2DoubleOrderedMap.FastOrderedSet, Long2DoubleSortedMap.FastSortedSet, Long2FloatMap.FastEntrySet, Long2FloatOrderedMap.FastOrderedSet, Long2FloatSortedMap.FastSortedSet, Long2IntMap.FastEntrySet, Long2IntOrderedMap.FastOrderedSet, Long2IntSortedMap.FastSortedSet, Long2LongMap.FastEntrySet, Long2LongOrderedMap.FastOrderedSet, Long2LongSortedMap.FastSortedSet, Long2ObjectMap.FastEntrySet<V>, Long2ObjectOrderedMap.FastOrderedSet<V>, Long2ObjectSortedMap.FastSortedSet<V>, Long2ShortMap.FastEntrySet, Long2ShortOrderedMap.FastOrderedSet, Long2ShortSortedMap.FastSortedSet, Object2BooleanMap.FastEntrySet<T>, Object2BooleanOrderedMap.FastOrderedSet<T>, Object2BooleanSortedMap.FastSortedSet<T>, Object2ByteMap.FastEntrySet<T>, Object2ByteOrderedMap.FastOrderedSet<T>, Object2ByteSortedMap.FastSortedSet<T>, Object2CharMap.FastEntrySet<T>, Object2CharOrderedMap.FastOrderedSet<T>, Object2CharSortedMap.FastSortedSet<T>, Object2DoubleMap.FastEntrySet<T>, Object2DoubleOrderedMap.FastOrderedSet<T>, Object2DoubleSortedMap.FastSortedSet<T>, Object2FloatMap.FastEntrySet<T>, Object2FloatOrderedMap.FastOrderedSet<T>, Object2FloatSortedMap.FastSortedSet<T>, Object2IntMap.FastEntrySet<T>, Object2IntOrderedMap.FastOrderedSet<T>, Object2IntSortedMap.FastSortedSet<T>, Object2LongMap.FastEntrySet<T>, Object2LongOrderedMap.FastOrderedSet<T>, Object2LongSortedMap.FastSortedSet<T>, Object2ObjectMap.FastEntrySet<T,V>, Object2ObjectOrderedMap.FastOrderedSet<T,V>, Object2ObjectSortedMap.FastSortedSet<T,V>, Object2ShortMap.FastEntrySet<T>, Object2ShortOrderedMap.FastOrderedSet<T>, Object2ShortSortedMap.FastSortedSet<T>, ObjectCollection<T>, ObjectList<T>, ObjectNavigableSet<T>, ObjectOrderedSet<T>, ObjectPriorityDequeue<T>, ObjectPriorityQueue<T>, ObjectSet<T>, ObjectSortedSet<T>, Short2BooleanMap.FastEntrySet, Short2BooleanOrderedMap.FastOrderedSet, Short2BooleanSortedMap.FastSortedSet, Short2ByteMap.FastEntrySet, Short2ByteOrderedMap.FastOrderedSet, Short2ByteSortedMap.FastSortedSet, Short2CharMap.FastEntrySet, Short2CharOrderedMap.FastOrderedSet, Short2CharSortedMap.FastSortedSet, Short2DoubleMap.FastEntrySet, Short2DoubleOrderedMap.FastOrderedSet, Short2DoubleSortedMap.FastSortedSet, Short2FloatMap.FastEntrySet, Short2FloatOrderedMap.FastOrderedSet, Short2FloatSortedMap.FastSortedSet, Short2IntMap.FastEntrySet, Short2IntOrderedMap.FastOrderedSet, Short2IntSortedMap.FastSortedSet, Short2LongMap.FastEntrySet, Short2LongOrderedMap.FastOrderedSet, Short2LongSortedMap.FastSortedSet, Short2ObjectMap.FastEntrySet<V>, Short2ObjectOrderedMap.FastOrderedSet<V>, Short2ObjectSortedMap.FastSortedSet<V>, Short2ShortMap.FastEntrySet, Short2ShortOrderedMap.FastOrderedSet, Short2ShortSortedMap.FastSortedSet
Alle bekannten Implementierungsklassen:
AbstractObjectCollection, AbstractObjectList, AbstractObjectPriorityQueue, AbstractObjectSet, Byte2BooleanMaps.UnmodifyableEntrySet, Byte2BooleanMaps.UnmodifyableOrderedEntrySet, Byte2ByteMaps.UnmodifyableEntrySet, Byte2ByteMaps.UnmodifyableOrderedEntrySet, Byte2CharMaps.UnmodifyableEntrySet, Byte2CharMaps.UnmodifyableOrderedEntrySet, Byte2DoubleMaps.UnmodifyableEntrySet, Byte2DoubleMaps.UnmodifyableOrderedEntrySet, Byte2FloatMaps.UnmodifyableEntrySet, Byte2FloatMaps.UnmodifyableOrderedEntrySet, Byte2IntMaps.UnmodifyableEntrySet, Byte2IntMaps.UnmodifyableOrderedEntrySet, Byte2LongMaps.UnmodifyableEntrySet, Byte2LongMaps.UnmodifyableOrderedEntrySet, Byte2ObjectMaps.UnmodifyableEntrySet, Byte2ObjectMaps.UnmodifyableOrderedEntrySet, Byte2ShortMaps.UnmodifyableEntrySet, Byte2ShortMaps.UnmodifyableOrderedEntrySet, Char2BooleanMaps.UnmodifyableEntrySet, Char2BooleanMaps.UnmodifyableOrderedEntrySet, Char2ByteMaps.UnmodifyableEntrySet, Char2ByteMaps.UnmodifyableOrderedEntrySet, Char2CharMaps.UnmodifyableEntrySet, Char2CharMaps.UnmodifyableOrderedEntrySet, Char2DoubleMaps.UnmodifyableEntrySet, Char2DoubleMaps.UnmodifyableOrderedEntrySet, Char2FloatMaps.UnmodifyableEntrySet, Char2FloatMaps.UnmodifyableOrderedEntrySet, Char2IntMaps.UnmodifyableEntrySet, Char2IntMaps.UnmodifyableOrderedEntrySet, Char2LongMaps.UnmodifyableEntrySet, Char2LongMaps.UnmodifyableOrderedEntrySet, Char2ObjectMaps.UnmodifyableEntrySet, Char2ObjectMaps.UnmodifyableOrderedEntrySet, Char2ShortMaps.UnmodifyableEntrySet, Char2ShortMaps.UnmodifyableOrderedEntrySet, CopyOnWriteObjectArrayList, Double2BooleanMaps.UnmodifyableEntrySet, Double2BooleanMaps.UnmodifyableOrderedEntrySet, Double2ByteMaps.UnmodifyableEntrySet, Double2ByteMaps.UnmodifyableOrderedEntrySet, Double2CharMaps.UnmodifyableEntrySet, Double2CharMaps.UnmodifyableOrderedEntrySet, Double2DoubleMaps.UnmodifyableEntrySet, Double2DoubleMaps.UnmodifyableOrderedEntrySet, Double2FloatMaps.UnmodifyableEntrySet, Double2FloatMaps.UnmodifyableOrderedEntrySet, Double2IntMaps.UnmodifyableEntrySet, Double2IntMaps.UnmodifyableOrderedEntrySet, Double2LongMaps.UnmodifyableEntrySet, Double2LongMaps.UnmodifyableOrderedEntrySet, Double2ObjectMaps.UnmodifyableEntrySet, Double2ObjectMaps.UnmodifyableOrderedEntrySet, Double2ShortMaps.UnmodifyableEntrySet, Double2ShortMaps.UnmodifyableOrderedEntrySet, Float2BooleanMaps.UnmodifyableEntrySet, Float2BooleanMaps.UnmodifyableOrderedEntrySet, Float2ByteMaps.UnmodifyableEntrySet, Float2ByteMaps.UnmodifyableOrderedEntrySet, Float2CharMaps.UnmodifyableEntrySet, Float2CharMaps.UnmodifyableOrderedEntrySet, Float2DoubleMaps.UnmodifyableEntrySet, Float2DoubleMaps.UnmodifyableOrderedEntrySet, Float2FloatMaps.UnmodifyableEntrySet, Float2FloatMaps.UnmodifyableOrderedEntrySet, Float2IntMaps.UnmodifyableEntrySet, Float2IntMaps.UnmodifyableOrderedEntrySet, Float2LongMaps.UnmodifyableEntrySet, Float2LongMaps.UnmodifyableOrderedEntrySet, Float2ObjectMaps.UnmodifyableEntrySet, Float2ObjectMaps.UnmodifyableOrderedEntrySet, Float2ShortMaps.UnmodifyableEntrySet, Float2ShortMaps.UnmodifyableOrderedEntrySet, ImmutableObjectList, ImmutableObjectOpenHashSet, Int2BooleanMaps.UnmodifyableEntrySet, Int2BooleanMaps.UnmodifyableOrderedEntrySet, Int2ByteMaps.UnmodifyableEntrySet, Int2ByteMaps.UnmodifyableOrderedEntrySet, Int2CharMaps.UnmodifyableEntrySet, Int2CharMaps.UnmodifyableOrderedEntrySet, Int2DoubleMaps.UnmodifyableEntrySet, Int2DoubleMaps.UnmodifyableOrderedEntrySet, Int2FloatMaps.UnmodifyableEntrySet, Int2FloatMaps.UnmodifyableOrderedEntrySet, Int2IntMaps.UnmodifyableEntrySet, Int2IntMaps.UnmodifyableOrderedEntrySet, Int2LongMaps.UnmodifyableEntrySet, Int2LongMaps.UnmodifyableOrderedEntrySet, Int2ObjectMaps.UnmodifyableEntrySet, Int2ObjectMaps.UnmodifyableOrderedEntrySet, Int2ShortMaps.UnmodifyableEntrySet, Int2ShortMaps.UnmodifyableOrderedEntrySet, Long2BooleanMaps.UnmodifyableEntrySet, Long2BooleanMaps.UnmodifyableOrderedEntrySet, Long2ByteMaps.UnmodifyableEntrySet, Long2ByteMaps.UnmodifyableOrderedEntrySet, Long2CharMaps.UnmodifyableEntrySet, Long2CharMaps.UnmodifyableOrderedEntrySet, Long2DoubleMaps.UnmodifyableEntrySet, Long2DoubleMaps.UnmodifyableOrderedEntrySet, Long2FloatMaps.UnmodifyableEntrySet, Long2FloatMaps.UnmodifyableOrderedEntrySet, Long2IntMaps.UnmodifyableEntrySet, Long2IntMaps.UnmodifyableOrderedEntrySet, Long2LongMaps.UnmodifyableEntrySet, Long2LongMaps.UnmodifyableOrderedEntrySet, Long2ObjectMaps.UnmodifyableEntrySet, Long2ObjectMaps.UnmodifyableOrderedEntrySet, Long2ShortMaps.UnmodifyableEntrySet, Long2ShortMaps.UnmodifyableOrderedEntrySet, Object2BooleanMaps.UnmodifyableEntrySet, Object2BooleanMaps.UnmodifyableOrderedEntrySet, Object2ByteMaps.UnmodifyableEntrySet, Object2ByteMaps.UnmodifyableOrderedEntrySet, Object2CharMaps.UnmodifyableEntrySet, Object2CharMaps.UnmodifyableOrderedEntrySet, Object2DoubleMaps.UnmodifyableEntrySet, Object2DoubleMaps.UnmodifyableOrderedEntrySet, Object2FloatMaps.UnmodifyableEntrySet, Object2FloatMaps.UnmodifyableOrderedEntrySet, Object2IntMaps.UnmodifyableEntrySet, Object2IntMaps.UnmodifyableOrderedEntrySet, Object2LongMaps.UnmodifyableEntrySet, Object2LongMaps.UnmodifyableOrderedEntrySet, Object2ObjectMaps.UnmodifyableEntrySet, Object2ObjectMaps.UnmodifyableOrderedEntrySet, Object2ShortMaps.UnmodifyableEntrySet, Object2ShortMaps.UnmodifyableOrderedEntrySet, ObjectArrayFIFOQueue, ObjectArrayList, ObjectArrayPriorityQueue, ObjectArraySet, ObjectAVLTreeSet, ObjectCollections.EmptyCollection, ObjectCollections.SynchronizedCollection, ObjectCollections.UnmodifiableCollection, ObjectHeapPriorityQueue, ObjectLinkedList, ObjectLinkedOpenCustomHashSet, ObjectLinkedOpenHashSet, ObjectOpenCustomHashSet, ObjectOpenHashSet, ObjectPriorityQueues.SynchronizedPriorityDequeue, ObjectPriorityQueues.SynchronizedPriorityQueue, ObjectRBTreeSet, ObjectSets.UnmodifiableSet, Short2BooleanMaps.UnmodifyableEntrySet, Short2BooleanMaps.UnmodifyableOrderedEntrySet, Short2ByteMaps.UnmodifyableEntrySet, Short2ByteMaps.UnmodifyableOrderedEntrySet, Short2CharMaps.UnmodifyableEntrySet, Short2CharMaps.UnmodifyableOrderedEntrySet, Short2DoubleMaps.UnmodifyableEntrySet, Short2DoubleMaps.UnmodifyableOrderedEntrySet, Short2FloatMaps.UnmodifyableEntrySet, Short2FloatMaps.UnmodifyableOrderedEntrySet, Short2IntMaps.UnmodifyableEntrySet, Short2IntMaps.UnmodifyableOrderedEntrySet, Short2LongMaps.UnmodifyableEntrySet, Short2LongMaps.UnmodifyableOrderedEntrySet, Short2ObjectMaps.UnmodifyableEntrySet, Short2ObjectMaps.UnmodifyableOrderedEntrySet, Short2ShortMaps.UnmodifyableEntrySet, Short2ShortMaps.UnmodifyableOrderedEntrySet

public interface ObjectIterable<T> extends Iterable<T>
A Type-Specific Iterable that reduces (un)boxing
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    default <E> ObjectIterable<E>
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    Creates a Async Builder for moving work of the thread.
    default int
    count(Predicate<T> filter)
    Helper function to reduce stream usage that allows to count the valid elements.
    default ObjectIterable<T>
    A Helper function to reduce the usage of Streams and allows to filter out duplicated elements
    default ObjectIterable<T>
    filter(Predicate<T> filter)
    A Helper function to reduce the usage of Streams and allows to filter out unwanted elements
    default T
    Helper function to reduce stream usage that allows to filter for the first match.
    default <E, V extends Iterable<E>>
    ObjectIterable<E>
    flatMap(UnaryOperator<T,V> mapper)
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    default <E> void
    forEach(E input, ObjectObjectConsumer<E,T> action)
    Helper function to reduce Lambda usage and allow for more method references, since these are faster/cleaner.
    default void
    A Indexed forEach implementation that allows you to keep track of how many elements were already iterated over.
    Returns an iterator over elements of type T.
    default ObjectIterable<T>
    limit(long limit)
    A Helper function to reduce the usage of Streams and allows to limit the amount of elements
    default <E> ObjectIterable<E>
    map(UnaryOperator<T,E> mapper)
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    default ByteIterable
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    default IntIterable
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    default LongIterable
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
    default boolean
    Helper function to reduce stream usage that allows to filter for all matches.
    default boolean
    Helper function to reduce stream usage that allows to filter for any matches.
    default boolean
    Helper function to reduce stream usage that allows to filter for no matches.
    default ObjectIterable<T>
    peek(Consumer<T> action)
    A Helper function to reduce the usage of Streams and allows to preview elements before they are iterated through
    default <E extends ObjectCollection<T>>
    E
    pour(E collection)
    A Helper function to reduce the usage of Streams and allows to collect all elements
    default ObjectList<T>
    A Helper function that reduces the usage of streams and allows to collect all elements as a ArrayList
    default ObjectSet<T>
    A Helper function that reduces the usage of streams and allows to collect all elements as a LinkedHashSet
    default <E> E
    reduce(E identity, BiFunction<E,T,E> operator)
    Performs a reduction on the elements of this Iterable
    default T
    Performs a reduction on the elements of this Iterable
    default ObjectIterable<T>
    repeat(int repeats)
    A Helper function to reduce the usage of Streams and allows to repeat elements a desired amount of times
    default ObjectIterable<T>
    sorted(Comparator<T> sorter)
    A Helper function to reduce the usage of Streams and allows to sort the elements
    A Type Specific Type Splititerator to reduce boxing/unboxing
    default <E> E[]
    toArray(IntFunction<E[]> action)
    A Helper function that reduces the usage of streams and allows to collect all elements as a Array

    Von Schnittstelle geerbte Methoden java.lang.Iterable

    forEach
  • Methodendetails

    • iterator

      ObjectIterator<T> iterator()
      Returns an iterator over elements of type T.
      Angegeben von:
      iterator in Schnittstelle Iterable<T>
      Gibt zurück:
      an Iterator.
    • forEachIndexed

      default void forEachIndexed(IntObjectConsumer<T> action)
      A Indexed forEach implementation that allows you to keep track of how many elements were already iterated over.
      Parameter:
      action - The action to be performed for each element
      Löst aus:
      NullPointerException - if the specified action is null
    • forEach

      default <E> void forEach(E input, ObjectObjectConsumer<E,T> action)
      Helper function to reduce Lambda usage and allow for more method references, since these are faster/cleaner.
      Typparameter:
      E - the generic type of the Object
      Parameter:
      input - the object that should be included
      action - The action to be performed for each element
      Löst aus:
      NullPointerException - if the specified action is null
    • spliterator

      default ObjectSplititerator<T> spliterator()
      A Type Specific Type Splititerator to reduce boxing/unboxing
      Angegeben von:
      spliterator in Schnittstelle Iterable<T>
      Gibt zurück:
      type specific splititerator
    • asAsync

      default ObjectAsyncBuilder<T> asAsync()
      Creates a Async Builder for moving work of the thread. It is not designed to split the work to multithreaded work, so using this keep it singlethreaded, but it allows to be moved to another thread.
      Gibt zurück:
      a AsyncBuilder
      Siehe auch:
    • map

      default <E> ObjectIterable<E> map(UnaryOperator<T,E> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Typparameter:
      E - The return type.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToBoolean

      default BooleanIterable mapToBoolean(Predicate<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToByte

      default ByteIterable mapToByte(ToByteFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToShort

      default ShortIterable mapToShort(ToShortFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToInt

      default IntIterable mapToInt(ToIntFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToLong

      default LongIterable mapToLong(ToLongFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToFloat

      default FloatIterable mapToFloat(ToFloatFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • mapToDouble

      default DoubleIterable mapToDouble(ToDoubleFunction<T> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Parameter:
      mapper - the mapping function
      Gibt zurück:
      a new Iterable that returns the desired result
    • flatMap

      default <E, V extends Iterable<E>> ObjectIterable<E> flatMap(UnaryOperator<T,V> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Typparameter:
      E - The return type.
      V - The return type supplier.
      Parameter:
      mapper - the flatMapping function
      Gibt zurück:
      a new Iterable that returns the desired result
      Note:
      does not support toArray optimizations.
    • arrayflatMap

      default <E> ObjectIterable<E> arrayflatMap(UnaryOperator<T,E[]> mapper)
      A Helper function to reduce the usage of Streams and allows to convert a Iterable to something else.
      Typparameter:
      E - The return type.
      Parameter:
      mapper - the flatMapping function
      Gibt zurück:
      a new Iterable that returns the desired result
      Note:
      does not support toArray optimizations.
    • filter

      default ObjectIterable<T> filter(Predicate<T> filter)
      A Helper function to reduce the usage of Streams and allows to filter out unwanted elements
      Parameter:
      filter - the elements that should be kept.
      Gibt zurück:
      a Iterable that filtered out all unwanted elements
      Note:
      does not support toArray optimizations.
    • distinct

      default ObjectIterable<T> distinct()
      A Helper function to reduce the usage of Streams and allows to filter out duplicated elements
      Gibt zurück:
      a Iterable that filtered out all duplicated elements
      Note:
      does not support toArray optimizations.
    • repeat

      default ObjectIterable<T> repeat(int repeats)
      A Helper function to reduce the usage of Streams and allows to repeat elements a desired amount of times
      Parameter:
      repeats - how many times the elements should be repeated
      Gibt zurück:
      a Iterable that is repeating multiple times
    • limit

      default ObjectIterable<T> limit(long limit)
      A Helper function to reduce the usage of Streams and allows to limit the amount of elements
      Parameter:
      limit - the amount of elements it should be limited to
      Gibt zurück:
      a Iterable that is limited in length
    • sorted

      default ObjectIterable<T> sorted(Comparator<T> sorter)
      A Helper function to reduce the usage of Streams and allows to sort the elements
      Parameter:
      sorter - that sorts the elements.
      Gibt zurück:
      a Iterable that is sorted
    • peek

      default ObjectIterable<T> peek(Consumer<T> action)
      A Helper function to reduce the usage of Streams and allows to preview elements before they are iterated through
      Parameter:
      action - the action that should be applied
      Gibt zurück:
      a Peeked Iterable
    • pour

      default <E extends ObjectCollection<T>> E pour(E collection)
      A Helper function to reduce the usage of Streams and allows to collect all elements
      Typparameter:
      E - the collection type
      Parameter:
      collection - that the elements should be inserted to
      Gibt zurück:
      the input with the desired elements
    • pourAsList

      default ObjectList<T> pourAsList()
      A Helper function that reduces the usage of streams and allows to collect all elements as a ArrayList
      Gibt zurück:
      a new ArrayList of all elements
    • pourAsSet

      default ObjectSet<T> pourAsSet()
      A Helper function that reduces the usage of streams and allows to collect all elements as a LinkedHashSet
      Gibt zurück:
      a new LinkedHashSet of all elements
    • toArray

      default <E> E[] toArray(IntFunction<E[]> action)
      A Helper function that reduces the usage of streams and allows to collect all elements as a Array
      Typparameter:
      E - the returning arrayType
      Parameter:
      action - is the creator function of said Array to ensure type is kept.
      Gibt zurück:
      a new Array of all elements
    • matchesAny

      default boolean matchesAny(Predicate<T> filter)
      Helper function to reduce stream usage that allows to filter for any matches.
      Parameter:
      filter - that should be applied
      Gibt zurück:
      true if any matches were found
    • matchesNone

      default boolean matchesNone(Predicate<T> filter)
      Helper function to reduce stream usage that allows to filter for no matches.
      Parameter:
      filter - that should be applied
      Gibt zurück:
      true if no matches were found
    • matchesAll

      default boolean matchesAll(Predicate<T> filter)
      Helper function to reduce stream usage that allows to filter for all matches.
      Parameter:
      filter - that should be applied
      Gibt zurück:
      true if all matches.
    • findFirst

      default T findFirst(Predicate<T> filter)
      Helper function to reduce stream usage that allows to filter for the first match.
      Parameter:
      filter - that should be applied
      Gibt zurück:
      the found value or the null equivalent variant.
    • reduce

      default <E> E reduce(E identity, BiFunction<E,T,E> operator)
      Performs a reduction on the elements of this Iterable
      Typparameter:
      E - the keyType of elements maintained by this Collection
      Parameter:
      identity - the start value
      operator - the operation that should be applied
      Gibt zurück:
      the reduction result, returns identity if nothing was found
    • reduce

      default T reduce(ObjectObjectUnaryOperator<T,T> operator)
      Performs a reduction on the elements of this Iterable
      Parameter:
      operator - the operation that should be applied
      Gibt zurück:
      the reduction result, returns null value if nothing was found
    • count

      default int count(Predicate<T> filter)
      Helper function to reduce stream usage that allows to count the valid elements.
      Parameter:
      filter - that should be applied
      Gibt zurück:
      the amount of Valid Elements