Package org.jf.dexlib2.immutable.value
Class ImmutableArrayEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseArrayEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableArrayEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,ArrayEncodedValue
,EncodedValue
,ImmutableEncodedValue
public class ImmutableArrayEncodedValue extends BaseArrayEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.collect.ImmutableList<? extends ImmutableEncodedValue>
value
-
Constructor Summary
Constructors Constructor Description ImmutableArrayEncodedValue(com.google.common.collect.ImmutableList<ImmutableEncodedValue> value)
ImmutableArrayEncodedValue(java.util.Collection<? extends EncodedValue> value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<? extends ImmutableEncodedValue>
getValue()
Gets the list of the values contained in this ArrayEncodedValuestatic ImmutableArrayEncodedValue
of(ArrayEncodedValue arrayEncodedValue)
-
Methods inherited from class org.jf.dexlib2.base.value.BaseArrayEncodedValue
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
-
value
@Nonnull protected final com.google.common.collect.ImmutableList<? extends ImmutableEncodedValue> value
-
-
Constructor Detail
-
ImmutableArrayEncodedValue
public ImmutableArrayEncodedValue(@Nonnull java.util.Collection<? extends EncodedValue> value)
-
ImmutableArrayEncodedValue
public ImmutableArrayEncodedValue(@Nonnull com.google.common.collect.ImmutableList<ImmutableEncodedValue> value)
-
-
Method Detail
-
of
public static ImmutableArrayEncodedValue of(@Nonnull ArrayEncodedValue arrayEncodedValue)
-
getValue
@Nonnull public com.google.common.collect.ImmutableList<? extends ImmutableEncodedValue> getValue()
Description copied from interface:ArrayEncodedValue
Gets the list of the values contained in this ArrayEncodedValue- Specified by:
getValue
in interfaceArrayEncodedValue
- Returns:
- A list of EncodedValue instances
-
-