Class BitCounter

java.lang.Object
org.harctoolbox.irp.BitCounter

public final class BitCounter extends Object
  • Constructor Details

    • BitCounter

      public BitCounter()
    • BitCounter

      public BitCounter(boolean unassignedIsZero)
    • BitCounter

      public BitCounter(int length, boolean unassignedIsZero)
    • BitCounter

      public BitCounter(int length)
  • Method Details

    • scrutinizeProtocols

      public static Map<String,BitCounter> scrutinizeProtocols(Iterable<Protocol> protocols)
    • getNumberBits

      public int getNumberBits()
    • getType

      public BitCounter.BitCounterType getType(int n)
    • toString

      public String toString(CharSequence delimiter)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIntSequence

      public List<Integer> toIntSequence()
    • toIntSequenceString

      public String toIntSequenceString()
    • aggregate

      public void aggregate(long x, int length)
    • aggregate

      public void aggregate(Number x, int length)
    • aggregate

      public void aggregate(long x)
    • aggregate

      public void aggregate(Number x)