- java.lang.Object
-
- com.ibm.jvm.j9.dump.indexsupport.NodeAbstract
-
- All Implemented Interfaces:
IParserNode
- Direct Known Subclasses:
NodeArrayClass
,NodeBuffers
,NodeByteCode
,NodeClassInClassLoader
,NodeClassInConstantPool
,NodeClassInVM
,NodeClassLoader
,NodeConstantPool
,NodeError
,NodeField
,NodeFrame
,NodeGPF
,NodeHeader
,NodeHeap
,NodeInterface
,NodeIP
,NodeJ9Dump
,NodeJavaVM
,NodeJavaVMInitArgs
,NodeJavaVMOption
,NodeJIT
,NodeLibrary
,NodeMethod
,NodeMonitor
,NodeNet
,NodeObject
,NodeObjects
,NodeProperty
,NodeRegion
,NodeRoot
,NodeStack
,NodeStatic
,NodeSystemProperties
,NodeTrace
,NodeUnexpectedTag
,NodeVMThread
public abstract class NodeAbstract extends Object implements IParserNode
-
-
Constructor Summary
Constructors Constructor Description NodeAbstract()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
_longByResolvingRawKey(String rawText, String key)
Looks up the given key in rawText and finds the long that corresponds to it.static long
_longFromString(String value)
Helper method for parsing strings into numbers.static long
_longFromString(String value, long defaultValue)
Helper method for parsing strings into numbers.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.jvm.j9.dump.indexsupport.IParserNode
didFinishParsing, nodeToPushAfterStarting, stringWasParsed
-
-
-
-
Method Detail
-
_longFromString
public static long _longFromString(String value, long defaultValue)
Helper method for parsing strings into numbers. Strips the 0x from strings, if they exist. Also handles the case of 16 character numbers which would be greater than MAX_LONG- Parameters:
value
- The string representing the numberdefaultValue
- The value which will be returned if value is null- Returns:
- defaultValue if the value is null or the long value of the given string
-
_longFromString
public static long _longFromString(String value)
Helper method for parsing strings into numbers. Strips the 0x from strings, if they exist. Also handles the case of 16 character numbers which would be greater than MAX_LONG- Parameters:
value
- The string representing the number- Returns:
- 0 if the value is null or the long value of the given string
-
-