Class IntegerRanges

java.lang.Object
com.pnfsoftware.jeb.util.primitives.IntegerRanges

public class IntegerRanges extends Object
Collection of integer ranges (a range is noted [beg, end) or [beg, end[).
  • Constructor Details

    • IntegerRanges

      public IntegerRanges(boolean mergeRanges)
  • Method Details

    • count

      public int count()
    • add

      public void add(int beg, int end)
    • isInsideRange

      public boolean isInsideRange(int v, int[] range)
    • toString

      public String toString()
      Overrides:
      toString in class Object