~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to ide/projectimport/bluej/src/org/netbeans/bluej/resources/templates/newclass/abstract.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package Templates.Bluej;
 
2
/**
 
3
 * Abstract class __NAME__ - write a description of the class here
 
4
 * 
 
5
 * @author __USER__
 
6
 * @version (version number or date here)
 
7
 */
 
8
public abstract class $CLASSNAME {
 
9
        // instance variables - replace the example below with your own
 
10
        private int x;
 
11
 
 
12
        /**
 
13
         * An example of a method - replace this comment with your own
 
14
         * 
 
15
         * @param  y    a sample parameter for a method
 
16
         * @return              the sum of x and y 
 
17
         */
 
18
        public int sampleMethod(int y) {
 
19
                // put your code here
 
20
                return x + y;
 
21
        }
 
22
}