• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1997, 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 class HashSet<E> extends java.util.AbstractSet<E>
32         implements java.util.Set<E>, java.lang.Cloneable, java.io.Serializable {
33 
HashSet()34     public HashSet() {
35         throw new RuntimeException("Stub!");
36     }
37 
HashSet(java.util.Collection<? extends E> c)38     public HashSet(java.util.Collection<? extends E> c) {
39         throw new RuntimeException("Stub!");
40     }
41 
HashSet(int initialCapacity, float loadFactor)42     public HashSet(int initialCapacity, float loadFactor) {
43         throw new RuntimeException("Stub!");
44     }
45 
HashSet(int initialCapacity)46     public HashSet(int initialCapacity) {
47         throw new RuntimeException("Stub!");
48     }
49 
HashSet(int initialCapacity, float loadFactor, boolean fake)50     HashSet(int initialCapacity, float loadFactor, boolean fake) {
51         throw new RuntimeException("Stub!");
52     }
53 
iterator()54     public java.util.Iterator<E> iterator() {
55         throw new RuntimeException("Stub!");
56     }
57 
size()58     public int size() {
59         throw new RuntimeException("Stub!");
60     }
61 
isEmpty()62     public boolean isEmpty() {
63         throw new RuntimeException("Stub!");
64     }
65 
contains(java.lang.Object o)66     public boolean contains(java.lang.Object o) {
67         throw new RuntimeException("Stub!");
68     }
69 
add(E e)70     public boolean add(E e) {
71         throw new RuntimeException("Stub!");
72     }
73 
remove(java.lang.Object o)74     public boolean remove(java.lang.Object o) {
75         throw new RuntimeException("Stub!");
76     }
77 
clear()78     public void clear() {
79         throw new RuntimeException("Stub!");
80     }
81 
clone()82     public java.lang.Object clone() {
83         throw new RuntimeException("Stub!");
84     }
85 
writeObject(java.io.ObjectOutputStream s)86     private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
87         throw new RuntimeException("Stub!");
88     }
89 
readObject(java.io.ObjectInputStream s)90     private void readObject(java.io.ObjectInputStream s)
91             throws java.lang.ClassNotFoundException, java.io.IOException {
92         throw new RuntimeException("Stub!");
93     }
94 
spliterator()95     public java.util.Spliterator<E> spliterator() {
96         throw new RuntimeException("Stub!");
97     }
98 
99     private static final java.lang.Object PRESENT;
100 
101     static {
102         PRESENT = null;
103     }
104 
105     @UnsupportedAppUsage
106     private transient java.util.HashMap<E, java.lang.Object> map;
107 
108     static final long serialVersionUID = -5024744406713321676L; // 0xba44859596b8b734L
109 }
110