| Modifier and Type | Field and Description |
|---|---|
| private final Logger | |
| private final String | |
| private final Type | |
| private final T |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: booleanother object _obj)Overrides java. Compare this Variant with another by comparing contents. |
| public String | |
| public Type | |
| public T | |
| public int | |
| public String |
| logger | back to summary |
|---|---|
| private final Logger logger | |
| sig | back to summary |
|---|---|
| private final String sig | |
| type | back to summary |
|---|---|
| private final Type type | |
| value | back to summary |
|---|---|
| private final T value | |
| Variant | back to summary |
|---|---|
| public Variant(T _value) throws IllegalArgumentException Create a Variant from a basic type object.
| |
| Variant | back to summary |
|---|---|
| public Variant(T _value, Type _type) throws IllegalArgumentException Create a Variant.
| |
| Variant | back to summary |
|---|---|
| public Variant(T _value, String _sig) throws IllegalArgumentException Create a Variant.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object _obj) Overrides java. Compare this Variant with another by comparing contents. | |
| getSig | back to summary |
|---|---|
| public String getSig() Return the dbus signature of the wrapped value.
| |
| getType | back to summary |
|---|---|
| public Type getType() Return the type of the wrapped value.
| |
| getValue | back to summary |
|---|---|
| public T getValue() Return the wrapped value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Format the Variant as a string.
| |