public Tuple[] clearInternal(){
  Tuple[] t=new Tuple[getTupleCount()];
  Iterator iter=tuples();
  for (int i=0; iter.hasNext(); ++i) {
    t[i]=(Tuple)iter.next();
  }
  m_tuples.clear();
  return t;
}

public Tuple [ ] clearInternal ( ) { Tuple [ ] t = new Tuple [ getTupleCount ( ) ] ; Iterator iter = tuples ( ) ; for ( int i = 0 ; iter . hasNext ( ) ; ++ i ) { t [ i ] = ( Tuple ) iter . next ( ) ; } m_tuples . clear ( ) ; return t ; }
clear the internal state without firing a notification .
