The Artima Developer Community
Sponsored Link

Java Buzz Forum
New features in Pnuts 1.1

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Toyokazu Tomatsu

Posts: 66
Nickname: tomatsu
Registered: Jul, 2003

Toyokazu Tomatsu is a developer of Pnuts.
New features in Pnuts 1.1 Posted: May 17, 2004 7:11 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Toyokazu Tomatsu.
Original Post: New features in Pnuts 1.1
Feed Title: Pnuts Addict
Feed URL: http://pnuts.org/~tomatsu/jroller-rss.xml
Feed Description: Toyokazu Tomatsu's Weblog
Latest Java Buzz Posts
Latest Java Buzz Posts by Toyokazu Tomatsu
Latest Posts From Pnuts Addict

Advertisement

Pnuts 1.1 allows you to use more Java'ish notation than 1.0. Those are already implemented in 1.1beta(20040514).

Full description on the changes can be found here.

  • (1) import statement
        import java.util.*
    
  • (2) 'new' keyword
        new java.lang.Object()
        new int[10]
        x = new Object(){
            test(){
              "hogehoge" + super.toString()
            }
        }
        x.test()
    
  • (3) Class literal is used in cast, instanceof, and new expression, instead of a Class object.
        (java.util.List)obj
        obj instanceof java.util.List
        new java.util.ArrayList()
    
  • (4) Static method call
         System.gc()
    

Read: New features in Pnuts 1.1

Topic: Ongoing work: presentations, wikis and undertime Previous Topic   Next Topic Topic: AOP Kata: Reusable Aspects

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use