jdk/src/java.base/share/classes/sun/invoke/util/ValueConversions.java
changeset 32649 2ee9017c7597
parent 26475 acf0c98309d3
child 40256 c5e03eaf7ba2
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   213      */
   213      */
   214     public static MethodHandle unboxCast(Wrapper type) {
   214     public static MethodHandle unboxCast(Wrapper type) {
   215         return unbox(type, 3);
   215         return unbox(type, 3);
   216     }
   216     }
   217 
   217 
   218     static private final Integer ZERO_INT = 0, ONE_INT = 1;
   218     private static final Integer ZERO_INT = 0, ONE_INT = 1;
   219 
   219 
   220     /// Primitive conversions
   220     /// Primitive conversions
   221     /**
   221     /**
   222      * Produce a Number which represents the given value {@code x}
   222      * Produce a Number which represents the given value {@code x}
   223      * according to the primitive type of the given wrapper {@code wrap}.
   223      * according to the primitive type of the given wrapper {@code wrap}.