Class Key

java.lang.Object
icyllis.arc3d.engine.Key
Direct Known Subclasses:
KeyBuilder

public sealed class Key extends Object permits KeyBuilder
A key loaded with custom data (int array).

Accepts Key as storage key or KeyBuilder as lookup key.

  • Field Details

    • EMPTY

      public static final Key EMPTY
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • get

      public final int get(int i)
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object