@Override
	public List<Edge<N>> edgesTo(N... toList) {
		LinkedList<Edge<N>> list = new LinkedList<Edge<N>>();
		if(toList.length == 1) {
			N to = toList[0];
			if(containsNode(to)) {
				for(N node : getNodes()) {
					if(!node.equals(to)) {
						List<Edge<N>> edgesFrom = edgesFrom(node);
						for(Edge<N> edge : edgesFrom) {
							if(edge.to.equals(to)) {
								list.add(edge);
							}
						}
					}
				}
			}
		} else if(toList.length > 1) {
			for(int i = 0; i < toList.length; i++) {
				list.addAll(edgesTo(toList[i]));
			}
		}
		return list;
	}