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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void describe​(StringBuilder buf)
      Describes this exclusion region in a human readable way.
      int getArity()
      Returns the arity of this region.
      int getCellCount()
      Returns an approximation of the number of cells exceluded in this region.
      boolean wouldContain​(Object[] keys)
      Tells whether this exclusion region would contain the cell corresponding to the keys.
    • Method Detail

      • 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.