Collections.emptyIterator()@Deprecated
public class EmptyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
EmptyIterator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Deprecated.
|
static <T> java.util.Iterator<T> |
instance()
Deprecated.
use
Collections.emptyIterator() |
T |
next()
Deprecated.
|
void |
remove()
Deprecated.
|
@Deprecated public static <T> java.util.Iterator<T> instance()
Collections.emptyIterator()T - the iterator's element typepublic boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.