3 ms·
Yes they are actually called generics in Java.. So this is just going to cause confusion, though I am very impressed with all the long words you used.
by cowls 13y ago
Yes they are actually called generics in Java..
So this is just going to cause confusion, though I am very impressed with all the long words you used.
- smikhanov 13y agoIn Java, generics is a possibility to parametrize any type (not just a container) with another type. Just like in any other language that support generics. If you limit generics in Java to container types only (like at the original link), it would be absolutely more correct to call the result "homogenous containers". Take Callable<T>, for example. This is a generic type that is not a container and is not in the scope of project at the OP's link.