Searched refs:Hashtable (Results 1 - 25 of 38) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/
H A DHashtableTest.java20 import java.util.Hashtable;
26 MapDefaultMethodTester.test_getOrDefault(new Hashtable<>(), false /*doesNotAcceptNullKey*/,
31 MapDefaultMethodTester.test_forEach(new Hashtable<>());
35 MapDefaultMethodTester.test_putIfAbsent(new Hashtable<>(), false /*doesNotAcceptNullKey*/,
40 MapDefaultMethodTester.test_remove(new Hashtable<>(), false /*doesNotAcceptNullKey*/,
46 test_replace$K$V$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/,
51 MapDefaultMethodTester.test_replace$K$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/,
56 MapDefaultMethodTester.test_computeIfAbsent(new Hashtable<>(),
61 MapDefaultMethodTester.test_computeIfPresent(new Hashtable<>(),
66 MapDefaultMethodTester.test_compute(new Hashtable<>(), fals
[all...]
H A DEvilMapTest.java22 import java.util.Hashtable;
62 // Corrupt one Hashtable...
63 Hashtable<String, String> map = new Hashtable<String, String>(evil);
65 Hashtable<String, String> map2 = new Hashtable<String, String>();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DHashtableTest.java28 import java.util.Hashtable;
38 private Hashtable ht10;
40 private Hashtable ht100;
42 private Hashtable htfull;
51 * java.util.Hashtable#Hashtable()
54 // Test for method java.util.Hashtable()
55 new Support_MapTest2(new Hashtable()).runTest();
57 Hashtable h = new Hashtable();
[all...]
H A DAbstractMapTest.java27 import java.util.Hashtable;
351 Hashtable ht = new Hashtable();
373 Map<String, String> nullHostile = new Hashtable<String, String>();
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyKeyStore.java39 import java.util.Hashtable;
47 private Hashtable<String, Object> Keys = new Hashtable<String, Object>();
49 private Hashtable<String, Object> Cert = new Hashtable<String, Object>();
51 private Hashtable<String, Object> Chain = new Hashtable<String, Object>();
53 private Hashtable<String, Object> Dates = new Hashtable<String, Object>();
55 private Hashtable<Strin
[all...]
H A DSystemScope.java30 import java.util.Hashtable;
46 private Hashtable names = new Hashtable();
49 private Hashtable keys = new Hashtable();
/libcore/benchmarks/src/benchmarks/
H A DHashedCollectionsBenchmark.java20 import java.util.Hashtable;
47 Hashtable<String, String> map = new Hashtable<String, String>();
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java13 import java.util.Hashtable;
645 Hashtable table;
800 prefixTable = (Hashtable)prefixTable.clone();
802 prefixTable = new Hashtable();
805 uriTable = (Hashtable)uriTable.clone();
807 uriTable = new Hashtable();
809 elementNameTable = new Hashtable();
810 attributeNameTable = new Hashtable();
821 Hashtable prefixTable;
822 Hashtable uriTabl
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DUnresolvedPermissionCollection.java140 // private Hashtable permissions; // keyed on type
143 * @serialField permissions java.util.Hashtable
148 new ObjectStreamField("permissions", Hashtable.class),
155 * Writes the contents of the perms field out as a Hashtable
162 // Copy perms into a Hashtable
163 Hashtable<String, Vector<UnresolvedPermission>> permissions =
164 new Hashtable<>(perms.size()*2);
177 // Add to Hashtable being serialized
189 * Reads in a Hashtable in which the values are Vectors of
200 Hashtable<Strin
[all...]
H A DCodeSource.java33 import java.util.Hashtable;
H A DUnresolvedPermission.java32 import java.util.Hashtable;
/libcore/support/src/test/java/tests/support/
H A DSupport_Configuration.java23 import java.util.Hashtable;
H A DSupport_GetLocal.java29 import java.util.Hashtable;
35 static Hashtable<String, File> cache = new Hashtable<String, File>(20);
/libcore/ojluni/src/main/java/java/util/
H A DProperties.java49 * Because <code>Properties</code> inherits from <code>Hashtable</code>, the
118 class Properties extends Hashtable<Object,Object> {
149 * Calls the <tt>Hashtable</tt> method <code>put</code>. Provided for
152 * result of the <tt>Hashtable</tt> call to <code>put</code>.
990 Hashtable h = new Hashtable();
1014 Hashtable<String, String> h = new Hashtable<>();
1029 Hashtable h = new Hashtable();
[all...]
H A DHashtable.java42 * An instance of <code>Hashtable</code> has two parameters that affect its
57 * <tt>Hashtable</tt> operations, including <tt>get</tt> and <tt>put</tt>).<p>
63 * <tt>Hashtable</tt> will contain divided by its load factor. However,
66 * If many entries are to be made into a <code>Hashtable</code>,
74 * Hashtable<String, Integer> numbers
75 * = new Hashtable<String, Integer>();
89 * <em>fail-fast</em>: if the Hashtable is structurally modified at any time
95 * The Enumerations returned by Hashtable's keys and elements methods are
111 * implementations, {@code Hashtable} is synchronized. If a
113 * {@link HashMap} in place of {@code Hashtable}
130 public class Hashtable<K,V> class in inherits:Dictionary,Map,Cloneable,java.io.Serializable
184 public Hashtable(int initialCapacity, float loadFactor) { method in class:Hashtable
206 public Hashtable(int initialCapacity) { method in class:Hashtable
214 public Hashtable() { method in class:Hashtable
227 public Hashtable(Map<? extends K, ? extends V> t) { method in class:Hashtable
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java26 import java.util.Hashtable;
43 Hashtable<Identity, Identity> identities;
51 identities = new Hashtable<Identity, Identity>();
56 identities = new Hashtable<Identity, Identity>();
61 identities = new Hashtable<Identity, Identity>();
67 identities = new Hashtable<Identity, Identity>();
/libcore/ojluni/src/main/java/java/beans/
H A DPropertyChangeSupport.java32 import java.util.Hashtable;
425 Hashtable<String, PropertyChangeSupport> children = null;
434 children = new Hashtable<String, PropertyChangeSupport>();
463 Hashtable<String, PropertyChangeSupport> children = (Hashtable<String, PropertyChangeSupport>) fields.get("children", null);
486 * @serialField children Hashtable
491 new ObjectStreamField("children", Hashtable.class),
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS9Attributes.java30 import java.util.Hashtable;
46 private final Hashtable<ObjectIdentifier, PKCS9Attribute> attributes =
47 new Hashtable<ObjectIdentifier, PKCS9Attribute>(3);
52 private final Hashtable<ObjectIdentifier, ObjectIdentifier> permittedAttributes;
88 new Hashtable<ObjectIdentifier, ObjectIdentifier>(
H A DPKCS9Attribute.java33 import java.util.Hashtable;
252 * Hashtable mapping names and variant names of supported
256 private static final Hashtable<String, ObjectIdentifier> NAME_OID_TABLE =
257 new Hashtable<String, ObjectIdentifier>(18);
280 * Hashtable mapping attribute OIDs defined in PKCS9 to the
283 private static final Hashtable<ObjectIdentifier, String> OID_NAME_TABLE =
284 new Hashtable<ObjectIdentifier, String>(16);
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DmySSLSession.java7 import java.util.Hashtable;
26 private Hashtable table;
37 table = new Hashtable();
/libcore/ojluni/src/main/java/sun/net/www/
H A DMimeTable.java33 import java.util.Hashtable;
40 private Hashtable<String, MimeEntry> entries
41 = new Hashtable<String, MimeEntry>();
44 private Hashtable<String, MimeEntry> extensionMap
45 = new Hashtable<String, MimeEntry>();
/libcore/ojluni/src/main/java/sun/security/util/
H A DManifestEntryVerifier.java194 public CodeSigner[] verify(Hashtable<String, CodeSigner[]> verifiedSigners,
195 Hashtable<String, CodeSigner[]> sigFileSigners)
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DAuthCacheImpl.java30 import java.util.Hashtable;
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarVerifier.java52 private Hashtable verifiedSigners;
56 private Hashtable sigFileSigners;
59 private Hashtable sigFileData;
98 sigFileSigners = new Hashtable();
99 verifiedSigners = new Hashtable();
100 sigFileData = new Hashtable(11);
/libcore/ojluni/src/main/java/java/text/
H A DNumberFormat.java51 import java.util.Hashtable;
838 private static final Hashtable cachedLocaleData = new Hashtable(3);

Completed in 1373 milliseconds

12