public final class CollectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
bugSetToIdStringSet(Set<Integer> intSet) |
static List<Candidate> |
createCandidateList(Map<String,org.jboss.pull.shared.connectors.bugzilla.Bug> bugs,
Map<String,SortedSet<org.jboss.pull.shared.connectors.bugzilla.Comment>> comments) |
static <K,V> SortedSet<V> |
getEntryOrEmptySet(K key,
Map<K,SortedSet<V>> map) |
static Map<Integer,List<Violation>> |
indexedViolationsByBugId(Collection<Violation> violations) |
static Map<String,Violation> |
indexViolationByCheckname(Collection<Violation> violations) |
static <T> Object[] |
objectsToArray(T... objects) |
public static <K,V> SortedSet<V> getEntryOrEmptySet(K key, Map<K,SortedSet<V>> map)
@SafeVarargs public static <T> Object[] objectsToArray(T... objects)
public static List<Candidate> createCandidateList(Map<String,org.jboss.pull.shared.connectors.bugzilla.Bug> bugs, Map<String,SortedSet<org.jboss.pull.shared.connectors.bugzilla.Comment>> comments)
public static Map<Integer,List<Violation>> indexedViolationsByBugId(Collection<Violation> violations)
public static Map<String,Violation> indexViolationByCheckname(Collection<Violation> violations)
Copyright © 2015 JBoss by Red Hat. All rights reserved.