Interface PCollection<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean add​(E o)
      Deprecated.
      boolean addAll​(java.util.Collection<? extends E> c)
      Deprecated.
      void clear()
      Deprecated.
      PCollection<E> minus​(java.lang.Object e)  
      PCollection<E> minusAll​(java.util.Collection<?> list)  
      PCollection<E> plus​(E e)  
      PCollection<E> plusAll​(java.util.Collection<? extends E> list)  
      boolean remove​(java.lang.Object o)
      Deprecated.
      boolean removeAll​(java.util.Collection<?> c)
      Deprecated.
      boolean retainAll​(java.util.Collection<?> c)
      Deprecated.
      • Methods inherited from interface java.util.Collection

        contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Method Detail

      • plus

        PCollection<E> plus​(E e)
        Parameters:
        e -
        Returns:
        a collection which contains e and all of the elements of this
      • plusAll

        PCollection<E> plusAll​(java.util.Collection<? extends E> list)
        Parameters:
        list -
        Returns:
        a collection which contains all of the elements of list and this
      • minus

        PCollection<E> minus​(java.lang.Object e)
        Parameters:
        e -
        Returns:
        this with a single instance of e removed, if e is in this
      • minusAll

        PCollection<E> minusAll​(java.util.Collection<?> list)
        Parameters:
        list -
        Returns:
        this with all elements of list completely removed
      • add

        @Deprecated
        boolean add​(E o)
        Deprecated.
        Specified by:
        add in interface java.util.Collection<E>
      • remove

        @Deprecated
        boolean remove​(java.lang.Object o)
        Deprecated.
        Specified by:
        remove in interface java.util.Collection<E>
      • addAll

        @Deprecated
        boolean addAll​(java.util.Collection<? extends E> c)
        Deprecated.
        Specified by:
        addAll in interface java.util.Collection<E>
      • removeAll

        @Deprecated
        boolean removeAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        removeAll in interface java.util.Collection<E>
      • retainAll

        @Deprecated
        boolean retainAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        retainAll in interface java.util.Collection<E>
      • clear

        @Deprecated
        void clear()
        Deprecated.
        Specified by:
        clear in interface java.util.Collection<E>