@Deprecated public void compact(int[] map,int numValuesAllocated){
  if (true) {
    throw new UnsupportedOperationException();
  }
  ArrayList<ValueNumber> oldList=this.allocatedValueList;
  ArrayList<ValueNumber> newList=new ArrayList<ValueNumber>(Collections.<ValueNumber>nCopies(numValuesAllocated,null));
  for (  ValueNumber value : oldList) {
    int newNumber=map[value.getNumber()];
    if (newNumber >= 0) {
      newList.set(newNumber,value);
    }
  }
  this.allocatedValueList=newList;
}

@ Deprecated public void compact ( int [ ] map , int numValuesAllocated ) { if ( true ) { throw new UnsupportedOperationException ( ) ; } ArrayList < ValueNumber > oldList = this . allocatedValueList ; ArrayList < ValueNumber > newList = new ArrayList < ValueNumber > ( Collections . < ValueNumber > nCopies ( numValuesAllocated , null ) ) ; for ( ValueNumber value : oldList ) { int newNumber = map [ value . getNumber ( ) ] ; if ( newNumber >= 0 ) { newList . set ( newNumber , value ) ; } } this . allocatedValueList = newList ; }
compact the value numbers produced by this factory .
