@Jasper
Actually I do.
There is one more problem for me that I noticed. Here is description:
When I read oracle tutorial about File I/O, they say that
java.nio.file.Path interface is
entry point for
java.nio.file package. After that, i go in API documentation to see description for that interface. In description they don't say how can you get objects on which you can use methods of that interface.
See it, in tutorial they say that you have to create those objects from Paths class, but in API doc. they don't mention that at all.
So what I have to do? To read description for all classes in package java.nio.file just to get idea which class should I use, to get those objects, on which I can use methods from Path interface? Is there an easier way to do that?
Why is something called
entry point if I have to visit something else before, to get to that entry point?
Let me clear this little bit more:
If i first go in API doc. to interface Path, nothing in that description suggests that I should use class Paths to create necessary objects.
But if I first go in API doc. to class Paths, I can figure out from method get(...) that i should go next to the Path interface.
How can i figure out, what is first place that i have to visit in API doc, when I start to study some package, to get idea where to go to the next place?