void clear(){
  Arrays.fill(spine,-1);
  Arrays.fill(objs,0,size,null);
  size=0;
}

void clear ( ) { Arrays . fill ( spine , - 1 ) ; Arrays . fill ( objs , 0 , size , null ) ; size = 0 ; }
resets table to its initial ( empty ) state .
