Class EnumCounts<E extends java.lang.Enum<E>>


  • public class EnumCounts<E extends java.lang.Enum<E>>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int[] counts  
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumCounts​(int[] counts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount​(E enumInstance)  
      protected int[] getUnderlyingArr()  
      void setCount​(E outcome, int count)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • counts

        public final int[] counts
    • Constructor Detail

      • EnumCounts

        public EnumCounts​(int[] counts)
    • Method Detail

      • getCount

        public int getCount​(E enumInstance)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setCount

        public void setCount​(E outcome,
                             int count)
      • getUnderlyingArr

        protected int[] getUnderlyingArr()