Class FormattedCounter


  • public class FormattedCounter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FormattedCounter​(NumberFormat format, java.lang.Boolean lowercase, java.lang.String delimiter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount()  
      java.lang.String getFormatted​(boolean withDelimiter)  
      int nextCount()  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • FormattedCounter

        public FormattedCounter​(NumberFormat format,
                                java.lang.Boolean lowercase,
                                java.lang.String delimiter)
    • Method Detail

      • reset

        public void reset()
      • getCount

        public int getCount()
      • nextCount

        public int nextCount()
      • getFormatted

        public java.lang.String getFormatted​(boolean withDelimiter)