Value implements Byteable, Comparable<Value> { public static Value wrap(TObject data) { Object obj = data.getServerWrapper(); if(obj == null) { Value value = new Value(data); data.cacheServerWrapper(value); return value; } else if(obj instanceof Value) { return (Value) obj; } else { data.cacheServerWrapper(null); return wrap(data); } } private  Value(TObject data); private  Value(TObject data, @Nullable ByteBuffer bytes); static Value fromByteBuffer(ByteBuffer bytes); static Value optimize(Value value); static Value wrap(TObject data); @Override int compareTo(Value other); int compareToIgnoreCase(Value other); @Override void copyCanonicalBytesTo(ByteBuffer buffer); @Override void copyCanonicalBytesTo(ByteSink sink); @Override void copyTo(ByteSink sink); @Override boolean equals(Object obj); boolean equalsIgnoreCase(Value obj); @Override ByteBuffer getBytes(); @Override ByteBuffer getCanonicalBytes(); @Override int getCanonicalLength(); Object getObject(); TObject getTObject(); Type getType(); @Override int hashCode(); boolean isCharSequenceType(); boolean isNumericType(); @Override int size(); @Override String toString(); Value toUpperCase(); Value toLowerCase(); static Value NEGATIVE_INFINITY; static Value POSITIVE_INFINITY; }
@Test public void testCompareReproCON90A() { Assert.assertTrue(Value.Sorter.INSTANCE.compare( Value.wrap(Convert.javaToThrift(654569943)), Value.wrap(Convert.javaToThrift( "2ldexok y9mqipnui o4w85kfa55t9nuzk212kvmf mqvm nr u3412xu6df2gx gsk5 lzv4ssghrbs 3ljiea8 8e2mwauu 12"))) < 0); }