static A applyUntilSameOrNull(IF1 f, A o) { while (o != null) { ping(); A o2 = f.get(o); if (o == o2) break; o = o2; } ret o; }