T
- The type of the definable object.public static class ByteBuddy.Definable.Defined<T> extends Object implements ByteBuddy.Definable<T>
ByteBuddy.Definable
for a given value.ByteBuddy.Definable.Defined<T>, ByteBuddy.Definable.Undefined<T>
Constructor and Description |
---|
Defined(T value)
Creates a new defined instance for the given value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
T |
resolve(T defaultValue)
Returns the value of this instance or the provided default value for an undefined definable.
|
String |
toString() |
public Defined(T value)
value
- The defined value.public T resolve(T defaultValue)
ByteBuddy.Definable
resolve
in interface ByteBuddy.Definable<T>
defaultValue
- The default value that is returned for an ByteBuddy.Definable.Undefined
definable.Copyright © 2014. All rights reserved.