简体中文
Telegram

讨论串 消息 #1216

2 条消息 · –
  1. K
    static boolean isOld(String boxVersion) { try { for (String i: boxVersion.split(" ")) { Integer.parseInt(i); } return false; } catch (NumberFormatException e) { return true; } } public static List<String> sortBoxes(List<String> boxes) { List<String> newer = new ArrayList<>(); List<String> older = new ArrayList<>(); for (String i: boxes) { if (isOld(i.split(" ", 2)[1])) { older.add(i); } else { newer.add(i); } } older.sort((a, b) -> { String[] p1 = a.split(" ", 2); String[] p2 = b.split(" ", 2); int c = p1[1].compareTo(p2[1]); if (c == 0) { return p1[0].compareTo(p2[0]); } else { return c; } }); older.addAll(newer); return older; }

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法