@Override
  public void reduceToSegmentKeys() {
    if (segmentRegistration != null && size > 0) {
      int sizeCopy = size;
      String[] keyListCopy = keyList.clone();
      T1[][] fullValueListCopy = fullValueList.clone();
      size = 0;
      for (int i = 0; i < sizeCopy; i++) {
        if (segmentKeys.contains(keyListCopy[i])) {
          keyList[size] = keyListCopy[i];
          fullValueList[size] = fullValueListCopy[i];
          size++;
        }
      }
    }
  }
@ Override public void reduceToSegmentKeys ( ) { if ( segmentRegistration != null && size > 0 ) { int sizeCopy = size ; String [ ] keyListCopy = keyList . clone ( ) ; T1 [ ] [ ] fullValueListCopy = fullValueList . clone ( ) ; size = 0 ; for ( int i = 0 ; i < sizeCopy ; i ++ ) { if ( segmentKeys . contains ( keyListCopy [ i ] ) ) { keyList [ size ] = keyListCopy [ i ] ; fullValueList [ size ] = fullValueListCopy [ i ] ; size ++ ; } } } }
/*
(non-Javadoc)

@see mtas.codec.util.collector.MtasDataCollector#reduceToSegmentKeys()