public class CheckedReadFunction<T> extends Object implements ReadFunction<T>
Constructor and Description |
---|
CheckedReadFunction(ReadFunction<?> arg,
String argName,
Class<? extends T>... classes) |
CheckedReadFunction(ReadFunction<?> arg,
String argName,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
T |
readValue()
Calculates, if needed, and then returns the value for this function.
|
public CheckedReadFunction(ReadFunction<?> arg, String argName, Class<T> clazz)
@SafeVarargs public CheckedReadFunction(ReadFunction<?> arg, String argName, Class<? extends T>... classes)
public T readValue()
ReadFunction
readValue
in interface ReadFunction<T>
Copyright © 2015. All rights reserved.