WhiteoakBackward compatible extension of Java 6 with structural subtyping, virtual fields and constructors support | |
Download |
Whiteoak Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Itay Maman
- Publisher web site:
- https://addons.mozilla.org/en-US/firefox/addon/4705
- Operating Systems:
- Mac OS X
- File Size:
- 2.5 MB
Whiteoak Tags
Whiteoak Description
Backward compatible extension of Java 6 with structural subtyping, virtual fields and constructors support Java is nominally typed-a type (i.e., a class or an interface) is compatible with another if it is declared, directly or indirectly as such, by means of keyword extends or implements.Whiteoak is a Java extension that introduces structural type equivalence and subtyping into the language: In a nutshell, a struct A in Whiteoak is similar to an interface of Java except that a class, interface, or another struct B is compatible with A if the repertoire of public function and data members of B is a superset of that of A.Whiteoak is a backward compatible extension of Java 1.6 and it will generate standard .class files so the compiled program can run on any JVM. Here are some key features of "Whiteoak": · Retroactive abstraction of classes via structural subtyping (aka: Structural conformance) · First-class support for virtual constructors, virtual fields, virtual static methods · Composition of new structural types through type operators · Structural types with concrete methods allow client code to attach new behavior to existing objects · Composition of new objects from existing ones using mixin- or traits- like semantics
Whiteoak Related Software