Class AbstractBooleanCollection

java.lang.Object
java.util.AbstractCollection<Boolean>
it.unimi.dsi.fastutil.booleans.AbstractBooleanCollection
All Implemented Interfaces:
BooleanCollection, BooleanIterable, Iterable<Boolean>, Collection<Boolean>
Direct Known Subclasses:
AbstractBooleanBigList, AbstractBooleanList, AbstractBooleanSet, BooleanCollections.EmptyCollection, BooleanCollections.IterableCollection

public abstract class AbstractBooleanCollection
extends AbstractCollection<Boolean>
implements BooleanCollection
An abstract class providing basic methods for collections implementing a type-specific interface.

In particular, this class provide iterator(), add(), remove(Object) and contains(Object) methods that just call the type-specific counterpart.

Warning: Because of a name clash between the list and collection interfaces the type-specific deletion method of a type-specific abstract collection is rem(), rather then remove(). A subclass must thus override rem(), rather than remove(), to make all inherited methods work properly.