public abstract class StateHolder<O,S> extends java.lang.Object implements IStateHolder<S>
| Modifier and Type | Field and Description | 
|---|---|
protected O | 
object  | 
field_215672_b| Modifier | Constructor and Description | 
|---|---|
protected  | 
StateHolder(O objectIn,
           com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
buildPropertyValueTable(java.util.Map<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,S> map)  | 
<T extends java.lang.Comparable<T>> | 
cycle(IProperty<T> property)  | 
protected static <T> T | 
cyclePropertyValue(java.util.Collection<T> values,
                  T currentValue)  | 
boolean | 
equals(java.lang.Object p_equals_1_)  | 
<T extends java.lang.Comparable<T>> | 
get(IProperty<T> property)  | 
java.util.Collection<IProperty<?>> | 
getProperties()  | 
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> | 
getValues()  | 
<T extends java.lang.Comparable<T>> | 
has(IProperty<T> property)  | 
int | 
hashCode()  | 
java.lang.String | 
toString()  | 
<T extends java.lang.Comparable<T>,V extends T> | 
with(IProperty<T> property,
    V value)  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfunc_215670_b, func_215671_aprotected final O object
protected static <T> T cyclePropertyValue(java.util.Collection<T> values,
                                          T currentValue)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<IProperty<?>> getProperties()
public <T extends java.lang.Comparable<T>> boolean has(IProperty<T> property)
public <T extends java.lang.Comparable<T>> T get(IProperty<T> property)
get in interface IStateHolder<S>public <T extends java.lang.Comparable<T>,V extends T> S with(IProperty<T> property, V value)
with in interface IStateHolder<S>public void buildPropertyValueTable(java.util.Map<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,S> map)
public com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> getValues()
getValues in interface IStateHolder<S>public boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object