Schnittstelle ITrimmable

Alle bekannten Unterschnittstellen:
IArray, IBooleanArray, IByteArray, ICharArray, IDoubleArray, IFloatArray, IIntArray, ILongArray, IObjectArray<T>, IShortArray
Alle bekannten Implementierungsklassen:
BooleanArrayFIFOQueue, BooleanArrayList, Byte2BooleanConcurrentOpenHashMap, Byte2BooleanLinkedOpenCustomHashMap, Byte2BooleanLinkedOpenHashMap, Byte2BooleanOpenCustomHashMap, Byte2BooleanOpenHashMap, Byte2ByteConcurrentOpenHashMap, Byte2ByteLinkedOpenCustomHashMap, Byte2ByteLinkedOpenHashMap, Byte2ByteOpenCustomHashMap, Byte2ByteOpenHashMap, Byte2CharConcurrentOpenHashMap, Byte2CharLinkedOpenCustomHashMap, Byte2CharLinkedOpenHashMap, Byte2CharOpenCustomHashMap, Byte2CharOpenHashMap, Byte2DoubleConcurrentOpenHashMap, Byte2DoubleLinkedOpenCustomHashMap, Byte2DoubleLinkedOpenHashMap, Byte2DoubleOpenCustomHashMap, Byte2DoubleOpenHashMap, Byte2FloatConcurrentOpenHashMap, Byte2FloatLinkedOpenCustomHashMap, Byte2FloatLinkedOpenHashMap, Byte2FloatOpenCustomHashMap, Byte2FloatOpenHashMap, Byte2IntConcurrentOpenHashMap, Byte2IntLinkedOpenCustomHashMap, Byte2IntLinkedOpenHashMap, Byte2IntOpenCustomHashMap, Byte2IntOpenHashMap, Byte2LongConcurrentOpenHashMap, Byte2LongLinkedOpenCustomHashMap, Byte2LongLinkedOpenHashMap, Byte2LongOpenCustomHashMap, Byte2LongOpenHashMap, Byte2ObjectConcurrentOpenHashMap, Byte2ObjectLinkedOpenCustomHashMap, Byte2ObjectLinkedOpenHashMap, Byte2ObjectOpenCustomHashMap, Byte2ObjectOpenHashMap, Byte2ShortConcurrentOpenHashMap, Byte2ShortLinkedOpenCustomHashMap, Byte2ShortLinkedOpenHashMap, Byte2ShortOpenCustomHashMap, Byte2ShortOpenHashMap, ByteArrayFIFOQueue, ByteArrayList, ByteLinkedOpenCustomHashSet, ByteLinkedOpenHashSet, ByteOpenCustomHashSet, ByteOpenHashSet, Char2BooleanConcurrentOpenHashMap, Char2BooleanLinkedOpenCustomHashMap, Char2BooleanLinkedOpenHashMap, Char2BooleanOpenCustomHashMap, Char2BooleanOpenHashMap, Char2ByteConcurrentOpenHashMap, Char2ByteLinkedOpenCustomHashMap, Char2ByteLinkedOpenHashMap, Char2ByteOpenCustomHashMap, Char2ByteOpenHashMap, Char2CharConcurrentOpenHashMap, Char2CharLinkedOpenCustomHashMap, Char2CharLinkedOpenHashMap, Char2CharOpenCustomHashMap, Char2CharOpenHashMap, Char2DoubleConcurrentOpenHashMap, Char2DoubleLinkedOpenCustomHashMap, Char2DoubleLinkedOpenHashMap, Char2DoubleOpenCustomHashMap, Char2DoubleOpenHashMap, Char2FloatConcurrentOpenHashMap, Char2FloatLinkedOpenCustomHashMap, Char2FloatLinkedOpenHashMap, Char2FloatOpenCustomHashMap, Char2FloatOpenHashMap, Char2IntConcurrentOpenHashMap, Char2IntLinkedOpenCustomHashMap, Char2IntLinkedOpenHashMap, Char2IntOpenCustomHashMap, Char2IntOpenHashMap, Char2LongConcurrentOpenHashMap, Char2LongLinkedOpenCustomHashMap, Char2LongLinkedOpenHashMap, Char2LongOpenCustomHashMap, Char2LongOpenHashMap, Char2ObjectConcurrentOpenHashMap, Char2ObjectLinkedOpenCustomHashMap, Char2ObjectLinkedOpenHashMap, Char2ObjectOpenCustomHashMap, Char2ObjectOpenHashMap, Char2ShortConcurrentOpenHashMap, Char2ShortLinkedOpenCustomHashMap, Char2ShortLinkedOpenHashMap, Char2ShortOpenCustomHashMap, Char2ShortOpenHashMap, CharArrayFIFOQueue, CharArrayList, CharLinkedOpenCustomHashSet, CharLinkedOpenHashSet, CharOpenCustomHashSet, CharOpenHashSet, CopyOnWriteBooleanArrayList, CopyOnWriteByteArrayList, CopyOnWriteCharArrayList, CopyOnWriteDoubleArrayList, CopyOnWriteFloatArrayList, CopyOnWriteIntArrayList, CopyOnWriteLongArrayList, CopyOnWriteObjectArrayList, CopyOnWriteShortArrayList, Double2BooleanConcurrentOpenHashMap, Double2BooleanLinkedOpenCustomHashMap, Double2BooleanLinkedOpenHashMap, Double2BooleanOpenCustomHashMap, Double2BooleanOpenHashMap, Double2ByteConcurrentOpenHashMap, Double2ByteLinkedOpenCustomHashMap, Double2ByteLinkedOpenHashMap, Double2ByteOpenCustomHashMap, Double2ByteOpenHashMap, Double2CharConcurrentOpenHashMap, Double2CharLinkedOpenCustomHashMap, Double2CharLinkedOpenHashMap, Double2CharOpenCustomHashMap, Double2CharOpenHashMap, Double2DoubleConcurrentOpenHashMap, Double2DoubleLinkedOpenCustomHashMap, Double2DoubleLinkedOpenHashMap, Double2DoubleOpenCustomHashMap, Double2DoubleOpenHashMap, Double2FloatConcurrentOpenHashMap, Double2FloatLinkedOpenCustomHashMap, Double2FloatLinkedOpenHashMap, Double2FloatOpenCustomHashMap, Double2FloatOpenHashMap, Double2IntConcurrentOpenHashMap, Double2IntLinkedOpenCustomHashMap, Double2IntLinkedOpenHashMap, Double2IntOpenCustomHashMap, Double2IntOpenHashMap, Double2LongConcurrentOpenHashMap, Double2LongLinkedOpenCustomHashMap, Double2LongLinkedOpenHashMap, Double2LongOpenCustomHashMap, Double2LongOpenHashMap, Double2ObjectConcurrentOpenHashMap, Double2ObjectLinkedOpenCustomHashMap, Double2ObjectLinkedOpenHashMap, Double2ObjectOpenCustomHashMap, Double2ObjectOpenHashMap, Double2ShortConcurrentOpenHashMap, Double2ShortLinkedOpenCustomHashMap, Double2ShortLinkedOpenHashMap, Double2ShortOpenCustomHashMap, Double2ShortOpenHashMap, DoubleArrayFIFOQueue, DoubleArrayList, DoubleLinkedOpenCustomHashSet, DoubleLinkedOpenHashSet, DoubleOpenCustomHashSet, DoubleOpenHashSet, Float2BooleanConcurrentOpenHashMap, Float2BooleanLinkedOpenCustomHashMap, Float2BooleanLinkedOpenHashMap, Float2BooleanOpenCustomHashMap, Float2BooleanOpenHashMap, Float2ByteConcurrentOpenHashMap, Float2ByteLinkedOpenCustomHashMap, Float2ByteLinkedOpenHashMap, Float2ByteOpenCustomHashMap, Float2ByteOpenHashMap, Float2CharConcurrentOpenHashMap, Float2CharLinkedOpenCustomHashMap, Float2CharLinkedOpenHashMap, Float2CharOpenCustomHashMap, Float2CharOpenHashMap, Float2DoubleConcurrentOpenHashMap, Float2DoubleLinkedOpenCustomHashMap, Float2DoubleLinkedOpenHashMap, Float2DoubleOpenCustomHashMap, Float2DoubleOpenHashMap, Float2FloatConcurrentOpenHashMap, Float2FloatLinkedOpenCustomHashMap, Float2FloatLinkedOpenHashMap, Float2FloatOpenCustomHashMap, Float2FloatOpenHashMap, Float2IntConcurrentOpenHashMap, Float2IntLinkedOpenCustomHashMap, Float2IntLinkedOpenHashMap, Float2IntOpenCustomHashMap, Float2IntOpenHashMap, Float2LongConcurrentOpenHashMap, Float2LongLinkedOpenCustomHashMap, Float2LongLinkedOpenHashMap, Float2LongOpenCustomHashMap, Float2LongOpenHashMap, Float2ObjectConcurrentOpenHashMap, Float2ObjectLinkedOpenCustomHashMap, Float2ObjectLinkedOpenHashMap, Float2ObjectOpenCustomHashMap, Float2ObjectOpenHashMap, Float2ShortConcurrentOpenHashMap, Float2ShortLinkedOpenCustomHashMap, Float2ShortLinkedOpenHashMap, Float2ShortOpenCustomHashMap, Float2ShortOpenHashMap, FloatArrayFIFOQueue, FloatArrayList, FloatLinkedOpenCustomHashSet, FloatLinkedOpenHashSet, FloatOpenCustomHashSet, FloatOpenHashSet, Int2BooleanConcurrentOpenHashMap, Int2BooleanLinkedOpenCustomHashMap, Int2BooleanLinkedOpenHashMap, Int2BooleanOpenCustomHashMap, Int2BooleanOpenHashMap, Int2ByteConcurrentOpenHashMap, Int2ByteLinkedOpenCustomHashMap, Int2ByteLinkedOpenHashMap, Int2ByteOpenCustomHashMap, Int2ByteOpenHashMap, Int2CharConcurrentOpenHashMap, Int2CharLinkedOpenCustomHashMap, Int2CharLinkedOpenHashMap, Int2CharOpenCustomHashMap, Int2CharOpenHashMap, Int2DoubleConcurrentOpenHashMap, Int2DoubleLinkedOpenCustomHashMap, Int2DoubleLinkedOpenHashMap, Int2DoubleOpenCustomHashMap, Int2DoubleOpenHashMap, Int2FloatConcurrentOpenHashMap, Int2FloatLinkedOpenCustomHashMap, Int2FloatLinkedOpenHashMap, Int2FloatOpenCustomHashMap, Int2FloatOpenHashMap, Int2IntConcurrentOpenHashMap, Int2IntLinkedOpenCustomHashMap, Int2IntLinkedOpenHashMap, Int2IntOpenCustomHashMap, Int2IntOpenHashMap, Int2LongConcurrentOpenHashMap, Int2LongLinkedOpenCustomHashMap, Int2LongLinkedOpenHashMap, Int2LongOpenCustomHashMap, Int2LongOpenHashMap, Int2ObjectConcurrentOpenHashMap, Int2ObjectLinkedOpenCustomHashMap, Int2ObjectLinkedOpenHashMap, Int2ObjectOpenCustomHashMap, Int2ObjectOpenHashMap, Int2ShortConcurrentOpenHashMap, Int2ShortLinkedOpenCustomHashMap, Int2ShortLinkedOpenHashMap, Int2ShortOpenCustomHashMap, Int2ShortOpenHashMap, IntArrayFIFOQueue, IntArrayList, IntLinkedOpenCustomHashSet, IntLinkedOpenHashSet, IntOpenCustomHashSet, IntOpenHashSet, Long2BooleanConcurrentOpenHashMap, Long2BooleanLinkedOpenCustomHashMap, Long2BooleanLinkedOpenHashMap, Long2BooleanOpenCustomHashMap, Long2BooleanOpenHashMap, Long2ByteConcurrentOpenHashMap, Long2ByteLinkedOpenCustomHashMap, Long2ByteLinkedOpenHashMap, Long2ByteOpenCustomHashMap, Long2ByteOpenHashMap, Long2CharConcurrentOpenHashMap, Long2CharLinkedOpenCustomHashMap, Long2CharLinkedOpenHashMap, Long2CharOpenCustomHashMap, Long2CharOpenHashMap, Long2DoubleConcurrentOpenHashMap, Long2DoubleLinkedOpenCustomHashMap, Long2DoubleLinkedOpenHashMap, Long2DoubleOpenCustomHashMap, Long2DoubleOpenHashMap, Long2FloatConcurrentOpenHashMap, Long2FloatLinkedOpenCustomHashMap, Long2FloatLinkedOpenHashMap, Long2FloatOpenCustomHashMap, Long2FloatOpenHashMap, Long2IntConcurrentOpenHashMap, Long2IntLinkedOpenCustomHashMap, Long2IntLinkedOpenHashMap, Long2IntOpenCustomHashMap, Long2IntOpenHashMap, Long2LongConcurrentOpenHashMap, Long2LongLinkedOpenCustomHashMap, Long2LongLinkedOpenHashMap, Long2LongOpenCustomHashMap, Long2LongOpenHashMap, Long2ObjectConcurrentOpenHashMap, Long2ObjectLinkedOpenCustomHashMap, Long2ObjectLinkedOpenHashMap, Long2ObjectOpenCustomHashMap, Long2ObjectOpenHashMap, Long2ShortConcurrentOpenHashMap, Long2ShortLinkedOpenCustomHashMap, Long2ShortLinkedOpenHashMap, Long2ShortOpenCustomHashMap, Long2ShortOpenHashMap, LongArrayFIFOQueue, LongArrayList, LongLinkedOpenCustomHashSet, LongLinkedOpenHashSet, LongOpenCustomHashSet, LongOpenHashSet, Object2BooleanConcurrentOpenHashMap, Object2BooleanLinkedOpenCustomHashMap, Object2BooleanLinkedOpenHashMap, Object2BooleanOpenCustomHashMap, Object2BooleanOpenHashMap, Object2ByteConcurrentOpenHashMap, Object2ByteLinkedOpenCustomHashMap, Object2ByteLinkedOpenHashMap, Object2ByteOpenCustomHashMap, Object2ByteOpenHashMap, Object2CharConcurrentOpenHashMap, Object2CharLinkedOpenCustomHashMap, Object2CharLinkedOpenHashMap, Object2CharOpenCustomHashMap, Object2CharOpenHashMap, Object2DoubleConcurrentOpenHashMap, Object2DoubleLinkedOpenCustomHashMap, Object2DoubleLinkedOpenHashMap, Object2DoubleOpenCustomHashMap, Object2DoubleOpenHashMap, Object2FloatConcurrentOpenHashMap, Object2FloatLinkedOpenCustomHashMap, Object2FloatLinkedOpenHashMap, Object2FloatOpenCustomHashMap, Object2FloatOpenHashMap, Object2IntConcurrentOpenHashMap, Object2IntLinkedOpenCustomHashMap, Object2IntLinkedOpenHashMap, Object2IntOpenCustomHashMap, Object2IntOpenHashMap, Object2LongConcurrentOpenHashMap, Object2LongLinkedOpenCustomHashMap, Object2LongLinkedOpenHashMap, Object2LongOpenCustomHashMap, Object2LongOpenHashMap, Object2ObjectConcurrentOpenHashMap, Object2ObjectLinkedOpenCustomHashMap, Object2ObjectLinkedOpenHashMap, Object2ObjectOpenCustomHashMap, Object2ObjectOpenHashMap, Object2ShortConcurrentOpenHashMap, Object2ShortLinkedOpenCustomHashMap, Object2ShortLinkedOpenHashMap, Object2ShortOpenCustomHashMap, Object2ShortOpenHashMap, ObjectArrayFIFOQueue, ObjectArrayList, ObjectLinkedOpenCustomHashSet, ObjectLinkedOpenHashSet, ObjectOpenCustomHashSet, ObjectOpenHashSet, Short2BooleanConcurrentOpenHashMap, Short2BooleanLinkedOpenCustomHashMap, Short2BooleanLinkedOpenHashMap, Short2BooleanOpenCustomHashMap, Short2BooleanOpenHashMap, Short2ByteConcurrentOpenHashMap, Short2ByteLinkedOpenCustomHashMap, Short2ByteLinkedOpenHashMap, Short2ByteOpenCustomHashMap, Short2ByteOpenHashMap, Short2CharConcurrentOpenHashMap, Short2CharLinkedOpenCustomHashMap, Short2CharLinkedOpenHashMap, Short2CharOpenCustomHashMap, Short2CharOpenHashMap, Short2DoubleConcurrentOpenHashMap, Short2DoubleLinkedOpenCustomHashMap, Short2DoubleLinkedOpenHashMap, Short2DoubleOpenCustomHashMap, Short2DoubleOpenHashMap, Short2FloatConcurrentOpenHashMap, Short2FloatLinkedOpenCustomHashMap, Short2FloatLinkedOpenHashMap, Short2FloatOpenCustomHashMap, Short2FloatOpenHashMap, Short2IntConcurrentOpenHashMap, Short2IntLinkedOpenCustomHashMap, Short2IntLinkedOpenHashMap, Short2IntOpenCustomHashMap, Short2IntOpenHashMap, Short2LongConcurrentOpenHashMap, Short2LongLinkedOpenCustomHashMap, Short2LongLinkedOpenHashMap, Short2LongOpenCustomHashMap, Short2LongOpenHashMap, Short2ObjectConcurrentOpenHashMap, Short2ObjectLinkedOpenCustomHashMap, Short2ObjectLinkedOpenHashMap, Short2ObjectOpenCustomHashMap, Short2ObjectOpenHashMap, Short2ShortConcurrentOpenHashMap, Short2ShortLinkedOpenCustomHashMap, Short2ShortLinkedOpenHashMap, Short2ShortOpenCustomHashMap, Short2ShortOpenHashMap, ShortArrayFIFOQueue, ShortArrayList, ShortLinkedOpenCustomHashSet, ShortLinkedOpenHashSet, ShortOpenCustomHashSet, ShortOpenHashSet

public interface ITrimmable
Interface that allows to test for if a collection is trimmable. This also allows that synchronization-wrappers are trimmable without extracting the original collection.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    default void
    Trims the collection down to the original size and clears all present elements with it.
    void
    clearAndTrim(int size)
    Trims the collection down to the requested size and clears all elements while doing so
    default boolean
    Trims the original collection down to the size of the current elements
    boolean
    trim(int size)
    Trims the original collection down to the size of the current elements or the requested size depending which is bigger
  • Methodendetails

    • trim

      default boolean trim()
      Trims the original collection down to the size of the current elements
      Gibt zurück:
      if the internal array has been trimmed.
    • trim

      boolean trim(int size)
      Trims the original collection down to the size of the current elements or the requested size depending which is bigger
      Parameter:
      size - the requested trim size.
      Gibt zurück:
      if the internal array has been trimmed.
    • clearAndTrim

      default void clearAndTrim()
      Trims the collection down to the original size and clears all present elements with it.
    • clearAndTrim

      void clearAndTrim(int size)
      Trims the collection down to the requested size and clears all elements while doing so
      Parameter:
      size - the amount of elements that should be allowed
      Note:
      this will enforce minimum size of the collection itself