Class StationTracker.AddressStatistics<K,C extends StationTracker.AddressStatistics<K,C>>

java.lang.Object
org.ka2ddo.yaac.ax25.StationTracker.AddressStatistics<K,C>
Type Parameters:
K - data type of station identifier
C - class name of subclass
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StationTracker.DestinationStatistics, StationTracker.DigipeatStatistics
Enclosing class:
StationTracker

public abstract static class StationTracker.AddressStatistics<K,C extends StationTracker.AddressStatistics<K,C>> extends Object implements Serializable
This abstract class collects the occurrence counts for a particular type of station.
See Also:
  • Field Details

    • enabled

      public boolean enabled
    • numUsed

      public int numUsed
    • rowIndex

      public int rowIndex
  • Constructor Details

    • AddressStatistics

      public AddressStatistics()
  • Method Details

    • getKey

      public abstract K getKey()
      Get the identifier for the statistics.
      Returns:
      statistics identifier
    • getValue

      public C getValue()
      Get the statistics object itself.
      Returns:
      the statistics object
    • toString

      public String toString()
      Returns a string representation of the statistics object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.