Interface CollectionOperations<V, C extends Collection<V>>

Type Parameters:
V - the collection element type
C - the collection type
All Superinterfaces:
Operations<C>
All Known Implementing Classes:
SetOperations

public interface CollectionOperations<V, C extends Collection<V>> extends Operations<C>
Defines operations for creating and copying an operable collection.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    default Predicate<C>
    Returns the predicate used to determine if the operable object is empty.

    Methods inherited from interface Operations

    getCopier, getFactory
  • Method Details

    • isEmpty

      default Predicate<C> isEmpty()
      Description copied from interface: Operations
      Returns the predicate used to determine if the operable object is empty.
      Specified by:
      isEmpty in interface Operations<V>
      Returns:
      the predicate used to determine if the operable object is empty.