All pastes #282451 Raw Edit

daat99

public java v1 · immutable
#282451 ·published 2006-12-17 16:24 UTC
rendered paste body
	public String print( BinaryNode node )	{		if ( node == null )			return "node is null\n";		String s;		if ( node.getLeft() == null )			s = "left is null\n"		else			s = "left: "+node.getLeft().getData()+"\n";		s += "this: "+node.getData()+"\n";		if ( node.getRight() == null )			s += "right is null\n"		else			s += "right: "+node.getRight().getData()+"\n";		return s;	}