• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wurstscript / WurstScript / 221

22 Nov 2023 03:20PM CUT coverage: 62.578% (-0.02%) from 62.602%
221

Pull #1081

circleci

Frotty
update wc3libs
Pull Request #1081: More performance improvements

17311 of 27663 relevant lines covered (62.58%)

0.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
de.peeeq.wurstscript/src/main/java/de/peeeq/datastructures/Graph.java
1
package de.peeeq.datastructures;
2

3
import java.util.List;
4
import java.util.function.Function;
5

6
/**
7
 *
8
 */
9
public class Graph<Node> {
10
    private final List<Node> nodes;
11
    private final Function<Node, List<Node>> edges;
12

13
    public Graph(List<Node> nodes, Function<Node, List<Node>> edges) {
×
14
        this.nodes = nodes;
×
15
        this.edges = edges;
×
16
    }
×
17

18
    public List<Node> getNodes() {
19
        return nodes;
×
20
    }
21

22
    public List<Node> adjacentNodes(Node n) {
23
        return edges.apply(n);
×
24
    }
25

26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc