Class IndexedShort

java.lang.Object
com.landawn.abacus.util.IndexedShort
All Implemented Interfaces:
Immutable

public final class IndexedShort extends Object
Since:
0.8
Author:
Haiyang Li
  • Method Details

    • of

      public static IndexedShort of(short value, int index)
      Parameters:
      value -
      index -
      Returns:
    • of

      public static IndexedShort of(short value, long index)
      Parameters:
      value -
      index -
      Returns:
    • value

      public short value()
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Returns:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Parameters:
      obj -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
    • index

      public int index()
      Returns:
    • longIndex

      public long longIndex()
      Returns: