Class PrimitiveFloatList

All Implemented Interfaces:
Iterable<Float>, Collection<Float>, List<Float>, RandomAccess

public class PrimitiveFloatList
extends BasePrimitiveList<Float>
implements RandomAccess
Provides a view over a subset of a primitive float array with List<Float> semantics. List elements can be modified, but the list can't change size. Nulls are rejected.
  • Constructor Details

    • PrimitiveFloatList

      public PrimitiveFloatList​(float[] array)
    • PrimitiveFloatList

      public PrimitiveFloatList​(float[] array, int from, int to)
    • PrimitiveFloatList

      public PrimitiveFloatList​(Collection<Float> values)
  • Method Details

    • empty

      public static PrimitiveFloatList empty()
    • internalEquals

      protected boolean internalEquals​(Object object)
    • internalFirstIndexOf

      protected int internalFirstIndexOf​(Object obj)
    • internalGet

      protected Float internalGet​(int index)
    • internalHashCode

      protected int internalHashCode()
    • internalIsCorrectType

      protected boolean internalIsCorrectType​(Object object)
    • internalLastIndexOf

      protected int internalLastIndexOf​(Object obj)
    • internalSet

      protected Float internalSet​(int index, Float value)
    • internalSubList

      protected List<Float> internalSubList​(int fromIndex, int toIndex)