All Known Subinterfaces:
ICalendarMapKey, IDecimalMapKey, IOpaqueMapKey, IStringMapKey, ITemporalMapKey

public interface IMapKey
The key value used in an IMapItem.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the atomic item used as the key.
    int
     
    boolean
    Determine if this key is the same as another key.
  • Method Details

    • getKey

      @NonNull IAnyAtomicItem getKey()
      Get the atomic item used as the key.
      Returns:
      the atomic item
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • isSameKey

      boolean isSameKey(@NonNull IMapKey other)
      Determine if this key is the same as another key.
      Parameters:
      other - the other key to compare
      Returns:
      true if the keys are the same, or false otherwise