Lines Matching refs:peek
60 * <p>If a value may be null, you should first check using {@link #peek()}.
121 * } else if (name.equals("geo") && reader.peek() != JsonToken.NULL) {
211 * The type of the next token to be returned by {@link #peek} and {@link
212 * #advance}. If null, peek() will assign a value.
308 peek();
310 throw new IllegalStateException("Expected " + expected + " but was " + peek());
319 peek();
326 public JsonToken peek() throws IOException {
371 peek();
388 peek();
390 throw new IllegalStateException("Expected a name but was " + peek());
406 peek();
408 throw new IllegalStateException("Expected a string but was " + peek());
424 peek();
442 peek();
458 peek();
479 peek();
510 peek();
549 if (!hasNext() || peek() == JsonToken.END_DOCUMENT) {
797 char peek = buffer[pos];
798 switch (peek) {