org.kohsuke.github
Class GHPersonSet<T extends GHPerson>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<T>
              extended by org.kohsuke.github.GHPersonSet<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>

public final class GHPersonSet<T extends GHPerson>
extends HashSet<T>

Set of GHPerson with helper lookup methods.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
GHPersonSet()
           
GHPersonSet(Collection<? extends T> c)
           
GHPersonSet(int initialCapacity)
           
GHPersonSet(int initialCapacity, float loadFactor)
           
 
Method Summary
 T byLogin(String login)
          Finds the item by its login.
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
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.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

GHPersonSet

public GHPersonSet()

GHPersonSet

public GHPersonSet(Collection<? extends T> c)

GHPersonSet

public GHPersonSet(int initialCapacity,
                   float loadFactor)

GHPersonSet

public GHPersonSet(int initialCapacity)
Method Detail

byLogin

public T byLogin(String login)
Finds the item by its login.



Copyright © 2012. All Rights Reserved.