@Test void testAsString() { assertEquals("string value", plainStringValue.asString()); assertEquals("0x0102030405", bytesValue.asString()); assertEquals("0x4d2", oddIntegerValue.asString()); assertEquals("0xf123", evenIntegerValue.asString()); assertEquals("0x1", booleanValue.asString()); }
@Override public String asString() { return value; }
RpcValue implements RpcItem { @Override public String asString() { return value; } }
RpcValue implements RpcItem { @Override public String asString() { return value; } RpcValue(RpcValue value);  RpcValue(Address value); private  RpcValue();  RpcValue(String value);  RpcValue(byte[] value);  RpcValue(BigInteger value);  RpcValue(boolean value);  RpcValue(Boolean value);  RpcValue(Bytes value); }
RpcValue implements RpcItem { @Override public String asString() { return value; } RpcValue(RpcValue value);  RpcValue(Address value); private  RpcValue();  RpcValue(String value);  RpcValue(byte[] value);  RpcValue(BigInteger value);  RpcValue(boolean value);  RpcValue(Boolean value);  RpcValue(Bytes value); @Override boolean isEmpty(); @Override boolean isNull(); @Override String asString(); @Override byte[] asByteArray(); @Override Address asAddress(); @Override Bytes asBytes(); @Override BigInteger asInteger(); @Override Boolean asBoolean(); @Override String toString(); }
RpcValue implements RpcItem { @Override public String asString() { return value; } RpcValue(RpcValue value);  RpcValue(Address value); private  RpcValue();  RpcValue(String value);  RpcValue(byte[] value);  RpcValue(BigInteger value);  RpcValue(boolean value);  RpcValue(Boolean value);  RpcValue(Bytes value); @Override boolean isEmpty(); @Override boolean isNull(); @Override String asString(); @Override byte[] asByteArray(); @Override Address asAddress(); @Override Bytes asBytes(); @Override BigInteger asInteger(); @Override Boolean asBoolean(); @Override String toString(); final static RpcValue NULL; }