public final class Primitives extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Class<T> |
wrap(Class<T> type)
Returns the corresponding wrapper type of
type if it is a primitive
type; otherwise returns type itself. |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.