Package com.dslplatform.json
Class JsonReader.WithObjectReader<T extends JsonObject>
java.lang.Object
com.dslplatform.json.JsonReader.WithObjectReader<T>
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
JsonReader<TContext>
private static class JsonReader.WithObjectReader<T extends JsonObject>
extends Object
implements Iterator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final JsonReaderprivate final JsonReader.ReadJsonObject<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
reader
-
json
-
hasNext
private boolean hasNext
-
-
Constructor Details
-
WithObjectReader
WithObjectReader(JsonReader.ReadJsonObject<T> reader, JsonReader json)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<T extends JsonObject>
-
remove
public void remove()- Specified by:
removein interfaceIterator<T extends JsonObject>
-
next
- Specified by:
nextin interfaceIterator<T extends JsonObject>
-