A highly ISP-compliant collection of interfaces that represent collections.
CountableListInterface
: A list that can be iterated and counted.HasItemCapableInterface
: Something that can be checked for the existence of an item.SetInterface
: A list that can be checked for a value.CountableSetInterface
: A set that can be counted.MapInterface
: An iterable container.CountableMapInterface
: A countable map.ContainerFactoryInterface
: A factory ofContainerInterface
objects.MapFactoryInterface
: A factory ofMapInterface
objects.HasCapableInterface
: Something that can check for a given key.ContainerInterface
: A container implementingHasCapableInterface
.WritableContainerInterface
: A container that can have mappings added and removed.WritableMapInterface
: A map that can have mappings added and removed.WritableSetInterface
: A set that can have items added and removed.ClearableContainerInterface
: A container that can have its members cleared.