Is there any way to use autoboxing for the classes I create? For example, I have this subclass of Number.
Number
public class UnsignedInteger extends N
No, unfortunately. Automatic boxing conversions (as per JLS §5.1.7) are only defined for the standard primitive wrapper classes.