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 ImmutableBooleanEncodedValue
FALSE_VALUE
static ImmutableBooleanEncodedValue
TRUE_VALUE
protected boolean
value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableBooleanEncodedValue
forBoolean(boolean value)
boolean
getValue()
Gets the boolean value.static ImmutableBooleanEncodedValue
of(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:BooleanEncodedValue
Gets the boolean value.- Specified by:
getValue
in interfaceBooleanEncodedValue
- Returns:
- the boolean value
-
-