Package monq.jfa

Interface RangeEntry<T>

Type Parameters:
T - type of value associated with a range of characters.

public interface RangeEntry<T>
Abstraction over the type of key/value pair stored in a CharTrans where the key is a character range given by its inclusive borders.
  • Method Summary

    Modifier and Type
    Method
    Description
    char
    The left inclusive border of the character range
    char
    The right inclusive border of the character range
    The value to which the character range is mapped
  • Method Details

    • first

      char first()
      The left inclusive border of the character range
    • last

      char last()
      The right inclusive border of the character range
    • value

      T value()
      The value to which the character range is mapped