Package org.eclipse.jetty.io
Class IncludeExcludeConnectionStatistics.ConnectionSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Class<? extends Connection>>
org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- All Implemented Interfaces:
Iterable<Class<? extends Connection>>
,Collection<Class<? extends Connection>>
,Predicate<Connection>
,Set<Class<? extends Connection>>
- Enclosing class:
- IncludeExcludeConnectionStatistics
public static class IncludeExcludeConnectionStatistics.ConnectionSet
extends AbstractSet<Class<? extends Connection>>
implements Predicate<Connection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(Class<? extends Connection> aClass) Iterator<Class<? extends Connection>>
iterator()
boolean
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.util.Set
addAll, clear, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
ConnectionSet
public ConnectionSet()
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<Class<? extends Connection>>
- Specified by:
add
in interfaceSet<Class<? extends Connection>>
- Overrides:
add
in classAbstractCollection<Class<? extends Connection>>
-
remove
- Specified by:
remove
in interfaceCollection<Class<? extends Connection>>
- Specified by:
remove
in interfaceSet<Class<? extends Connection>>
- Overrides:
remove
in classAbstractCollection<Class<? extends Connection>>
-
iterator
- Specified by:
iterator
in interfaceCollection<Class<? extends Connection>>
- Specified by:
iterator
in interfaceIterable<Class<? extends Connection>>
- Specified by:
iterator
in interfaceSet<Class<? extends Connection>>
- Specified by:
iterator
in classAbstractCollection<Class<? extends Connection>>
-
size
public int size()- Specified by:
size
in interfaceCollection<Class<? extends Connection>>
- Specified by:
size
in interfaceSet<Class<? extends Connection>>
- Specified by:
size
in classAbstractCollection<Class<? extends Connection>>
-
test
- Specified by:
test
in interfacePredicate<Connection>
-