java.util.Iterator<T>
public final class TakeIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor | Description |
---|---|
TakeIterator(java.lang.Iterable<T> iterable,
int count) |
|
TakeIterator(java.util.Iterator<T> iterator,
int count) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNext() |
|
T |
next() |
|
void |
remove() |
Copyright © 2004–2018. All rights reserved.