Interface Count

  • All Superinterfaces:
    Changeable
    All Known Implementing Classes:
    IndexedCount

    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.

    Since:
    1.1
    Author:
    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) }