Class OraTst


  • public class OraTst
    extends java.lang.Object
    This 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.NumberFormat getNumberformat()  
      static void print​(java.lang.String msg)
      Prints the message.
      static void print​(JGeometry geom)  
      static void print​(Link link)
      Prints the link.
      static void print​(Link[] linkArray)
      Prints the link array.
      static void print​(Link[] linkArray, boolean verbose)
      Prints the link array with detailed information.
      static void print​(Link link, boolean verbose)
      Prints the link with detailed information.
      static void print​(MBR mbr)
      Prints the MBR.
      static void print​(Network network)
      Prints the network.
      static void print​(Network[] networkArray)
      Prints the network array.
      static void print​(oracle.spatial.network.NetworkCache cache)
      Prints the network cache.
      static void print​(NetworkMetadata metadata)
      Prints the network metadata.
      static void print​(NetworkMetadata[] metadataArray)
      Prints the network metadata array.
      static void print​(Network network, boolean verbose)
      Prints the network with detailed information.
      static void print​(Node node)
      Prints the node.
      static void print​(Node[] nodeArray)
      Prints the node array.
      static void print​(Node[] nodeArray, boolean verbose)
      Prints the node array with detailed information.
      static void print​(Node node, boolean verbose)
      Prints the node with detailed information.
      static void print​(Path path)
      Prints the path.
      static void print​(Path[] pathArray)
      Prints the path array.
      static void print​(Path path, boolean printPathId)
      Prints the path.
      static void print​(SubPath subPath)  
      static void print​(SubPath[] pathArray)  
      static void print​(SubPath subPath, int subPathID)  
      static void print​(Tree tree)  
      static void print​(TreeLink treeLink)  
      static void print​(TreeNode treeNode)  
      static void print​(TreeNode[] treeNodeArray)  
      static void printUserData​(java.lang.Object element)  
      static void printVerbose​(Node node)  
      static void setNumberFormat​(java.lang.String format)  
      static java.lang.Object[] sortByID​(java.lang.Object[] objArray)
      Sorts the network elements by IDs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OraTst

        public OraTst()
    • 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 printed
        verbose - 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 printed
        verbose - 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 printed
        verbose - 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 printed
        verbose - 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 printed
        verbose - 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)