Package oracle.spatial.network
Class OraTst
- java.lang.Object
-
- oracle.spatial.network.OraTst
-
public class OraTst extends java.lang.ObjectThis class defines print methods for the network elements in Network Data Model. This is for debugging purpose.
-
-
Constructor Summary
Constructors Constructor Description OraTst()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.text.NumberFormatgetNumberformat()static voidprint(java.lang.String msg)Prints the message.static voidprint(JGeometry geom)static voidprint(Link link)Prints the link.static voidprint(Link[] linkArray)Prints the link array.static voidprint(Link[] linkArray, boolean verbose)Prints the link array with detailed information.static voidprint(Link link, boolean verbose)Prints the link with detailed information.static voidprint(MBR mbr)Prints the MBR.static voidprint(Network network)Prints the network.static voidprint(Network[] networkArray)Prints the network array.static voidprint(oracle.spatial.network.NetworkCache cache)Prints the network cache.static voidprint(NetworkMetadata metadata)Prints the network metadata.static voidprint(NetworkMetadata[] metadataArray)Prints the network metadata array.static voidprint(Network network, boolean verbose)Prints the network with detailed information.static voidprint(Node node)Prints the node.static voidprint(Node[] nodeArray)Prints the node array.static voidprint(Node[] nodeArray, boolean verbose)Prints the node array with detailed information.static voidprint(Node node, boolean verbose)Prints the node with detailed information.static voidprint(Path path)Prints the path.static voidprint(Path[] pathArray)Prints the path array.static voidprint(Path path, boolean printPathId)Prints the path.static voidprint(SubPath subPath)static voidprint(SubPath[] pathArray)static voidprint(SubPath subPath, int subPathID)static voidprint(Tree tree)static voidprint(TreeLink treeLink)static voidprint(TreeNode treeNode)static voidprint(TreeNode[] treeNodeArray)static voidprintUserData(java.lang.Object element)static voidprintVerbose(Node node)static voidsetNumberFormat(java.lang.String format)static java.lang.Object[]sortByID(java.lang.Object[] objArray)Sorts the network elements by IDs.
-
-
-
Method Detail
-
setNumberFormat
public static void setNumberFormat(java.lang.String format)
-
getNumberformat
public static java.text.NumberFormat getNumberformat()
-
print
public static void print(java.lang.String msg)
Prints the message.- Parameters:
msg- the message to be printed
-
print
public static void print(MBR mbr)
Prints the MBR.- Parameters:
mbr- the MBR to be printed
-
print
public static void print(Node node)
Prints the node.- Parameters:
node- the node to be printed
-
print
public static void print(Node node, boolean verbose)
Prints the node with detailed information.- Parameters:
node- the node to be printedverbose- set to true for detailed information
-
printVerbose
public static void printVerbose(Node node)
-
print
public static void print(Node[] nodeArray)
Prints the node array.- Parameters:
nodeArray- the node array to be printed
-
print
public static void print(Node[] nodeArray, boolean verbose)
Prints the node array with detailed information.- Parameters:
nodeArray- the nnode array to be printedverbose- set to true for detailed information
-
print
public static void print(Link link)
Prints the link.- Parameters:
link- link to be printed
-
print
public static void print(Link link, boolean verbose)
Prints the link with detailed information.- Parameters:
link- link to be printedverbose- set to true for deltailed information
-
print
public static void print(Link[] linkArray)
Prints the link array.- Parameters:
linkArray- link array to be printed
-
print
public static void print(Link[] linkArray, boolean verbose)
Prints the link array with detailed information.- Parameters:
linkArray- link array to be printedverbose- set to true for deltailed information
-
print
public static void print(Path path)
Prints the path.- Parameters:
path- the path to be printed
-
print
public static void print(Path path, boolean printPathId)
Prints the path.- Parameters:
path- the path to be printed
-
print
public static void print(SubPath subPath, int subPathID)
-
print
public static void print(SubPath subPath)
-
print
public static void print(Tree tree)
-
print
public static void print(TreeNode treeNode)
-
print
public static void print(TreeLink treeLink)
-
print
public static void print(TreeNode[] treeNodeArray)
-
print
public static void print(SubPath[] pathArray)
-
print
public static void print(oracle.spatial.network.NetworkCache cache)
Prints the network cache.- Parameters:
cache- network cache to be printed
-
print
public static void print(Path[] pathArray)
Prints the path array.- Parameters:
pathArray- the path array to be printed
-
print
public static void print(NetworkMetadata metadata)
Prints the network metadata.- Parameters:
metadata- the network metadata to be printed
-
print
public static void print(NetworkMetadata[] metadataArray)
Prints the network metadata array.- Parameters:
metadataArray- the metadata array to be printed
-
print
public static void print(Network network)
Prints the network.- Parameters:
network- the network to be printed
-
print
public static void print(Network network, boolean verbose)
Prints the network with detailed information.- Parameters:
network- the network to be printedverbose- set to true for detailed information
-
print
public static void print(Network[] networkArray)
Prints the network array.- Parameters:
networkArray- the network array to be printed
-
sortByID
public static java.lang.Object[] sortByID(java.lang.Object[] objArray)
Sorts the network elements by IDs.- Parameters:
objArray- network elements in an Object array
-
print
public static void print(JGeometry geom)
-
printUserData
public static void printUserData(java.lang.Object element)
-
-