class TestEnorll(): def get_data(self): """ 读取json文件 :return: """ data = [] with open(self, 'r') as f: dict_data = json.loads(f.read()) for i in dict_data: data.append(tuple(i.values())) return data @pytest.mark.parametrize(
在这里我们介绍一下最简单的链表LinkedList: 看一下add()方法: public boolean add(E e) { linkLast(e); return true; } void linkLast(E e) { final Node<E> l = last; final Node<E> newNode = new Node<>(l, e, null); last = newNode; if (l == null) first = newNode; els