Class Decoder.AbstractDecodesCollection<T extends ElementaryDecode>

java.lang.Object
org.harctoolbox.irp.Decoder.AbstractDecodesCollection<T>
All Implemented Interfaces:
Iterable<T>
Direct Known Subclasses:
Decoder.DecodeTree, Decoder.SimpleDecodesSet
Enclosing class:
Decoder

public abstract static class Decoder.AbstractDecodesCollection<T extends ElementaryDecode> extends Object implements Iterable<T>
  • Field Details

  • Method Details

    • getPreferred

      public T getPreferred()
    • iterator

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T extends ElementaryDecode>
    • add

      public void add(T decode)
    • isEmpty

      public boolean isEmpty()
    • get

      public T get(String name)
    • contains

      public boolean contains(String name)
    • remove

      public void remove(String protName)
    • remove

      public void remove(T decode)
    • size

      public int size()
    • sort

      public final void sort()
    • first

      public T first()
    • println

      public void println(PrintStream out, int radix, String separator, boolean quiet)
    • printNoDecodes

      protected void printNoDecodes(PrintStream out, boolean quiet)