File: Base.java

package info (click to toggle)
ruby-rjb 1.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 704 kB
  • sloc: ansic: 3,859; ruby: 2,604; java: 247; makefile: 35; sh: 3
file content (25 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// $Id$
// this test class was taken from Mr. Micael Weller's bug report
package jp.co.infoseek.hp.arton.rjb;

public class Base {
    public String getInstanceVar() {
	return "hello";
    }
    public static String getSVal() {
	return "sVal";
    }
    public static String val() {
	return "val";
    }
    public static String Val() {
	return "Val";
    }
    public static String intf(Object x) {
	return x.toString();
    }
    public static final int _NUMBER_FIVE = 5;
    public static void main(String[] args) {
	System.out.println(intf(IBase.class));
    }
}