wood burning stoves*
The moose likes Cattle Drive and the fly likes help understanding directory info in java docs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "help understanding directory info in java docs" Watch "help understanding directory info in java docs" New topic
Author

help understanding directory info in java docs

Daniel Loranz
Ranch Hand

Joined: Jun 17, 2008
Posts: 41
When I look at the doc for something like Integer, at the top of the page I see ...

java.lang.Object
+--java.lang.Number
+--java.lang.Integer

What is the "+--" telling me?

Also I think the three statements are telling me that Integer extends Number which extends Object - is that correct?

Alternatively, the doc for HashMap shows ...

java.lang.Object
java.util.AbstractMap
java.util.HashMap

with the little angle doo-hickey in front of lines 2 and 3. What's the little angle doo-hickey telling me?

Thanks!
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9048
    
  10


What is the "+--" telling me?

Also I think the three statements are telling me that Integer extends Number which extends Object - is that correct?


Yes. That is correct.

Alternatively, the doc for HashMap shows ...



What's the little angle doo-hickey telling me?

Same idea ... that HashMap extends AbstractMap and that AbstractMap extends Object.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Daniel Loranz
Ranch Hand

Joined: Jun 17, 2008
Posts: 41
any significance between the "+--" symbol vs the the little L bracket?

Thanks.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9048
    
  10
The javadoc for both classes looks the same to me ... I'm not sure why you're seeing pluses for one and something else for the other.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help understanding directory info in java docs