Uses of Class
org.soliscode.test.interfaces.CollectionOnly
Packages that use CollectionOnly
Package
Description
View classes that restrict an object to a single interface.
-
Uses of CollectionOnly in org.soliscode.test.interfaces
Methods in org.soliscode.test.interfaces that return CollectionOnlyModifier and TypeMethodDescriptionstatic <E> CollectionOnly
<E> Interfaces.narrowToCollection
(Collection<E> i) Wraps the object so that only the methods in theCollection
interface are available.Constructors in org.soliscode.test.interfaces with parameters of type CollectionOnlyModifierConstructorDescriptionCollectionOnly
(CollectionOnly<E> other) Creates a copy of a collection.