cdm/src/main/java/ucar/nc2/util/cache/FileCacheARC.java
public void showTracking(Formatter format) {
    if (track == null) return;
    List<Tracker> all = new ArrayList<>(track.size());
    for (Tracker val : track.values()) all.add(val);
    Collections.sort(all);       // LOOK what should we sort by ??
    int count = 0;
    int countAll = 0;
    format.format("%nTrack of all files in FileCacheARC%n");
    format.format("   seq  accum   hit   miss  file%n");
    for (Tracker t : all) {
      count++;
      countAll += t.hit + t.miss;
      format.format("%6d  %6d : %5d %5d %s%n", count, countAll, t.hit, t.miss, t.key);
    }
    format.format("%n");
  }
public void showTracking(Formatter format) {
    if (track == null) return;
    List<Tracker> all = new ArrayList<>(track.size());
    for (Tracker val : track.values()) all.add(val);
    Collections.sort(all);       // LOOK what should we sort by ??
    int count = 0;
    int countAll = 0;
    format.format("%nTrack of all files in FileCacheARC%n");
    format.format("   seq  accum   hit   miss  file%n");
    for (Tracker t : all) {
      count++;
      countAll += t.hit + t.miss;
      format.format("%6d  %6d : %5d %5d %s%n", count, countAll, t.hit, t.miss, t.key);
    }
    format.format("%n");
  }
public void showTracking ( Formatter format ) { if ( track == null ) return ; List < Tracker > all = new ArrayList <> ( track . size ( ) ) ; for ( Tracker val : track . values ( ) ) all . ( val ) ; Collections . sort ( all ) ; // LOOK what should we sort by ?? int count = 0 ; int countAll = 0 ; format . format ( "%nTrack of all files in FileCacheARC%n" ) ; format . format ( "   seq  accum   hit   miss  file%n" ) ; for ( Tracker t : all ) { count ++ ; countAll += t . hit + t . miss ; format . format ( "%6d  %6d : %5d %5d %s%n" , count , countAll , t . hit , t . miss , t . key ) ; } format . format ( "%n" ) ; }
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////