All pastes #282448 Raw Edit

daat99

public java v1 · immutable
#282448 ·published 2006-12-17 16:24 UTC
rendered paste body
	public String print( BinaryNode node )	{		if ( node == null )			return "";		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;	}