Searched refs:Map (Results 1 - 25 of 274) sorted by relevance

1234567891011

/libcore/ojluni/src/main/java/sun/security/action/
H A DPutAllAction.java28 import java.util.Map;
44 private final Map map;
46 public PutAllAction(Provider provider, Map map) {
/libcore/ojluni/src/main/java/java/sql/
H A DSQLClientInfoException.java27 import java.util.Map;
41 * <code>Map&lt;String,ClientInfoStatus&gt;</code> to
53 private Map<String, ClientInfoStatus> failedProperties;
83 * @param failedProperties A Map containing the property values that could not
84 * be set. The keys in the Map
92 public SQLClientInfoException(Map<String, ClientInfoStatus> failedProperties) {
107 * @param failedProperties A Map containing the property values that could not
108 * be set. The keys in the Map
118 public SQLClientInfoException(Map<String, ClientInfoStatus> failedProperties,
138 * @param failedProperties A Map containin
[all...]
H A DArray.java146 * @param map a <code>java.util.Map</code> object that contains mappings
156 Object getArray(java.util.Map<String,Class<?>> map) throws SQLException;
206 * @param map a <code>java.util.Map</code> object
219 Object getArray(long index, int count, java.util.Map<String,Class<?>> map)
276 ResultSet getResultSet (java.util.Map<String,Class<?>> map) throws SQLException;
332 * @param map the <code>Map</code> object that contains the mapping
345 java.util.Map<String,Class<?>> map)
H A DStruct.java104 Object[] getAttributes(java.util.Map<String,Class<?>> map)
H A DRef.java72 * @param map a <code>java.util.Map</code> object that contains
86 Object getObject(java.util.Map<String,Class<?>> map) throws SQLException;
121 * @see #getObject(Map)
/libcore/ojluni/src/main/java/java/net/
H A DCacheResponse.java29 import java.util.Map;
45 * Returns the response headers as a Map.
47 * @return An immutable Map from response header field names to
53 public abstract Map<String, List<String>> getHeaders() throws IOException;
H A DCookieHandler.java28 import java.util.Map;
119 * @param requestHeaders - a Map from request header
128 * @see #put(URI, Map)
130 public abstract Map<String, List<String>>
131 get(URI uri, Map<String, List<String>> requestHeaders)
145 * @see #get(URI, Map)
148 put(URI uri, Map<String, List<String>> responseHeaders)
H A DCookieStore.java29 import java.util.Map;
/libcore/ojluni/src/main/java/java/util/
H A DNavigableMap.java45 * and {@link #higherEntry} return {@code Map.Entry} objects
73 * return {@code Map.Entry} pairs representing snapshots of mappings
110 Map.Entry<K,V> lowerEntry(K key);
139 Map.Entry<K,V> floorEntry(K key);
168 Map.Entry<K,V> ceilingEntry(K key);
197 Map.Entry<K,V> higherEntry(K key);
220 Map.Entry<K,V> firstEntry();
229 Map.Entry<K,V> lastEntry();
238 Map.Entry<K,V> pollFirstEntry();
247 Map
[all...]
H A DSortedMap.java29 * A {@link Map} that further provides a <em>total ordering</em> on its keys.
49 * the sorted map is to correctly implement the {@code Map} interface. (See
52 * the {@code Map} interface is defined in terms of the {@code equals}
58 * contract of the {@code Map} interface.
69 * <li>A constructor with a single argument of type {@code Map}, which creates
103 * @see Map
113 public interface SortedMap<K,V> extends Map<K,V> {
283 Set<Map.Entry<K, V>> entrySet();
/libcore/ojluni/src/main/java/sun/util/calendar/
H A DTzIDOldMapping.java28 import java.util.Map;
32 static final Map<String, String> MAP = new HashMap<String, String>();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DEntryTest.java10 import java.util.Map;
35 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1);
44 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k1, v1);
53 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
54 Map.Entry e = new AbstractMap.SimpleEntry(e2);
63 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1);
64 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2);
74 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
75 Map.Entry e = new AbstractMap.SimpleEntry(e2);
76 Map
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DCookieHandlerTest.java24 import java.util.Map;
53 public Map get(URI uri, Map requestHeaders) throws IOException {
57 public void put(URI uri, Map responseHeaders) throws IOException {
/libcore/benchmarks/src/benchmarks/
H A DVirtualVersusInterfaceBenchmark.java20 import java.util.Map;
28 Map<String, String> map = new HashMap<String, String>();
/libcore/ojluni/src/main/java/java/security/cert/
H A DPKIXRevocationChecker.java33 import java.util.Map;
34 import java.util.Map.Entry;
96 private Map<X509Certificate, byte[]> ocspResponses = Collections.emptyMap();
188 public void setOcspResponses(Map<X509Certificate, byte[]> responses)
193 Map<X509Certificate, byte[]> copy = new HashMap<>(responses.size());
194 for (Map.Entry<X509Certificate, byte[]> e : responses.entrySet()) {
211 public Map<X509Certificate, byte[]> getOcspResponses() {
212 Map<X509Certificate, byte[]> copy = new HashMap<>(ocspResponses.size());
213 for (Map.Entry<X509Certificate, byte[]> e : ocspResponses.entrySet()) {
263 for (Map
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DLinkedHashMapTest.java21 import java.util.Map;
33 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true);
38 Map.Entry<String, String> newest = null;
39 for (Map.Entry<String, String> e : m.entrySet()) {
55 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true);
59 Map.Entry<String, String> newest = null;
60 for (Map.Entry<String, String> e : m.entrySet()) {
68 for (Map.Entry<String, String> e : m.entrySet()) {
86 Map<String, String> m = new LinkedHashMap<>(8, .75f, true /*accessOrder*/);
91 Map
[all...]
H A DOldMapEntryTest.java24 import java.util.Map;
28 Map.Entry me = null;
75 me = (Map.Entry)i.next();
89 Map.Entry me1 = (Map.Entry)i.next();
97 Map.Entry me1 = (Map.Entry)i.next();
108 me = (Map.Entry)i.next();
H A DLocaleInternalsTest.java23 import java.util.Map;
32 Map<Character, String> extensions = new TreeMap<Character, String>();
44 Map<Character, String> extensions = new HashMap<Character, String>();
66 Map<String, String> keywords = new HashMap<String, String>();
/libcore/luni/src/test/java/libcore/java/net/
H A DCookiesMCompatibilityTest.java26 import java.util.Map;
37 Map<String, List<String>> responseHeaders = new HashMap<>();
45 Map<String, List<String>> cookies = cm.get(
56 Map<String, List<String>> responseHeaders = new HashMap<>();
60 Map<String, List<String>> cookies = cm.get(
H A DOldCookieHandlerTest.java27 import java.util.Map;
83 public Map get(URI uri, Map requestHeaders) throws IOException {
88 public void put(URI uri, Map responseHeaders) throws IOException {
/libcore/support/src/test/java/tests/support/
H A DSupport_MapTest2.java20 import java.util.Map;
25 Map<String, String> map;
27 public Support_MapTest2(Map<String, String> m) {
31 fail("Map must be empty");
/libcore/luni/src/main/java/libcore/net/http/
H A DResponseUtils.java25 import java.util.Map;
44 Map<String, String> contentTypeParams = parseContentTypeParameters(contentTypeHeader);
62 private static Map<String, String> parseContentTypeParameters(String contentTypeHeader) {
63 Map<String, String> parameters = Collections.EMPTY_MAP;
/libcore/ojluni/src/main/java/sun/util/resources/
H A DOpenListResourceBundle.java45 import java.util.Map;
58 * use specialized Map implementations.
126 Map temp = createMap(contents.length);
140 * Lets subclasses provide specialized Map implementations.
143 protected Map createMap(int size) {
147 private Map lookup = null;
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DReduceByOpTest.java35 import java.util.Map;
51 Map<Boolean,List<Integer>> gbResult = data.stream().collect(groupingBy(LambdaTestHelpers.forPredicate(pEven, true, false)));
52 Map<Boolean, Integer> result = data.stream().collect(groupingBy(LambdaTestHelpers.forPredicate(pEven, true, false), reducing(0, rPlus)));
54 for (Map.Entry<Boolean, Integer> entry : result.entrySet()) {
61 Map<Integer, List<Integer>> mgResult = exerciseTerminalOps(data, s -> s.collect(groupingBy(mId)));
62 Map<Integer, Integer> miResult = exerciseTerminalOps(data, s -> s.collect(groupingBy(mId, reducing(0, e -> 1, Integer::sum))));
64 for (Map.Entry<Integer, Integer> entry : miResult.entrySet()) {
/libcore/ojluni/src/main/java/java/lang/
H A DProcessEnvironment.java42 * environment then looks like a Map<Variable,Value>. But we don't
43 * expose this to the user -- we only provide a Map<String,String>
44 * view, although we could also provide a Map<byte[],byte[]> view.
64 private static final Map<String,String> theUnmodifiableEnvironment;
89 static Map<String,String> getenv() {
94 static Map<String,String> environment() {
96 ((Map<Variable,Value>)(theEnvironment.clone()));
100 static Map<String,String> emptyEnvironment(int capacity) {
223 private Map<Variable,Value> m;
227 public StringEnvironment(Map<Variabl
[all...]

Completed in 701 milliseconds

1234567891011