public synchronized void print(java.io.PrintWriter printWriter)
    {
        try {
            printWriter.println("State Dump for:" + cclass.getName()
                                + "\n size()=" + size() + "(long)" + " size(null)=" + size(null) + "(long)");
            printWriter.println();

            printWriter.println("Tokens in order...");
            try {
                for (Iterator iterator = iterator();; printWriter.println(((Token) iterator.next(null)).toString()));
            } catch (java.util.NoSuchElementException exception) {
                // No FFDC code needed.
                // We have run off the end of the other collection.
            } // try.

        } catch (ObjectManagerException objectManagerException) {
            // No FFDC code needed.
            printWriter.println("Caught objectManagerException=" + objectManagerException);
            objectManagerException.printStackTrace(printWriter);
        } // try...

        printWriter.println();
    }
public synchronized void print ( java . io . PrintWriter printWriter ) { try { printWriter . println ( "State Dump for:" + cclass . getName ( ) + "\n size()=" + size ( ) + "(long)" + " size(null)=" + size ( null ) + "(long)" ) ; printWriter . println ( ) ; printWriter . println ( "Tokens in order..." ) ; try { for ( Iterator iterator = iterator ( ) ; ; printWriter . println ( ( ( Token ) iterator . next ( null ) ) . toString ( ) ) ) ; } catch ( java . util . NoSuchElementException exception ) { } } catch ( ObjectManagerException objectManagerException ) { printWriter . println ( "Caught objectManagerException=" + objectManagerException ) ; objectManagerException . printStackTrace ( printWriter ) ; } printWriter . println ( ) ; }
/*
(non-Javadoc)

@see com.ibm.ws.objectManager.Collection#print(java.io.PrintWriter)