Modifier and Type | Field and Description |
---|---|
private Map<String,Property<?>> |
namedProperties |
private O |
owner |
Modifier and Type | Method and Description |
---|---|
StateManager.Builder<O,S> |
add(Property<?>[] properties) |
StateManager<O,S> |
build(Function<O,S> ownerToStateFunction,
StateManager.Factory<O,S> factory) |
private <T extends Comparable<T>> |
validate(Property<T> property) |
private final O owner
public Builder(O owner)
public StateManager.Builder<O,S> add(Property<?>[] properties)
private <T extends Comparable<T>> void validate(Property<T> property)
public StateManager<O,S> build(Function<O,S> ownerToStateFunction, StateManager.Factory<O,S> factory)