Searched refs:canConvertToInt (Results 1 – 11 of 11) sorted by relevance
34 assertTrue(ShortNode.valueOf((short) 0).canConvertToInt()); in testShort()35 assertTrue(ShortNode.valueOf(Short.MAX_VALUE).canConvertToInt()); in testShort()36 assertTrue(ShortNode.valueOf(Short.MIN_VALUE).canConvertToInt()); in testShort()85 assertTrue(IntNode.valueOf(0).canConvertToInt()); in testInt()86 assertTrue(IntNode.valueOf(Integer.MAX_VALUE).canConvertToInt()); in testInt()87 assertTrue(IntNode.valueOf(Integer.MIN_VALUE).canConvertToInt()); in testInt()111 assertTrue(LongNode.valueOf(0).canConvertToInt()); in testLong()112 assertTrue(LongNode.valueOf(Integer.MAX_VALUE).canConvertToInt()); in testLong()113 assertTrue(LongNode.valueOf(Integer.MIN_VALUE).canConvertToInt()); in testLong()115 assertFalse(LongNode.valueOf(1L + Integer.MAX_VALUE).canConvertToInt()); in testLong()[all …]
36 @Override public abstract boolean canConvertToInt(); in canConvertToInt() method in NumericNode
49 @Override public boolean canConvertToInt() { return true; } in canConvertToInt() method in ShortNode
49 @Override public boolean canConvertToInt() { in canConvertToInt() method in LongNode
55 @Override public boolean canConvertToInt() { in canConvertToInt() method in DoubleNode
74 @Override public boolean canConvertToInt() { return true; } in canConvertToInt() method in IntNode
55 @Override public boolean canConvertToInt() { in canConvertToInt() method in FloatNode
60 @Override public boolean canConvertToInt() { in canConvertToInt() method in DecimalNode
52 @Override public boolean canConvertToInt() { in canConvertToInt() method in BigIntegerNode
279 if (!node.canConvertToInt()) { in getIntValue()
390 public boolean canConvertToInt() { return false; } in canConvertToInt() method in JsonNode