public class ListPathMethod<T,R> extends java.lang.Object implements PathMethod<T,R>
| Constructor and Description |
|---|
ListPathMethod(java.util.function.Supplier<R> supplier,
java.util.function.Function<T,java.util.List<R>> readMethod,
java.util.function.BiConsumer<T,java.util.List<R>> writeMethod,
int position) |
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