java.lang.Object
de.linusdev.lutils.math.vector.Vector.View<FloatN>
de.linusdev.lutils.math.vector.abstracts.floatn.FloatN.View
All Implemented Interfaces:
FloatElements, FloatN, Vector
Direct Known Subclasses:
Float2.View, Float3.View, Float4.View
Enclosing interface:
FloatN

public abstract static class FloatN.View extends Vector.View<FloatN> implements FloatN
  • Constructor Details

    • View

      protected View(@NotNull @NotNull FloatN original, int @NotNull [] mapping)
  • Method Details

    • get

      public float get(int index)
      Description copied from interface: FloatN
      Get component at position index.
      Specified by:
      get in interface FloatN
      Parameters:
      index - index of the vector component to get
      Returns:
      component value
    • put

      public void put(int index, float value)
      Description copied from interface: FloatN
      Set component at position index to value.
      Specified by:
      put in interface FloatN
      Parameters:
      index - index of the vector component to set
      value - value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object