Class BwStats.StatsEntry

java.lang.Object
org.bedework.calfacade.BwStats.StatsEntry
Enclosing class:
BwStats

public static class BwStats.StatsEntry extends Object
Class to hold a statistics. We build a collection of these. We use Strings for values as these are going to be dumped as xml.
  • Field Details

  • Constructor Details

    • StatsEntry

      public StatsEntry(String label, int val)
      Constructor for an int val
      Parameters:
      label - of val
      val - value
    • StatsEntry

      public StatsEntry(String label, long val)
      Constructor for a long val
      Parameters:
      label - of val
      val - value
    • StatsEntry

      public StatsEntry(String label, double val)
      Constructor for a double val
      Parameters:
      label - of val
      val - value
    • StatsEntry

      public StatsEntry(String label, String val)
      Constructor for a String val
      Parameters:
      label - of val
      val - value
    • StatsEntry

      public StatsEntry(String header)
      Constructor for a header
      Parameters:
      header - for output
  • Method Details

    • getStatKind

      public int getStatKind()
      Returns:
      int kind of stat
    • getStatLabel

      public String getStatLabel()
      Returns:
      String label
    • getStatType

      public int getStatType()
      Returns:
      int type
    • getStatVal

      public String getStatVal()
      Returns:
      String value