Value { public boolean cmp(Value o) { return DeepEquals.deepEquals(this, o); } Value();  Value(Object obj); static Value fromRlpEncoded(byte[] data); void init(byte[] rlp); Object asObj(); List<Object> asList(); int asInt(); long asLong(); BigInteger asBigInt(); String asString(); byte[] asBytes(); String getHex(); byte[] getData(); int[] asSlice(); Value get(int index); void decode(); byte[] encode(); byte[] hash(); boolean cmp(Value o); boolean isList(); boolean isString(); boolean isInt(); boolean isLong(); boolean isBigInt(); boolean isBytes(); boolean isReadableString(); boolean isHexString(); boolean isHashCode(); boolean isNull(); boolean isEmpty(); int length(); String toString(); int countBranchNodes();  }
@Test public void testCmp() { Value val1 = new Value("hello"); Value val2 = new Value("world"); assertFalse("Expected values not to be equal", val1.cmp(val2)); Value val3 = new Value("hello"); Value val4 = new Value("hello"); assertTrue("Expected values to be equal", val3.cmp(val4)); }