@Test public void testCreateRange() { doCreateRangeTest(0, 0); doCreateRangeTest(0, 3); doCreateRangeTest(0, -4); doCreateRangeTest(-10, 0); doCreateRangeTest(-10, 5); doCreateRangeTest(-10, -9); }
public static Range createRange(int start, int size) { return new Range(start, size); }
RangeFactory { public static Range createRange(int start, int size) { return new Range(start, size); } }
RangeFactory { public static Range createRange(int start, int size) { return new Range(start, size); } RangeFactory(); }
RangeFactory { public static Range createRange(int start, int size) { return new Range(start, size); } RangeFactory(); static Range createRange(int start, int size); static Range createAllRange(); static Range createHeadRange(int size); static Range createTailRange(int size); static Range getALL(); static Range getFIRST(); static Range getLAST(); }
RangeFactory { public static Range createRange(int start, int size) { return new Range(start, size); } RangeFactory(); static Range createRange(int start, int size); static Range createAllRange(); static Range createHeadRange(int size); static Range createTailRange(int size); static Range getALL(); static Range getFIRST(); static Range getLAST(); static final Range ALL; static final Range FIRST; static final Range LAST; }