Package org.jf.dexlib2.iface.value
Interface NullEncodedValue
- All Superinterfaces:
Comparable<EncodedValue>,EncodedValue
- All Known Implementing Classes:
BaseNullEncodedValue,BuilderEncodedValues.BuilderNullEncodedValue,ImmutableNullEncodedValue
This class represents an encoded null value.
-
Method Summary
Modifier and TypeMethodDescriptionintCompare this NullEncodedValue to another EncodedValue.booleanCompares this NullEncodedValue to another NullEncodedValue for equality.inthashCode()Returns a hashcode for this EncodedNullValue.Methods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
Method Details
-
hashCode
int hashCode()Returns a hashcode for this EncodedNullValue. This hashCode is defined to be the following:int hashCode = 0; -
equals
Compares this NullEncodedValue to another NullEncodedValue for equality. This NullEncodedValue is always equal to another other NullEncodedValue -
compareTo
Compare this NullEncodedValue to another EncodedValue. The comparison is first done on the return values of getValueType(). If the other value is another NullEncodedValue, then 0 is returned.- Specified by:
compareToin interfaceComparable<EncodedValue>- Parameters:
o- The EncodedValue to compare with this NullEncodedValue- Returns:
- An integer representing the result of the comparison
-