Searched refs:OptionalLong (Results 1 – 7 of 7) sorted by relevance
21 public final class OptionalLong { class24 private static final OptionalLong EMPTY;27 private OptionalLong() { isPresent = false; value = 0; } in OptionalLong() method in OptionalLong28 private OptionalLong(long l) { this(); } in OptionalLong() method in OptionalLong29 public static OptionalLong empty() { return null; } in empty()30 public static OptionalLong of(long value) { return null; } in of()
18 import java.util.OptionalLong;22 OptionalLong ol = OptionalLong.of(123); in runTest()25 Method foo = OptionalLong.class.getMethod("foo"); in runTest()
19 import java.util.OptionalLong;116 OptionalLong ol = OptionalLong.of(0xDEADBEEF); in main()119 doCommonClassRedefinition(OptionalLong.class, CLASS_BYTES, DEX_BYTES); in main()
1 ol.toString() -> 'OptionalLong[-559038737]'2 Redefining OptionalLong!3 ol.toString() -> 'Redefined OptionalLong!'
84 javac -source 8 -target 8 src-optional/java/util/OptionalLong.java 1>/dev/null 2>/dev/null91 cat src-optional/java/util/OptionalLong.java | base64 | sed "s/\(.*\)/\"\1\" \+/g"100 rm -f src-optional/java/util/OptionalLong.class
3 Note this function is reliant on the definition of java.util.OptionalLong not6 OptionalLong with all the same methods and fields.
9275 Ljava/util/OptionalLong;-><init>()V9276 Ljava/util/OptionalLong;-><init>(J)V9277 Ljava/util/OptionalLong;->EMPTY:Ljava/util/OptionalLong;9278 Ljava/util/OptionalLong;->isPresent:Z9279 Ljava/util/OptionalLong;->value:J