Class BlockStates<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​T> getSnapshot()  
      T of​(io.molr.commons.domain.Block block)  
      void put​(io.molr.commons.domain.Block block, T state)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockStates

        public BlockStates​(TreeStructure structure,
                           T defaultValue)
    • Method Detail

      • put

        public void put​(io.molr.commons.domain.Block block,
                        T state)
      • getSnapshot

        public java.util.Map<java.lang.String,​T> getSnapshot()
      • of

        public T of​(io.molr.commons.domain.Block block)