Class UnionMethodSet.SetMethod<E>

java.lang.Object
com.aoapps.collections.UnionMethodSet.ReflectionMethod<E>
com.aoapps.collections.UnionMethodSet.SetMethod<E>
All Implemented Interfaces:
UnionMethodSet.Method<E>
Enclosing class:
UnionMethodSet<E>

public static class UnionMethodSet.SetMethod<E> extends UnionMethodSet.ReflectionMethod<E>
A set of values will be obtained from the call to the method.
  • Constructor Details

  • Method Details

    • contains

      public boolean contains(Object target, Object element)
      Description copied from interface: UnionMethodSet.Method
      Checks if the set returned by the method contains the non-null object element.
    • getSingleton

      public E getSingleton(Object target)
      Description copied from interface: UnionMethodSet.Method
      Gets the single value that represents the set or null if cannot be represented as a single value.
    • getSet

      public Set<? extends E> getSet(Object target)
      Description copied from interface: UnionMethodSet.Method
      Gets the set view of the method result or null if set is not applicable.