• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help understanding directory info in java docs

 
Daniel Loranz
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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.
 
Daniel Loranz
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any significance between the "+--" symbol vs the the little L bracket?

Thanks.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic