public class SimplePathMethod<T,R> extends java.lang.Object implements PathMethod<T,R>
| Constructor and Description |
|---|
SimplePathMethod(java.util.function.Supplier<R> supplier,
java.util.function.Function<T,R> readMethod,
java.util.function.BiConsumer<T,R> writeMethod) |
public R get(T link)
PathMethodget in interface PathMethod<T,R>link - path containerpublic void set(T link, R value)
PathMethodset in interface PathMethod<T,R>link - path containervalue - value to setpublic R create(T link)
PathMethodcreate in interface PathMethod<T,R>link - path container