Re:Java 10 – Specification for Value Types
by barrkel on Monday June 19, 2017 @04:59AM
(#14585488)
There's nothing wrong with doing 'new T' in a generic method or class body. It requires a constraint on the type variable is all: that some constructor with a specific parameter list is available.
[ Parent
| on HN ]
There are no comments on this comment yet.