Home
last modified time | relevance | path

Searched refs:getValueAsLong (Results 1 – 9 of 9) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DValueConversionsTest.java22 assertEquals(0, p.getValueAsLong()); in _testAsInt()
23 assertEquals(9, p.getValueAsLong(9)); in _testAsInt()
26 assertEquals(1, p.getValueAsLong()); in _testAsInt()
27 assertEquals(1, p.getValueAsLong(-99)); in _testAsInt()
29 assertEquals(-3, p.getValueAsLong()); in _testAsInt()
31 assertEquals(4, p.getValueAsLong()); in _testAsInt()
32 assertEquals(4, p.getValueAsLong(99)); in _testAsInt()
34 assertEquals(1, p.getValueAsLong()); in _testAsInt()
36 assertEquals(0, p.getValueAsLong()); in _testAsInt()
38 assertEquals(0, p.getValueAsLong()); in _testAsInt()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonParserDelegate.java207 @Override public long getValueAsLong() throws IOException { return delegate.getValueAsLong(); } in getValueAsLong() method in JsonParserDelegate
208 …@Override public long getValueAsLong(long defaultValue) throws IOException { return delegate.getVa… in getValueAsLong() method in JsonParserDelegate
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonParser.java1648 public long getValueAsLong() throws IOException { in getValueAsLong() method in JsonParser
1649 return getValueAsLong(0); in getValueAsLong()
1663 public long getValueAsLong(long def) throws IOException { in getValueAsLong() method in JsonParser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringParserDelegate.java892 @Override public long getValueAsLong() throws IOException { return delegate.getValueAsLong(); } in getValueAsLong() method in FilteringParserDelegate
893 …@Override public long getValueAsLong(long defaultValue) throws IOException { return delegate.getVa… in getValueAsLong() method in FilteringParserDelegate
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserMinimalBase.java405 public long getValueAsLong() throws IOException in getValueAsLong() method in ParserMinimalBase
411 return getValueAsLong(0L); in getValueAsLong()
415 public long getValueAsLong(long defaultValue) throws IOException in getValueAsLong() method in ParserMinimalBase
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DBasicParserFilteringTest.java394 assertEquals(3L, p.getValueAsLong()); in testTokensSingleMatchWithPath()
395 assertEquals(3L, p.getValueAsLong(6L)); in testTokensSingleMatchWithPath()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DTestDelegates.java243 assertEquals(1L, del.getValueAsLong()); in testParserDelegate()
244 assertEquals(1L, del.getValueAsLong(3L)); in testParserDelegate()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DNumberDeserializers.java637 return p.getValueAsLong(); in _parseLong()
DStdDeserializer.java780 return p.getValueAsLong(); in _parseLongPrimitive()