summaryrefslogtreecommitdiff
path: root/test/files/pos/javaReadsSigs/fromjava.java
blob: d31244bb9546335e7d400ab4499a26f0fc10a8b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import scala.collection.immutable.Vector;
import scala.collection.immutable.List;

public class fromjava {

    void main(String[] args, Vector<String> x) {
        Vector<String> y = x.take(2);
        String h = y.head();
        System.out.println(h);
    }
    void main(String[] args, List<String> x) {
        List<String> y = x.drop(2);
        String h = y.head();
        System.out.println(h);
    }
}