jlibs.core.util
Class EmptyIterator

java.lang.Object
  extended by jlibs.core.util.EmptyIterator
All Implemented Interfaces:
Iterator

public class EmptyIterator
extends Object
implements Iterator

Author:
Santhosh Kumar T

Method Summary
 boolean hasNext()
           
static
<T> Iterator<T>
instance()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static <T> Iterator<T> instance()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2018. All rights reserved.