public IteratorList(Iterator<? extends T> i) { while (i.hasNext()) add(i.next()); } }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
public IteratorList(Iterator<? extends T> i) { while (i.hasNext()) add(i.next()); } }
public static <T> SortedList<T> fromIterator(Iterator<? extends T> it, Comparator<? super T> cmp) { IteratorList<T> l = new IteratorList<>(it); return new SortedList<>(l, cmp); }
public IteratorList(Iterator<? extends T> i) { while (i.hasNext()) add(i.next()); } }
public static <T extends Comparable<? super T>> SortedList<T> fromIterator(Iterator<? extends T> it) { IteratorList<T> l = new IteratorList<>(it); return new SortedList<>(l); }
public IteratorList(Iterator<T> i) { while (i.hasNext()) add(i.next()); } }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
public IteratorList(Iterator<T> i) { while (i.hasNext()) add(i.next()); } }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
public IteratorList(Iterator<T> i) { while (i.hasNext()) add(i.next()); } }
/** * Return a collection with all values * * @return all values */ public List<V> allValues() { return new IteratorList<>(all()); }
public IteratorList(Iterator<? extends T> i) { while (i.hasNext()) add(i.next()); } }
public static <T extends Comparable< ? >> SortedList<T> fromIterator(Iterator<T> it) { IteratorList<T> l = new IteratorList<T>(it); return new SortedList<T>(l); }
public IteratorList(Iterator<? extends T> i) { while (i.hasNext()) add(i.next()); } }
public static <T extends Comparable<? super T>> SortedList<T> fromIterator(Iterator<? extends T> it) { IteratorList<T> l = new IteratorList<>(it); return new SortedList<>(l); }
public IteratorList(Iterator<T> i) { while (i.hasNext()) add(i.next()); } }
public static <T> SortedList<T> fromIterator(Iterator<? extends T> it, Comparator<? super T> cmp) { IteratorList<T> l = new IteratorList<>(it); return new SortedList<>(l, cmp); }