Package org.kohsuke.github
Class GHPersonSet<T extends GHPerson>
- 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>
public class GHPersonSet<T extends GHPerson> extends HashSet<T>
Set ofGHPersonwith helper lookup methods.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GHPersonSet()Instantiates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TbyLogin(String login)Finds the item by its login.-
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, 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
-
-
-
-
Constructor Detail
-
GHPersonSet
public GHPersonSet()
Instantiates a new Gh person set.
-
GHPersonSet
public GHPersonSet(Collection<? extends T> c)
Instantiates a new Gh person set.- Parameters:
c- the c
-
GHPersonSet
public GHPersonSet(T... c)
Instantiates a new Gh person set.- Parameters:
c- the c
-
GHPersonSet
public GHPersonSet(int initialCapacity, float loadFactor)Instantiates a new Gh person set.- Parameters:
initialCapacity- the initial capacityloadFactor- the load factor
-
GHPersonSet
public GHPersonSet(int initialCapacity)
Instantiates a new Gh person set.- Parameters:
initialCapacity- the initial capacity
-
-