Class IncludeExcludeConnectionStatistics.ConnectionSet

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Class<? extends Connection>>, java.util.Collection<java.lang.Class<? extends Connection>>, java.util.function.Predicate<Connection>, java.util.Set<java.lang.Class<? extends Connection>>
    Enclosing class:
    IncludeExcludeConnectionStatistics

    public static class IncludeExcludeConnectionStatistics.ConnectionSet
    extends java.util.AbstractSet<java.lang.Class<? extends Connection>>
    implements java.util.function.Predicate<Connection>
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionSet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(java.lang.Class<? extends Connection> aClass)  
      java.util.Iterator<java.lang.Class<? extends Connection>> iterator()  
      boolean remove​(java.lang.Object o)  
      int size()  
      boolean test​(Connection connection)  
      • Methods inherited from class java.util.AbstractSet

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

        addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, 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.function.Predicate

        and, negate, or
      • Methods inherited from interface java.util.Set

        addAll, clear, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
    • Constructor Detail

      • ConnectionSet

        public ConnectionSet()
    • Method Detail

      • add

        public boolean add​(java.lang.Class<? extends Connection> aClass)
        Specified by:
        add in interface java.util.Collection<java.lang.Class<? extends Connection>>
        Specified by:
        add in interface java.util.Set<java.lang.Class<? extends Connection>>
        Overrides:
        add in class java.util.AbstractCollection<java.lang.Class<? extends Connection>>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<java.lang.Class<? extends Connection>>
        Specified by:
        remove in interface java.util.Set<java.lang.Class<? extends Connection>>
        Overrides:
        remove in class java.util.AbstractCollection<java.lang.Class<? extends Connection>>
      • iterator

        public java.util.Iterator<java.lang.Class<? extends Connection>> iterator()
        Specified by:
        iterator in interface java.util.Collection<java.lang.Class<? extends Connection>>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Class<? extends Connection>>
        Specified by:
        iterator in interface java.util.Set<java.lang.Class<? extends Connection>>
        Specified by:
        iterator in class java.util.AbstractCollection<java.lang.Class<? extends Connection>>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Class<? extends Connection>>
        Specified by:
        size in interface java.util.Set<java.lang.Class<? extends Connection>>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Class<? extends Connection>>
      • test

        public boolean test​(Connection connection)
        Specified by:
        test in interface java.util.function.Predicate<Connection>