java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<T>
org.kohsuke.github.GHPersonSet<T>
- Type Parameters:
T- the type parameter
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<T>,Collection<T>,Set<T>
Set of
GHPerson with helper lookup methods.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Gh person set.GHPersonSet(int initialCapacity) Instantiates a new Gh person set.GHPersonSet(int initialCapacity, float loadFactor) Instantiates a new Gh person set.GHPersonSet(Collection<? extends T> c) Instantiates a new Gh person set.GHPersonSet(T... c) Instantiates a new Gh person set. -
Method Summary
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliteratorMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
GHPersonSet
public GHPersonSet()Instantiates a new Gh person set. -
GHPersonSet
Instantiates a new Gh person set.- Parameters:
c- the c
-
GHPersonSet
Instantiates a new Gh person set.- Parameters:
c- the c
-
GHPersonSet
public GHPersonSet(int initialCapacity) Instantiates a new Gh person set.- Parameters:
initialCapacity- the initial capacity
-
GHPersonSet
public GHPersonSet(int initialCapacity, float loadFactor) Instantiates a new Gh person set.- Parameters:
initialCapacity- the initial capacityloadFactor- the load factor
-
-
Method Details
-
byLogin
Finds the item by its login.- Parameters:
login- the login- Returns:
- the t
-