Class SingleItemSet<T>

  • All Implemented Interfaces:
    Iterable<T>, Collection<T>, Set<T>

    public class SingleItemSet<T>
    extends Object
    implements Set<T>
    This is a special 'Set' which actually is no Collection but only contains a very single item. This way we keep mem low and also are pretty fast ;)