/**
  * Creates a set of partition for values "1,2,N".
  *
  * @return The partition set.
  */
 public static NumberCategoryPartitioner oneTwoMany() {
   NumberCategoryPartitioner me = new NumberCategoryPartitioner();
   me.addCategory(1, 1, "one");
   me.addCategory(2, 2, "two");
   me.addCategory(3, Integer.MAX_VALUE, "N");
   return me;
 }
 /**
  * Creates a set of partition for values "0,1,N".
  *
  * @return The partition set.
  */
 public static NumberCategoryPartitioner zeroOneMany() {
   NumberCategoryPartitioner me = new NumberCategoryPartitioner();
   me.addCategory(0, 0, "zero");
   me.addCategory(1, 1, "one");
   me.addCategory(2, Integer.MAX_VALUE, "N");
   return me;
 }