public static bool equals(long self, object obj) { if (obj is Long) return self == (obj as Long).longValue(); else return false; }