Simple Java length data type library