@Test(expected = NoSuchElementException.class) public void testIterator () throws Exception { IndirectDataset indirectDataset = DatasetBuilder.file() .lastModified(new Date()) .build(Filename.LITE_PATTERN_V32); Iterator it = indirectDataset.profiles.iterator(); while (it.hasNext()) { it.next(); } it.next(); }
public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); static BuildFromFile file(); static BuildFromBuffer buffer(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); static BuildFromFile file(); static BuildFromBuffer buffer(); static final int STRINGS_CACHE_SIZE; static final int NODES_CACHE_SIZE; static final int VALUES_CACHE_SIZE; static final int PROFILES_CACHE_SIZE; static final int SIGNATURES_CACHE_SIZE; }