static long toLong(O o) { if (o instanceof Number) ret ((Number) o).longValue(); if (o instanceof S) ret parseLong((S) o); ret 0; }