Package com.dslplatform.json
Class JsonReader.WithObjectReader<T extends JsonObject>
- java.lang.Object
-
- com.dslplatform.json.JsonReader.WithObjectReader<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Enclosing class:
- JsonReader<TContext>
private static class JsonReader.WithObjectReader<T extends JsonObject> extends java.lang.Object implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhasNextprivate JsonReaderjsonprivate JsonReader.ReadJsonObject<T>reader
-
Constructor Summary
Constructors Constructor Description WithObjectReader(JsonReader.ReadJsonObject<T> reader, JsonReader json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()voidremove()
-
-
-
Field Detail
-
reader
private final JsonReader.ReadJsonObject<T extends JsonObject> reader
-
json
private final JsonReader json
-
hasNext
private boolean hasNext
-
-
Constructor Detail
-
WithObjectReader
WithObjectReader(JsonReader.ReadJsonObject<T> reader, JsonReader json)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T extends JsonObject>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T extends JsonObject>
-
next
@Nullable public T next()
- Specified by:
nextin interfacejava.util.Iterator<T extends JsonObject>
-
-