public class AbstractTypedValue<T> extends Object implements TypedValue
Modifier and Type | Field and Description |
---|---|
protected boolean |
isTransient |
protected ValueType |
type |
protected T |
value |
Constructor and Description |
---|
AbstractTypedValue(T value,
ValueType type) |
Modifier and Type | Method and Description |
---|---|
ValueType |
getType()
The type of the value.
|
T |
getValue()
The actual value.
|
boolean |
isTransient()
Indicator for transience of the value
|
void |
setTransient(boolean isTransient) |
String |
toString() |
protected T value
protected ValueType type
protected boolean isTransient
public T getValue()
TypedValue
getValue
in interface TypedValue
public ValueType getType()
TypedValue
getType
in interface TypedValue
public boolean isTransient()
TypedValue
isTransient
in interface TypedValue
public void setTransient(boolean isTransient)
Copyright © 2022. All rights reserved.