Interface IStringMapKey

All Superinterfaces:
IMapKey

public interface IStringMapKey extends IMapKey
An IMapItem key based on a text value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the item's string value.
    default boolean
    Determine if this key is the same as another key.

    Methods inherited from interface dev.metaschema.core.metapath.item.function.IMapKey

    getKey, hashCode
  • Method Details

    • asString

      @NonNull String asString()
      Get the item's string value.
      Returns:
      the string value value of the item
    • isSameKey

      default boolean isSameKey(IMapKey other)
      Description copied from interface: IMapKey
      Determine if this key is the same as another key.
      Specified by:
      isSameKey in interface IMapKey
      Parameters:
      other - the other key to compare
      Returns:
      true if the keys are the same, or false otherwise