@InterfaceAudience.Public public class BigDecimalComparator extends ByteArrayComparable
| 构造器和说明 |
|---|
BigDecimalComparator(BigDecimal value) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(byte[] value,
int offset,
int length) |
int |
compareTo(ByteBuffer value,
int offset,
int length) |
boolean |
equals(Object obj) |
int |
hashCode() |
static BigDecimalComparator |
parseFrom(byte[] pbBytes) |
byte[] |
toByteArray() |
compareTo, getValuepublic BigDecimalComparator(BigDecimal value)
public int compareTo(byte[] value,
int offset,
int length)
compareTo 在类中 ByteArrayComparablepublic int compareTo(ByteBuffer value, int offset, int length)
compareTo 在类中 ByteArrayComparablepublic byte[] toByteArray()
toByteArray 在类中 ByteArrayComparablepublic static BigDecimalComparator parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes - A pb serialized BigDecimalComparator instanceBigDecimalComparator made from bytesDeserializationException - A deserialization exceptiontoByteArray()Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.