代码中数据结构是这样的

class Node {
    // 存储下一个节点
    Node next;
    String mes;
    public Node(String mes) {
        this.mes = mes;
    }
}

插入