Interface Count

  • All Superinterfaces:
    All Known Implementing Classes:

    public interface Count
    extends Changeable

    An encapsulation of a count over the Symbols within an alphabet.

    A Count is effectively a vector of counts from an Alphabet.

    Matthew Pocock
    • Field Detail

      • COUNTS

        static final ChangeType COUNTS

        Whenever a component count changes the values that would be returned by getCount, they should fire a ChangeEvent with this object as the type.

        If the whole count changes, then the change and previous fields of the ChangeEvent should be left null. If only a single weight is modified, then change should be of the form Object[] { symbol, new Double(newVal) } and previous should be of the form Object[] { symbol, new Double(oldVal) }