public abstract class Tools extends Object
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static boolean |
iteratorsContentEqual(Iterator iter1,
Iterator iter2) |
static <T> List<T> |
iteratorToList(Iterator<T> iter) |
static <T> List<Pair<Integer,T>> |
listToIndexElementPairList(List<T> list)
Transforms a list of arbitrary elements to a list of index-element pairs.
|
static <K,V> Map<K,V> |
newHashMap() |
static <E> Set<E> |
newHashSet() |
static <K,V> Map<K,V> |
newLinkedHashMap() |
static boolean |
objectsEqual(Object obj1,
Object obj2) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.