|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.util.MethodsToConvertDataStructures
public class MethodsToConvertDataStructures
Title:
Description: This class has various methods to convert between classes or data types in Java.
Copyright: Copyright (c) 2004
Company:
Constructor Summary | |
---|---|
MethodsToConvertDataStructures()
|
Method Summary | |
---|---|
static java.util.TreeSet |
getSetUnion(java.util.HashSet hashSet)
This method build the unions set of all TreeSets that are at a given HashSet. |
static java.util.HashMap |
toHashMap(java.util.Iterator i)
Converts an Iterator to a HashMap. |
static java.util.Hashtable |
toHashtable(java.util.Iterator i)
Converts an Iterator to a Hashtable. |
static java.util.TreeSet |
toTreeSet(java.util.Iterator iterator)
Converts an Iterator to a TreeSet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodsToConvertDataStructures()
Method Detail |
---|
public static java.util.TreeSet toTreeSet(java.util.Iterator iterator)
iterator
- to be converted
public static java.util.Hashtable toHashtable(java.util.Iterator i) throws java.lang.NullPointerException
i
- iterator to convert.
java.lang.NullPointerException
- if i equals null.public static java.util.HashMap toHashMap(java.util.Iterator i) throws java.lang.NullPointerException
i
- iterator to convert.
java.lang.NullPointerException
- if i equals null.public static java.util.TreeSet getSetUnion(java.util.HashSet hashSet)
hashSet
- HashSet that contains TreeSets.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |