Interface SupportedMethods

All Known Subinterfaces:
AddAllContract<E,C>, AddAtPositionContract<E,L>, AddContract<E,C>, AddFirstContract<E,C>, AddLastContract<E,C>, ClearContract<E,C>, CollectionContract<E,C>, CollectionContractSupport<E,C>, ContainsAllContract<E,C>, ContainsContract<E,C>, ContractSupport<T>, EqualsContract<T>, ForEachContract<E,I>, GetContract<E,L>, GetFirstContract<E,C>, GetLastContract<E,C>, HashCodeContract<T>, IndexOfContract<E,L>, IntegerContract<T>, IntegerSupport<T>, IsEmptyContract<E,C>, IterableContract<E,I>, IteratorContract<E,I>, LastIndexOfContract<E,L>, ListAddContract<E,L>, ListContract<E,L>, ListToArrayContract<E,L>, NumberSupport<T>, ObjectContract<T>, RemoveAllContract<E,C>, RemoveAtPositionContract<E,L>, RemoveContract<E,C>, RemoveFirstContract<E,C>, RemoveIfContract<E,C>, RemoveLastContract<E,C>, ReplaceAllContract<E,L>, RetainAllContract<E,C>, ReversedContract<E,C>, SequencedCollectionContract<E,C>, SetContract<E,L>, SizeContract<E,C>, SortContract<E,L>, SpliteratorContract<E,I>, StreamContract<E,C>, SubListContract<E,L>, ToArrayContract<E,C>, ToStringContract<T>, WithDouble, WithInteger, WithString
All Known Implementing Classes:
AbstractBreakable, AbstractTest, BreakableCollection, BreakableIterable, BreakableIterator, BreakableList, BreakableSequencedCollection, BreakableSpliterator, OptionalMethodSupport

public interface SupportedMethods
An interface used to indicate which of the optional methods of another interface that this class supports.
Since:
1.0.0
Author:
evanbergstrom
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Used to determine if this object supports an optional method.
  • Method Details

    • supportsMethod

      boolean supportsMethod(OptionalMethod method)
      Used to determine if this object supports an optional method.
      Parameters:
      method - The identifier for the method.
      Returns:
      'true' if the method is supported. false if it is not.