|
Scala example source code file (Test.java)
The Scala Test.java source codeclass J { S s ; } public class Test { public static void main(String[] args) { final X x = new X(); final OuterImpl o = new OuterImpl(x); final OuterImpl.Inner i1 = o.newInner(); i1.getT().getI().getT().getI(); // <--- Error: "The method getI() is undefined for the type Object" final Outer<X>.Inner i2 = o.newInner(); i2.getT().getI().getT().getI(); // <--- Error: "The method getI() is undefined for the type Object" HashMap<String, String> map = new HashMap Other Scala examples (source code examples)Here is a short list of links related to this Scala Test.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.