File: Accessor.java

package info (click to toggle)
bsh 1.1alpha5-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 2,336 kB
  • ctags: 2,083
  • sloc: java: 16,095; makefile: 134; sh: 51
file content (16 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package InheritanceTest;

public class Accessor {
	public static A getWbyA() {return new W();}
	public static B getWbyB() {return new W();}
	public static A getXbyA() {return new X();}
	public static B getXbyB() {return new X();}
	public static X getX()    {return new X();}
	public static A getYbyA() {return new Y();}
	public static B getYbyB() {return new Y();}
	public static C getYbyC() {return new Y();}
	public static Y getY()    {return new Y();}
	public static A getZbyA() {return new Z();}
	public static B getZbyB() {return new Z();}
	public static C getZbyC() {return new Z();}
}