Schnittstelle IArray

Alle Superschnittstellen:
ITrimmable, RandomAccess
Alle bekannten Unterschnittstellen:
IBooleanArray, IByteArray, ICharArray, IDoubleArray, IFloatArray, IIntArray, ILongArray, IObjectArray<T>, IShortArray
Alle bekannten Implementierungsklassen:
BooleanArrayList, ByteArrayList, CharArrayList, DoubleArrayList, FloatArrayList, IntArrayList, LongArrayList, ObjectArrayList, ShortArrayList

public interface IArray extends RandomAccess, ITrimmable
A Helper interface that allows to detect if the Underlying implementation is using a Array. This allows to read methods through synchronization layers. Also it implements RandomAccess and ITrimmable
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    ensureCapacity(int size)
    Increases the capacity of this implementation instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.

    Von Schnittstelle geerbte Methoden speiger.src.collections.utils.ITrimmable

    clearAndTrim, clearAndTrim, trim, trim
  • Methodendetails

    • ensureCapacity

      void ensureCapacity(int size)
      Increases the capacity of this implementation instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
      Parameter:
      size - the desired minimum capacity