< prev index next >

src/java.base/share/classes/java/util/OptionalInt.java

Print this page
@@ -54,10 +54,11 @@
   * to an {@code OptionalInt} instance.
   *
   * @since 1.8
   */
  @jdk.internal.ValueBased
+ @jdk.internal.MigratedValueClass
  public final class OptionalInt {
      /**
       * Common instance for {@code empty()}.
       */
      private static final OptionalInt EMPTY = new OptionalInt();
< prev index next >