Package org.aksw.commons.collections
Class IteratorUtils
java.lang.Object
org.aksw.commons.collections.IteratorUtils
Created by Claus Stadler
Date: Nov 1, 2010
Time: 10:22:25 PM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TexpectOneItem(Iterator<T> iterator) static <T> TexpectZeroOrOneItems(Iterator<T> iterator) static <T> Iterator<T>Similar to guava's Iterators.limit but with long argumentstatic <T> Iterable<T>makeIterable(Iterator<T> iterator)
-
Constructor Details
-
IteratorUtils
public IteratorUtils()
-
-
Method Details
-
makeIterable
-
expectOneItem
-
expectZeroOrOneItems
-
limit
Similar to guava's Iterators.limit but with long argument
-