Interface UnionMethodSet.Method<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.
      E getSingleton​(Object target)
      Gets the single value that represents the set or null if cannot be represented as a single value.
    • Method Detail

      • 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.