试图转换这部分代码以摆脱lambda表达式,以便它能够在java 7中工作
System.out.println(nicksGraph.findPath(nicksGraph.nodeWith(new Coordinate(0,0)), (a->a.getX()==3 && a.getY()==1), new PriorityQueue<Node<Coordinate>, Integer>(funcTotal)));
Run Code Online (Sandbox Code Playgroud)
我环顾四周,但也许我只是没有正确理解它.