code: public synchronized void print(java.io.PrintWriter printWriter)
      {
          printWriter.println("State Dump for:" + cclass.getName()
                              + " head=" + head + "(Token)" + " availableHead=" + availableHead + "(Token)" + " tail=" + tail + "(Token)"
                              + "\n size=" + size + "(long)" + " availableSize=" + availableSize + "(long)"
                              + " maximumAvailableSize=" + maximumAvailableSize
                          );
          printWriter.println();
  
          printWriter.println("Links in order...");
          try {
              for (Iterator iterator = entrySet().iterator(); iterator.hasNext();) {
                  Link link = (Link) iterator.next();
                  printWriter.println(link.toString());
              } // for links...
          } catch (ObjectManagerException objectManagerException) {
              // No FFDC Code Needed.
              printWriter.println("Caught objectManagerException=" + objectManagerException);
              objectManagerException.printStackTrace(printWriter);
          } // try...
          printWriter.println();
      }
docs: Print a dump of the state.
  
  @param printWriter to be written to.