Package org.eclipse.jetty.io
Class IncludeExcludeConnectionStatistics.ConnectionSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<java.lang.Class<? extends Connection>>
-
- org.eclipse.jetty.io.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.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
add
public boolean add(java.lang.Class<? extends Connection> aClass)
- Specified by:
add
in interfacejava.util.Collection<java.lang.Class<? extends Connection>>
- Specified by:
add
in interfacejava.util.Set<java.lang.Class<? extends Connection>>
- Overrides:
add
in classjava.util.AbstractCollection<java.lang.Class<? extends Connection>>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<java.lang.Class<? extends Connection>>
- Specified by:
remove
in interfacejava.util.Set<java.lang.Class<? extends Connection>>
- Overrides:
remove
in classjava.util.AbstractCollection<java.lang.Class<? extends Connection>>
-
iterator
public java.util.Iterator<java.lang.Class<? extends Connection>> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<java.lang.Class<? extends Connection>>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.Class<? extends Connection>>
- Specified by:
iterator
in interfacejava.util.Set<java.lang.Class<? extends Connection>>
- Specified by:
iterator
in classjava.util.AbstractCollection<java.lang.Class<? extends Connection>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<java.lang.Class<? extends Connection>>
- Specified by:
size
in interfacejava.util.Set<java.lang.Class<? extends Connection>>
- Specified by:
size
in classjava.util.AbstractCollection<java.lang.Class<? extends Connection>>
-
test
public boolean test(Connection connection)
- Specified by:
test
in interfacejava.util.function.Predicate<Connection>
-
-