int
59606162636465
public IntRange[] listUnknown() { return indexed.listUnknownRanges(new IntRange(0, li.length())); } protected void processLines(IntRange range, List<Line> regionLines) { indexed.add(new MemoryIntField(range, new ArrayIntList(0))); }
5859606162636465666768
public int length() { return li.length(); } protected void processLines(IntRange region, List<Line> regionLines) { IntList values = new ArrayIntList(); for (Line line : regionLines) { processLine(values, line); }
8788899091929394959697
// collections testing framework // ------------------------------------------------------------------------ protected Object makeObject() { IntList list = new ArrayIntList(); for(int i=0;i<10;i++) { list.add(i); } return new IntCollectionCollection(list); }
117118119120121122123124125
public void testWrapNull() { assertNull(IntCollectionCollection.wrap(null)); } public void testWrapSerializable() { Collection collection = IntCollectionCollection.wrap(new ArrayIntList()); assertNotNull(collection); assertTrue(collection instanceof Serializable); }
93949596979899
public Iterator makeFullIterator() { return IntIteratorIterator.wrap(makeFullIntList().iterator()); } protected IntList makeEmptyIntList() { return new ArrayIntList(); }
8889909192939495969798
protected IntIterator makeIntIterator() { return makeIntListIterator(); } protected IntListIterator makeIntListIterator() { IntList list = new ArrayIntList(); for(int i=0;i<10;i++) { list.add(i); } return list.listIterator(); }
8182838485868788899091
// ------------------------------------------------------------------------ protected abstract IntList makeUnmodifiableIntList(); protected IntList makeIntList() { IntList list = new ArrayIntList(); for(int i=0;i<10;i++) { list.add(i); } return list; }
8081828384858687888990
// framework // ------------------------------------------------------------------------ protected abstract IntIterator makeUnmodifiableIntIterator(); protected IntIterator makeIntIterator() { IntList list = new ArrayIntList(); for(int i=0;i<10;i++) { list.add(i); } return list.iterator(); }
9596979899100101
public ListIterator makeFullListIterator() { return IntListIteratorListIterator.wrap(makeFullIntList().listIterator()); } protected IntList makeEmptyIntList() { return new ArrayIntList(); }
87888990919293
// collections testing framework // ------------------------------------------------------------------------ protected List makeEmptyList() { return new IntListList(new ArrayIntList()); }