Interface UnionMethodSet.Method<E>

All Known Implementing Classes:
UnionMethodSet.ReflectionMethod, UnionMethodSet.SetMethod, UnionMethodSet.SingletonMethod
Enclosing class:
UnionMethodSet<E>

public static interface UnionMethodSet.Method<E>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(Object target, Object element)
    Checks if the set returned by the method contains the non-null object element.
    Set<? extends E>
    getSet(Object target)
    Gets the set view of the method result or null if set is not applicable.
    Gets the single value that represents the set or null if cannot be represented as a single value.
  • Method Details

    • contains

      boolean contains(Object target, Object element)
      Checks if the set returned by the method contains the non-null object element.
    • getSingleton

      E getSingleton(Object target)
      Gets the single value that represents the set or null if cannot be represented as a single value.
    • getSet

      Set<? extends E> getSet(Object target)
      Gets the set view of the method result or null if set is not applicable.