* @param allocateadjacencyiterator
   * @param filterfunction
   * @return Iterator
   */
  public static Iterator allocateTransitiveClosureIterator(Stella_Object startnode, java.lang.reflect.Method allocateadjacencyiterator, java.lang.reflect.Method filterfunction) {
    { TransitiveClosureIterator iterator = TransitiveClosureIterator.newTransitiveClosureIterator();

      iterator.value = startnode;
      iterator.beenThereList = Stella.NIL;
      iterator.allocateAdjacencyIteratorFunction = allocateadjacencyiterator;
      iterator.filterP = filterfunction;
      return (iterator);
    }
  }