Package org.jf.dexlib2.immutable.value
Class ImmutableBooleanEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseBooleanEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableBooleanEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>,BooleanEncodedValue,EncodedValue,ImmutableEncodedValue
public class ImmutableBooleanEncodedValue extends BaseBooleanEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableBooleanEncodedValueFALSE_VALUEstatic ImmutableBooleanEncodedValueTRUE_VALUEprotected booleanvalue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableBooleanEncodedValueforBoolean(boolean value)booleangetValue()Gets the boolean value.static ImmutableBooleanEncodedValueof(BooleanEncodedValue booleanEncodedValue)-
Methods inherited from class org.jf.dexlib2.base.value.BaseBooleanEncodedValue
compareTo, equals, getValueType, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
-
-
-
Field Detail
-
TRUE_VALUE
public static final ImmutableBooleanEncodedValue TRUE_VALUE
-
FALSE_VALUE
public static final ImmutableBooleanEncodedValue FALSE_VALUE
-
value
protected final boolean value
-
-
Method Detail
-
forBoolean
public static ImmutableBooleanEncodedValue forBoolean(boolean value)
-
of
public static ImmutableBooleanEncodedValue of(BooleanEncodedValue booleanEncodedValue)
-
getValue
public boolean getValue()
Description copied from interface:BooleanEncodedValueGets the boolean value.- Specified by:
getValuein interfaceBooleanEncodedValue- Returns:
- the boolean value
-
-