So I started working on a project today and I needed to code up a directed graph in java. Everything is going great for like the first hour, I had all of the underlying structure done (the linked list based adjacency list) and I start building the methods for inserting data and sunddenly eclipse gives me a little wavy red line under one of my assignments. I look at the error message and it says:
Quote:
|
Type Mismatch: cannot convert from DirectedGraph<V,E>.Vertex<V> to DirectedGraph<V,E>.Vertex<V>
|
So far I've had no luck at figuring out the underlying error in my design and that message is of very little help. Java is pretty much telling me that it wants something of type vertex... but it can't be of type vertex.
What are some of the completely pointless and unhelpful error messages you guys have seen.. I'm sure those of you who have C++ experience have some.
|