|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.graphics.heprep.util.HepRepUtil
Field Summary | |
static String |
cvsId
|
static Iterator |
empty
|
static Collection |
emptyCollection
|
static List |
emptyList
|
static Set |
emptySet
|
Method Summary | |
static void |
copyAttributes(HepRepAttribute src,
HepRepAttribute dst)
copy all attributes (defs and values) from node src to node dst |
static boolean |
debug()
Print statements in equal methods |
static long |
decodeHex(String s)
Decodes a non-negative Hex number into a long |
static double |
decodeNumber(String s)
Decodes a String into a Double. |
static long |
decodeSpecial(String s)
Decodes a non-negative Special number into a long |
static String |
encodeSpecial(long d)
|
static HepRepIterator |
getInstances(HepRepInstanceTree instanceTree,
List layers)
Returns an iterator which walks the full list of instances within a HepRepInstanceTree |
static HepRepType |
getType(Set types,
String name)
Look for hierarchical type name in set of types, checking its subtypes. |
static Iterator |
iterator(Iterator first,
Iterator second)
iterates two iterations in order |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String cvsId
public static final Iterator empty
public static final Collection emptyCollection
public static final List emptyList
public static final Set emptySet
Method Detail |
public static boolean debug()
public static double decodeNumber(String s)
0ds: where number is the DoubleToLongBits encoding in special format 0d0x : where number is the DoubleToLongBits encoding in hex 0d# : where number is the DoubleToLongBits encoding in hex 0d : where number is the DoubleToLongBits encoding in decimal 0x : where number is the Hex encoding of a Long : where number contains (.Ee) and is parsed into a Double : where number contains no (.Ee) and is parsed into a Long
public static long decodeHex(String s) throws NumberFormatException
NumberFormatException
public static long decodeSpecial(String s) throws NumberFormatException
NumberFormatException
public static String encodeSpecial(long d)
public static void main(String[] args)
public static void copyAttributes(HepRepAttribute src, HepRepAttribute dst) throws CloneNotSupportedException
CloneNotSupportedException
public static HepRepType getType(Set types, String name)
public static HepRepIterator getInstances(HepRepInstanceTree instanceTree, List layers)
instanceTree
- HepRepInstanceTree to be iterated overlayers
- list of layers to iteratate over or null.public static Iterator iterator(Iterator first, Iterator second)
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |