Home
last modified time | relevance | path

Searched refs:getDecimalValue (Results 1 – 21 of 21) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncNumberCoercionTest.java58 assertEquals(BigDecimal.TEN, p.getDecimalValue()); in testToIntCoercion()
172 assertEquals(BigDecimal.TEN, p.getDecimalValue()); in testToLongCoercion()
238 assertEquals(new BigDecimal("200.0"), p.getDecimalValue()); in testToBigIntegerCoercion()
256 assertEquals(new BigDecimal("100.5"), p.getDecimalValue()); in testToDoubleCoercion()
275 assertEquals(BigDecimal.ONE, p.getDecimalValue()); in testToBigDecimalCoercion()
282 assertEquals(BigDecimal.valueOf(Long.MAX_VALUE), p.getDecimalValue()); in testToBigDecimalCoercion()
290 assertEquals(new BigDecimal(biggie), p.getDecimalValue()); in testToBigDecimalCoercion()
DAsyncSimpleObjectTest.java164 assertEquals(NUMBER_EXP_BD, r.getDecimalValue()); in _testNumbers()
DAsyncNaNHandlingTest.java60 /*BigDecimal dec =*/ p.getDecimalValue(); in _testAllowNaN()
DAsyncScalarArrayTest.java360 assertEquals(expValue, r.getDecimalValue()); in _testBigDecimals()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNumberCoercionTest.java47 assertEquals(BigDecimal.TEN, p.getDecimalValue()); in testToIntCoercion()
166 assertEquals(BigDecimal.TEN, p.getDecimalValue()); in testToLongCoercion()
237 assertEquals(new BigDecimal("200.0"), p.getDecimalValue()); in testToBigIntegerCoercion()
257 assertEquals(new BigDecimal("100.5"), p.getDecimalValue()); in testToDoubleCoercion()
278 assertEquals(BigDecimal.ONE, p.getDecimalValue()); in testToBigDecimalCoercion()
285 assertEquals(BigDecimal.valueOf(Long.MAX_VALUE), p.getDecimalValue()); in testToBigDecimalCoercion()
293 assertEquals(new BigDecimal(biggie), p.getDecimalValue()); in testToBigDecimalCoercion()
DNonStandardNumberParsingTest.java47 assertEquals("0.125", p.getDecimalValue().toString()); in _testLeadingDotInDecimalAllowed()
DNumberParsingTest.java105 assertEquals(BigDecimal.valueOf((long) EXP_I), p.getDecimalValue()); in _testSimpleInt()
120 assertEquals(BigDecimal.valueOf((long) EXP_I), p.getDecimalValue()); in _testSimpleInt()
227 assertEquals(BigDecimal.valueOf((long) EXP_L), p.getDecimalValue()); in _testSimpleLong()
DNonStandardParserFeaturesTest.java181 /*BigDecimal dec =*/ p.getDecimalValue(); in _testAllowNaN()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/
DAsyncReaderWrapper.java66 … public BigDecimal getDecimalValue() throws IOException { return _streamReader.getDecimalValue(); } in getDecimalValue() method in AsyncReaderWrapper
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonParserDelegate.java176 public BigDecimal getDecimalValue() throws IOException { return delegate.getDecimalValue(); } in getDecimalValue() method in JsonParserDelegate
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DUntypedObjectDeserializer.java286 return p.getDecimalValue(); in deserialize()
343 return p.getDecimalValue(); in deserializeWithType()
414 return p.getDecimalValue(); in deserialize()
741 return p.getDecimalValue(); in deserialize()
784 return p.getDecimalValue(); in deserializeWithType()
DJsonNodeDeserializer.java605 return nodeFactory.numberNode(p.getDecimalValue()); in _fromFloat()
613 return nodeFactory.numberNode(p.getDecimalValue()); in _fromFloat()
DNumberDeserializers.java895 return p.getDecimalValue(); in deserialize()
1026 return p.getDecimalValue().toBigInteger(); in deserialize()
1085 return p.getDecimalValue(); in deserialize()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTreeTraversingParser.java262 public BigDecimal getDecimalValue() throws IOException { in getDecimalValue() method in TreeTraversingParser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringParserDelegate.java864 public BigDecimal getDecimalValue() throws IOException { return delegate.getDecimalValue(); } in getDecimalValue() method in FilteringParserDelegate
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java1075 writeNumber(p.getDecimalValue()); in copyCurrentEvent()
1079 writeNumber(p.getDecimalValue()); in copyCurrentEvent()
1229 writeNumber(p.getDecimalValue()); in _copyBufferValue()
1762 public BigDecimal getDecimalValue() throws IOException in getDecimalValue() method in TokenBuffer.Parser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java1959 writeNumber(p.getDecimalValue()); in copyCurrentEvent()
2101 writeNumber(p.getDecimalValue()); in _copyCurrentContents()
DJsonParser.java1487 public abstract BigDecimal getDecimalValue() throws IOException; in getDecimalValue() method in JsonParser
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKNumberDeserTest.java91 return new MyBeanValue(jp.getDecimalValue()); in deserialize()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserBase.java748 public BigDecimal getDecimalValue() throws IOException in getDecimalValue() method in ParserBase
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBase.java1518 return _valueInstantiator.createFromBigDecimal(ctxt, p.getDecimalValue()); in deserializeFromDouble()