bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java
public BitCounterUncompressed makeNested(DataDescriptor subKey, int n, int row, int replicationCountSize) {
    if (subCounters == null)
      subCounters = new HashMap<DataDescriptor, BitCounterUncompressed[]>(5); // assumes DataDescriptor.equals is ==

    BitCounterUncompressed[] subCounter = subCounters.get(subKey);
    if (subCounter == null) {
      subCounter = new BitCounterUncompressed[nrows]; // one for each row in this table
      subCounters.put(subKey, subCounter);
    }

    BitCounterUncompressed rc = new BitCounterUncompressed(subKey, n, replicationCountSize);
    subCounter[row] = rc;

    return rc;
  }
public BitCounterUncompressed makeNested(DataDescriptor subKey, int n, int row, int replicationCountSize) {
    if (subCounters == null)
      subCounters = new HashMap<DataDescriptor, BitCounterUncompressed[]>(5); // assumes DataDescriptor.equals is ==

    BitCounterUncompressed[] subCounter = subCounters.get(subKey);
    if (subCounter == null) {
      subCounter = new BitCounterUncompressed[nrows]; // one for each row in this table
      subCounters.put(subKey, subCounter);
    }

    BitCounterUncompressed rc = new BitCounterUncompressed(subKey, n, replicationCountSize);
    subCounter[row] = rc;

    return rc;
  }
public BitCounterUncompressed makeNested ( DataDescriptor subKey , int n , int row , int replicationCountSize ) { if ( subCounters == null ) subCounters = new HashMap < DataDescriptor , BitCounterUncompressed [ ] > ( 5 ) ; // assumes DataDescriptor.equals is ==
 BitCounterUncompressed [ ] subCounter = subCounters . get ( subKey ) ; if ( subCounter == null ) { subCounter = new BitCounterUncompressed [ nrows ] ; // one for each row in this table
 subCounters . put ( subKey , subCounter ) ; } BitCounterUncompressed rc = new BitCounterUncompressed ( subKey , n , replicationCountSize ) ; subCounter [ row ] = rc ; return rc ; }
Track nested Tables.
@param subKey  subKey is a structure or a sequence - so itself has subKeys
@param n numbers of rows in the nested table
@param row which row in the parent Table this belongs to
@param replicationCountSize number of bits taken up by the count (non-zero for sequences)
@return  nested ReplicationCounter
Track nested Tables .