Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is Advantage of Staic Import feature of Java Tiger?

 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm found Static Import , it's new feature of Java Tiger.

This facility lets you avoid qualifying static members with class names without the shortcomings of the "Constant Interface antipattern." Refer to JSR 201.


What is advantage of this feature ?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi somkiat,
Pradeep, Peter(the author) and me also got a nice conversation in this thread, where you can read the Peter's opinion on static import feature of Tiger...

Hope it helps too...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic