Schnittstelle IByteArray

Alle Superschnittstellen:
IArray, ITrimmable, RandomAccess
Alle bekannten Implementierungsklassen:
ByteArrayList

public interface IByteArray extends IArray
Type-Specific Helper class to get the underlying array of array implementations.
Siehe auch:
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    byte[]
    Provides the Underlying Array in the Implementation
    default void
    elements(Consumer<byte[]> action)
    Provides the Underlying Array in the Implementation.

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

    ensureCapacity

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

    clearAndTrim, clearAndTrim, trim, trim
  • Methodendetails

    • elements

      byte[] elements()
      Provides the Underlying Array in the Implementation
      Gibt zurück:
      underlying Array
      Löst aus:
      ClassCastException - if the return type does not match the underlying array. (Only for Object Implementations)
    • elements

      default void elements(Consumer<byte[]> action)
      Provides the Underlying Array in the Implementation. This function exists purely because of Synchronization wrappers to help run Synchronized Code
      Parameter:
      action - the action that handles the array
      Löst aus:
      NullPointerException - if action is null