public static class StateContainer.Builder<O,S extends IStateHolder<S>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private O |
owner |
private java.util.Map<java.lang.String,IProperty<?>> |
properties |
Modifier and Type | Method and Description |
---|---|
StateContainer.Builder<O,S> |
add(IProperty<?>... propertiesIn) |
<A extends StateHolder<O,S>> |
create(StateContainer.IFactory<O,S,A> factory) |
private <T extends java.lang.Comparable<T>> |
validateProperty(IProperty<T> property) |
private final O owner
private final java.util.Map<java.lang.String,IProperty<?>> properties
public Builder(O object)
public StateContainer.Builder<O,S> add(IProperty<?>... propertiesIn)
private <T extends java.lang.Comparable<T>> void validateProperty(IProperty<T> property)
public <A extends StateHolder<O,S>> StateContainer<O,S> create(StateContainer.IFactory<O,S,A> factory)