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:
Comparable<EncodedValue>,BooleanEncodedValue,EncodedValue,ImmutableEncodedValue
public class ImmutableBooleanEncodedValue
extends BaseBooleanEncodedValue
implements ImmutableEncodedValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ImmutableBooleanEncodedValuestatic final ImmutableBooleanEncodedValueprotected final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
Field Details
-
TRUE_VALUE
-
FALSE_VALUE
-
value
protected final boolean value
-
-
Constructor Details
-
ImmutableBooleanEncodedValue
private ImmutableBooleanEncodedValue(boolean value)
-
-
Method Details
-
forBoolean
-
of
-
getValue
public boolean getValue()Description copied from interface:BooleanEncodedValueGets the boolean value.- Specified by:
getValuein interfaceBooleanEncodedValue- Returns:
- the boolean value
-