File: Accessor.java

package info (click to toggle)
bsh 1.0-beta-2
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 1,804 kB
  • ctags: 1,857
  • sloc: java: 14,653; makefile: 53; sh: 14
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();}
}