Searched defs:map (Results 101 - 125 of 306) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DDeadListenerTest.java171 private static <K, V> Map<K, V> mapWithoutKey(Map<K, V> map, K key) { argument
172 Map<K, V> copy = new HashMap<K, V>(map);
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfInstrumentation.java39 private SortedMap<String, Counter> map; field in class:PerfInstrumentation
76 map = new TreeMap<String, Counter>();
154 map.put(c.getName(), c);
157 return new ArrayList<Counter>(map.values());
164 map.put(c.getName(), c);
172 Iterator iter = map.entrySet().iterator();
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DUnmodifiableHeaders.java33 Headers map; field in class:UnmodifiableHeaders
35 UnmodifiableHeaders(Headers map) { argument
36 this.map = map;
39 public int size() {return map.size();}
41 public boolean isEmpty() {return map.isEmpty();}
44 return map.containsKey (key);
48 return map.containsValue(value);
52 return map.get(key);
56 return map
[all...]
/openjdk7/langtools/test/tools/javac/
H A DT6423583.java68 private static Map<Tree.Kind, Class> map = new HashMap<Tree.Kind, Class>(); field in class:T6423583.Test
70 map.put(Tree.Kind.BOOLEAN_LITERAL, Boolean.class);
71 map.put(Tree.Kind.CHAR_LITERAL, Character.class);
72 map.put(Tree.Kind.STRING_LITERAL, String.class);
73 map.put(Tree.Kind.INT_LITERAL, Integer.class);
74 map.put(Tree.Kind.LONG_LITERAL, Long.class);
75 map.put(Tree.Kind.FLOAT_LITERAL, Float.class);
76 map.put(Tree.Kind.DOUBLE_LITERAL, Double.class);
81 Class expect = map.get(tree.getKind());
/openjdk7/langtools/test/tools/javap/classfile/deps/
H A DGetDeps.java175 SortedSet<Dependency> odeps = map.get(o);
178 map.put(o, odeps = new TreeSet<Dependency>(c));
184 return map;
205 private final SortedMap<Location, SortedSet<Dependency>> map = field in class:GetDeps.SortedRecorder
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DInstructionFinder.java96 private static final HashMap map = new HashMap(); // Map<String,Pattern> field in class:InstructionFinder
100 private InstructionHandle[] handles; // map instruction list to array
132 String result = (String)map.get(pattern);
320 // Initialize pattern map
323 map.put("arithmeticinstruction", "(irem|lrem|iand|ior|ineg|isub|lneg|fneg|fmul|ldiv|fadd|lxor|frem|idiv|land|ixor|ishr|fsub|lshl|fdiv|iadd|lor|dmul|lsub|ishl|imul|lmul|lushr|dneg|iushr|lshr|ddiv|drem|dadd|ladd|dsub)");
324 map.put("invokeinstruction", "(invokevirtual|invokeinterface|invokestatic|invokespecial)");
325 map.put("arrayinstruction", "(baload|aastore|saload|caload|fastore|lastore|iaload|castore|iastore|aaload|bastore|sastore|faload|laload|daload|dastore)");
326 map.put("gotoinstruction", "(goto|goto_w)");
327 map.put("conversioninstruction", "(d2l|l2d|i2s|d2i|l2i|i2b|l2f|d2f|f2i|i2d|i2l|f2d|i2c|f2l|i2f)");
328 map
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DCaseInsensitiveMap.java77 int[] map = new int[2];
81 map[index++] = lc;
82 map[index++] = LOWER_CASE_MATCH;
85 map = updateMap(i, map, lc, lcMap, LOWER_CASE_MATCH);
90 if (index == map.length) {
91 map = expandMap(map, 2);
93 map[index++] = uc;
94 map[inde
116 set(int codePoint, int[] map) argument
149 contains(int[] map, int codePoint) argument
158 contains(int[] map, int codePoint, int matchType) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DCacheTable.java39 Entry next; // this chains the collision list of table "map"
54 private Entry [] map; field in class:CacheTable
72 map = new Entry[size];
78 Entry [] oldMap = map;
112 for (Entry e = map[index]; e != null; e = e.next) {
125 newEntry.next = map[index];
126 map[index] = newEntry;
139 for (Entry e = map[index]; e != null; e = e.next) {
160 map = null;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DRegisterMap.java58 /** Tells if the register map needs to be updated when traversing the stack */
89 /** Makes a copy of map into this */
90 protected RegisterMap(RegisterMap map) { argument
92 Assert.that(map != null, "RegisterMap must be present");
94 this.thread = map.getThread();
95 this.updateMap = map.getUpdateMap();
96 this.includeArgumentOops = map.getIncludeArgumentOops();
97 location = new Address[map.location.length];
98 locationValid = new long[map.locationValid.length];
99 initializeFromPD(map);
207 initializeFromPD(RegisterMap map) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/
H A DSPARCRegisterMap.java97 protected SPARCRegisterMap(RegisterMap map) { argument
98 super(map);
175 protected void initializeFromPD(RegisterMap map) { argument
176 SPARCRegisterMap srm = (SPARCRegisterMap) map;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSJavaFactoryImpl.java90 public JSMap newJSMap(Map map) { argument
91 if (map == null) return null;
92 return new JSMap(map, this);
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSQLInputImpl.java86 * The type map to use when the method <code>readObject</code>
94 private Map map; field in class:SQLInputImpl
99 * given array of attributes and the given type map. If any of the
100 * attributes is a UDT whose name is in an entry in the type map,
108 * @param map a <code>java.util.Map</code> object containing zero or more
114 * @throws SQLException if the <code>attributes</code> or the <code>map</code>
118 public SQLInputImpl(Object[] attributes, Map<String,Class<?>> map) argument
121 if ((attributes == null) || (map == null)) {
129 // set the map
130 this.map
[all...]
H A DSQLOutputImpl.java46 * type map containing the <code>Class</code> object for the
66 * The type map the driver supplies to a newly created
67 * <code>SQLOutputImpl</code> object. This type map
73 private Map map; field in class:SQLOutputImpl
78 * type map. The driver will use the type map to determine
88 * @param map a <code>java.util.Map</code> object containing zero or
93 * @throws SQLException if the <code>attributes</code> or the <code>map</code>
96 public SQLOutputImpl(Vector<?> attributes, Map<String,?> map) argument
99 if ((attributes == null) || (map
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicButtonListener.java55 static void loadActionMap(LazyActionMap map) { argument
56 map.put(new Actions(Actions.PRESS));
57 map.put(new Actions(Actions.RELEASE));
133 InputMap map = SwingUtilities.getUIInputMap(
136 if (map == null) {
137 map = new ComponentInputMapUIResource(b);
139 JComponent.WHEN_IN_FOCUSED_WINDOW, map);
141 map.clear();
142 map.put(KeyStroke.getKeyStroke(m, BasicLookAndFeel.getFocusAcceleratorKeyMask(), false),
144 map
[all...]
H A DBasicEditorPaneUI.java117 * Fetch an action map to use. The map for a JEditorPane
153 ActionMap map = SwingUtilities.getUIActionMap(getComponent());
154 if (map != null) {
159 removeActions(map, actions);
166 addActions(map, actions);
202 void removeActions(ActionMap map, Action[] actions) { argument
206 map.remove(a.getValue(Action.NAME));
210 void addActions(ActionMap map, Action[] actions) { argument
214 map
[all...]
H A DBasicMenuBarUI.java66 static void loadActionMap(LazyActionMap map) { argument
67 map.put(new Actions(Actions.TAKE_FOCUS));
H A DBasicRootPaneUI.java127 static void loadActionMap(LazyActionMap map) { argument
128 map.put(new Actions(Actions.PRESS));
129 map.put(new Actions(Actions.RELEASE));
130 map.put(new Actions(Actions.POST_POPUP));
/openjdk7/jdk/src/share/classes/java/beans/
H A DPropertyChangeSupport.java82 private PropertyChangeListenerMap map = new PropertyChangeListenerMap(); field in class:PropertyChangeSupport
117 this.map.add(null, listener);
143 this.map.remove(null, listener);
179 return this.map.getListeners();
201 listener = this.map.extract(listener);
203 this.map.add(propertyName, listener);
226 listener = this.map.extract(listener);
228 this.map.remove(propertyName, listener);
244 return this.map.getListeners(propertyName);
322 PropertyChangeListener[] common = this.map
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DFileChannel.java64 * <li><p> A region of a file may be {@link #map <i>mapped</i>}
537 * invoking the {@link #map map} method. Invoking the {@link
787 * @see java.nio.channels.FileChannel#map
914 public abstract MappedByteBuffer map(MapMode mode, method in class:FileChannel
/openjdk7/jdk/src/share/classes/java/util/prefs/
H A DXmlSupport.java60 "<!ELEMENT root (map, node*) >" +
64 "<!ELEMENT node (map, node*) >" +
68 "<!ELEMENT map (entry*) >" +
69 "<!ATTLIST map" +
81 * Version number for the internal map files.
117 e.appendChild(doc.createElement("map"));
154 // Put map in xml element
156 Element map = (Element) elt.appendChild(doc.createElement("map"));
159 map
325 ImportPrefs(Preferences prefsNode, Element map) argument
342 exportMap(OutputStream os, Map map) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/spi/
H A DServiceRegistry.java697 Map<Class<?>,Object> map = new HashMap(); field in class:SubRegistry
705 Object oprovider = map.get(provider.getClass());
711 map.put(provider.getClass(), provider);
727 Object oprovider = map.get(provider.getClass());
730 map.remove(provider.getClass());
743 Object oprovider = map.get(provider.getClass());
761 return map.values().iterator();
766 return (T)map.get(providerClass);
770 Iterator iter = map.values().iterator();
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DJMXConnectorFactory.java246 * map must be Strings. The appropriate type of each associated
276 private static <K> Map<K,Object> newHashMap(Map<K,?> map) { argument
277 return new HashMap<K,Object>(map);
289 * map must be Strings. The appropriate type of each associated
336 // and no loader has been provided in map.
464 Map<String, ?> map)
474 connection = provider.newJMXConnector(url, map);
555 "The ClassLoader supplied in the environment map using " +
462 getConnectorAsService(ClassLoader loader, JMXServiceURL url, Map<String, ?> map) argument
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DparMarkBitMap.cpp72 idx_t* map = (idx_t*)_virtual_space->reserved_low_addr(); local
73 _beg_bits.set_map(map);
75 _end_bits.set_map(map + words / 2);
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DHeaders.java63 HashMap<String,List<String>> map; field in class:Headers
65 public Headers () {map = new HashMap<String,List<String>>(32);}
91 public int size() {return map.size();}
93 public boolean isEmpty() {return map.isEmpty();}
102 return map.containsKey (normalize((String)key));
106 return map.containsValue(value);
110 return map.get(normalize((String)key));
120 List<String> l = map.get(normalize((String)key));
128 return map.put (normalize(key), value);
140 List<String> l = map
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DArrayTypeImpl.java64 void addVisibleMethods(Map map) { argument

Completed in 126 milliseconds

1234567891011>>