Class ImmutableIntArray

java.lang.Object
com.xpdustry.nohorny.common.ImmutableIntArray

public final class ImmutableIntArray extends Object
  • Method Details

    • empty

      public static ImmutableIntArray empty()
    • wrap

      public static ImmutableIntArray wrap(int... values)
    • copyOf

      public static ImmutableIntArray copyOf(int[] values)
    • length

      public int length()
    • isEmpty

      public boolean isEmpty()
    • get

      public int get(int index)
    • array

      public int[] array()
    • stream

      public IntStream stream()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object