
ValueType - The type of the value to wrappublic class ValueWrapper<ValueType> extends Object
failed() method returns true.| Constructor and Description |
|---|
ValueWrapper(ValueType wrapped)
Constructor for ValueWrapper.
|
ValueWrapper(ValueType wrapped,
Exception ex)
Constructor for ValueWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
failed()
Return true if there was an exception while computing the value.
|
ValueType |
wrapped()
wrapped.
|
public ValueWrapper(ValueType wrapped)
Constructor for ValueWrapper.
wrapped - The value to wrappublic final ValueType wrapped()
wrapped.
public boolean failed()
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.