Hacker News new | past | comments | ask | show | jobs | submit login

Valhalla is what you want, at least for some of it.

https://openjdk.org/jeps/402

    interface Box<T> {
        T get();
        void set(T val);
    }

    interface IntBox extends Box<int> {
        int get();
        void set(int val);
    }
https://openjdk.org/projects/valhalla/



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: