code: public java.util.Map captureStatistics()
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this, cclass,
                          "captureStatistics");
  
          // Consolidate statistics from the subLists.
          // The number of links in the deepest subList.
          long maximumAvailableSizeOfAnySublist = 0;
          for (int i = 0; i < subLists.length; i++) {
              maximumAvailableSizeOfAnySublist = Math.max(maximumAvailableSizeOfAnySublist,
                                                          subLists[i].maximumAvailableSize);
          } // for subLists.
  
          java.util.Map statistics = new java.util.HashMap();
          statistics.put("removeFirstPredictedSubListRemoveCount",
                         Long.toString(removeFirstPredictedSubListCount));
          statistics.put("removeFirstFullSearchCount",
                         Long.toString(removeFirstFullSearchCount));
          statistics.put("maximumAvailableSizeOfAnySublist",
                         Long.toString(maximumAvailableSizeOfAnySublist));
          statistics.put("removeContendedCount",
                         Long.toString(removeContendedCount));
          statistics.put("removeUncontendedCount",
                         Long.toString(removeUncontendedCount));
  
          removeFirstPredictedSubListCount = 0;
          removeFirstFullSearchCount = 0;
          removeUncontendedCount = 0;
          removeContendedCount = 0;
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this, cclass,
                         "captureStatistics",
                         "returns statistics=" + statistics + "(java.util.Map)");
          return statistics;
      }
docs: /*
  Builds a set of properties containing the current statistics. @return
  java.util.Map the statistics.