Interface Segment.ExcludedRegion

Enclosing class:
Segment

public static interface Segment.ExcludedRegion
Definition of a region of values which are not in a segment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Describes this exclusion region in a human readable way.
    int
    Returns the arity of this region.
    int
    Returns an approximation of the number of cells exceluded in this region.
    boolean
    Tells whether this exclusion region would contain the cell corresponding to the keys.
  • Method Details

    • wouldContain

      boolean wouldContain(Object[] keys)
      Tells whether this exclusion region would contain the cell corresponding to the keys.
    • getArity

      int getArity()
      Returns the arity of this region.
    • describe

      void describe(StringBuilder buf)
      Describes this exclusion region in a human readable way.
    • getCellCount

      int getCellCount()
      Returns an approximation of the number of cells exceluded in this region.