aboutsummaryrefslogtreecommitdiffstats
path: root/sample/vector/Sample.java
blob: 7a47aadf4123f60bd20dd8ea473a10107a281557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package sample.vector;

public class Sample extends java.util.Vector {
    public void add(X e) {
	super.addElement(e);
    }

    public X at(int i) {
	return (X)super.elementAt(i);
    }
}

class X {
}