1 /*
2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package java.util;
27 
28 import android.compat.annotation.UnsupportedAppUsage;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public final class UUID implements java.io.Serializable, java.lang.Comparable<java.util.UUID> {
32 
UUID(byte[] data)33     private UUID(byte[] data) {
34         throw new RuntimeException("Stub!");
35     }
36 
UUID(long mostSigBits, long leastSigBits)37     public UUID(long mostSigBits, long leastSigBits) {
38         throw new RuntimeException("Stub!");
39     }
40 
randomUUID()41     public static java.util.UUID randomUUID() {
42         throw new RuntimeException("Stub!");
43     }
44 
nameUUIDFromBytes(byte[] name)45     public static java.util.UUID nameUUIDFromBytes(byte[] name) {
46         throw new RuntimeException("Stub!");
47     }
48 
fromString(java.lang.String name)49     public static java.util.UUID fromString(java.lang.String name) {
50         throw new RuntimeException("Stub!");
51     }
52 
getLeastSignificantBits()53     public long getLeastSignificantBits() {
54         throw new RuntimeException("Stub!");
55     }
56 
getMostSignificantBits()57     public long getMostSignificantBits() {
58         throw new RuntimeException("Stub!");
59     }
60 
version()61     public int version() {
62         throw new RuntimeException("Stub!");
63     }
64 
variant()65     public int variant() {
66         throw new RuntimeException("Stub!");
67     }
68 
timestamp()69     public long timestamp() {
70         throw new RuntimeException("Stub!");
71     }
72 
clockSequence()73     public int clockSequence() {
74         throw new RuntimeException("Stub!");
75     }
76 
node()77     public long node() {
78         throw new RuntimeException("Stub!");
79     }
80 
toString()81     public java.lang.String toString() {
82         throw new RuntimeException("Stub!");
83     }
84 
digits(long val, int digits)85     private static java.lang.String digits(long val, int digits) {
86         throw new RuntimeException("Stub!");
87     }
88 
hashCode()89     public int hashCode() {
90         throw new RuntimeException("Stub!");
91     }
92 
equals(java.lang.Object obj)93     public boolean equals(java.lang.Object obj) {
94         throw new RuntimeException("Stub!");
95     }
96 
compareTo(java.util.UUID val)97     public int compareTo(java.util.UUID val) {
98         throw new RuntimeException("Stub!");
99     }
100 
101     @UnsupportedAppUsage
102     private final long leastSigBits;
103 
104     {
105         leastSigBits = 0;
106     }
107 
108     @UnsupportedAppUsage
109     private final long mostSigBits;
110 
111     {
112         mostSigBits = 0;
113     }
114 
115     private static final long serialVersionUID = -4856846361193249489L; // 0xbc9903f7986d852fL
116 
117     @SuppressWarnings({"unchecked", "deprecation", "all"})
118     private static class Holder {
119 
Holder()120         private Holder() {
121             throw new RuntimeException("Stub!");
122         }
123 
124         static final java.security.SecureRandom numberGenerator;
125 
126         static {
127             numberGenerator = null;
128         }
129     }
130 }
131