public final boolean parentOf(ThreadGroup g) { return (this == g) || parentOf(g.getParent());
public final boolean parentOf(ThreadGroup group) { while (group != null) { if (group == this) return true; group = group.parent; } return false;
	public final boolean parentOf(ThreadGroup g) {		return (this == g) || parentOf(g.getParent());	}