Class EmptySequence
- java.lang.Object
-
- com.googlecode.aviator.runtime.type.seq.AbstractSequence<java.lang.Object>
-
- com.googlecode.aviator.runtime.type.seq.EmptySequence
-
- All Implemented Interfaces:
Sequence<java.lang.Object>
,java.lang.Iterable<java.lang.Object>
public class EmptySequence extends AbstractSequence<java.lang.Object>
An empty sequence
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmptySequence.EmptyIterator
-
Field Summary
Fields Modifier and Type Field Description static EmptySequence
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptySequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hintSize()
java.util.Iterator<java.lang.Object>
iterator()
Collector
newCollector(int size)
-
Methods inherited from class com.googlecode.aviator.runtime.type.seq.AbstractSequence
toString
-
-
-
-
Field Detail
-
INSTANCE
public static EmptySequence INSTANCE
-
-
Method Detail
-
newCollector
public Collector newCollector(int size)
-
hintSize
public int hintSize()
-
iterator
public java.util.Iterator<java.lang.Object> iterator()
-
-