Class UnionMethodSet.SingletonMethod<E>

    • Method Detail

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