Class EncryptionMethod.Family

    • Constructor Summary

      Constructors 
      Constructor Description
      Family​(EncryptionMethod... encs)
      Creates a new encryption method family.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(T alg)  
      boolean addAll​(java.util.Collection<? extends T> algs)  
      boolean remove​(java.lang.Object o)  
      boolean removeAll​(java.util.Collection<?> c)  
      boolean retainAll​(java.util.Collection<?> c)  
      • Methods inherited from class java.util.LinkedHashSet

        spliterator
      • Methods inherited from class java.util.HashSet

        clear, clone, contains, isEmpty, iterator, size
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        clear, contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray
    • Constructor Detail

      • Family

        public Family​(EncryptionMethod... encs)
        Creates a new encryption method family.
        Parameters:
        encs - The encryption methods of the family. Must not be null.
    • Method Detail

      • add

        public boolean add​(T alg)
        Specified by:
        add in interface java.util.Collection<T extends Algorithm>
        Specified by:
        add in interface java.util.Set<T extends Algorithm>
        Overrides:
        add in class java.util.HashSet<T extends Algorithm>
      • addAll

        public boolean addAll​(java.util.Collection<? extends T> algs)
        Specified by:
        addAll in interface java.util.Collection<T extends Algorithm>
        Specified by:
        addAll in interface java.util.Set<T extends Algorithm>
        Overrides:
        addAll in class java.util.AbstractCollection<T extends Algorithm>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<T extends Algorithm>
        Specified by:
        remove in interface java.util.Set<T extends Algorithm>
        Overrides:
        remove in class java.util.HashSet<T extends Algorithm>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<T extends Algorithm>
        Specified by:
        removeAll in interface java.util.Set<T extends Algorithm>
        Overrides:
        removeAll in class java.util.AbstractSet<T extends Algorithm>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<T extends Algorithm>
        Specified by:
        retainAll in interface java.util.Set<T extends Algorithm>
        Overrides:
        retainAll in class java.util.AbstractCollection<T extends Algorithm>