/openjdk7/jdk/test/java/util/TimeZone/ |
H A D | OldIDMappingTest.java | 60 oldmap = (Map<String, String>) map.get(null); 62 throw new RuntimeException("can't get TzIDOldMapping.MAP", e); 74 TimeZone tz = TimeZone.getTimeZone(oldmap.get(id)); 78 + id + " isn't an alias of " + oldmap.get(id)); 81 System.out.println(" " + id + " => " + oldmap.get(id)); 88 System.out.println(" " + id + " => " + oldmap.get(id)); 95 + id + " is an alias of " + oldmap.get(id)); 97 tz = TimeZone.getTimeZone(newmap.get(id)); 100 + id + " isn't an alias of " + newmap.get(id)); 103 System.out.println(" " + id + " => " + newmap.get(i [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/ |
H A D | UtilsTest.java | 34 NSString ns = Utils.get().strings().nsString(s); 35 String t = Utils.get().strings().javaString(ns); 45 Utils.get().threads().performOnMainThread(new Runnable(){ 56 final long mainThreadId = Utils.get().threads().performOnMainThread(new Callable<Long>(){ 65 Utils.get().threads().performOnMainThread(new Callable<Object>(){
|
/openjdk7/jdk/test/java/net/CookieHandler/ |
H A D | B6644726.java | 79 // We should get 1 Cookie: MyCookie4, because of the domain 80 Map<String, List<String>>m = cm.get(new URI("http://www.s2.sun.com/dir/foo/doc2.html"), 82 List<String> clst = m.get("Cookie"); 86 if (!clst.get(0).startsWith("myCookie4")) { 87 fail("The cookie should be myCookie4, not " + clst.get(0)); 90 // We should get 4 cookies for non secure URI, and 5 for the secure one 91 m = cm.get(suri, emptyMap); 92 clst = m.get("Cookie"); 97 m = cm.get(uri, emptyMap); 98 clst = m.get("Cooki [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | KeyCache.java | 79 synchronized P11Key get(Key key) { method in class:KeyCache 80 P11Key p11Key = (P11Key)strongCache.get(new IdentityWrapper(key)); 85 (cacheReference == null) ? null : cacheReference.get(); 89 return map.get(key); 95 (cacheReference == null) ? null : cacheReference.get();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicPasswordFieldUI.java | 74 Character echoChar = (Character)UIManager.getDefaults().get(prefix + ".echoChar"); 98 if (map.get(DefaultEditorKit.selectWordAction) != null) { 99 Action a = map.get(DefaultEditorKit.selectLineAction);
|
/openjdk7/jdk/src/share/classes/sun/awt/shell/ |
H A D | ShellFolderManager.java | 66 public Object get(String key) { method in class:ShellFolderManager 81 return get("roots"); 87 return new File[] { (File)get("fileChooserDefaultFolder") };
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/ |
H A D | CachedXPathAPIHolder.java | 39 if (localDoc.get()!=doc) { 40 CachedXPathAPI cx=(CachedXPathAPI)local.get(); 57 CachedXPathAPI cx=(CachedXPathAPI)local.get();
|
/openjdk7/jdk/src/share/classes/com/sun/beans/ |
H A D | WeakCache.java | 54 public V get(K key) { method in class:WeakCache 55 Reference<V> reference = this.map.get(key); 59 V value = reference.get();
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/ |
H A D | SwingUtilities3.java | 111 return Boolean.TRUE == vsyncedMap.get(rootContainer); 120 if (Boolean.TRUE == AppContext.getAppContext().get( 162 Map<String, Object> methodMap = objectMap.get("afterDispatch"); 163 afterDispatchEventArgument = (AWTEvent[]) methodMap.get("event"); 164 afterDispatchHandleArgument = (Object[]) methodMap.get("handle"); 165 afterDispatchCallable = (Callable<Void>) methodMap.get("method"); 167 methodMap = objectMap.get("beforeDispatch"); 168 beforeDispatchEventArgument = (AWTEvent[]) methodMap.get("event"); 169 beforeDispatchCallable = (Callable<Object>) methodMap.get("method"); 171 methodMap = objectMap.get("getNextEven [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/digested/ |
H A D | DGrammarPattern.java | 75 public DDefine get( String name ) { method in class:DGrammarPattern 76 return patterns.get(name); 81 return get(name);
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | GetPutFieldTrees.java | 84 z = fields.get("z", false); 85 b = fields.get("b", (byte) 0); 86 c = fields.get("c", (char) 0); 87 s = fields.get("s", (short) 0); 88 i = fields.get("i", (int) 0); 89 f = fields.get("f", (float) 0.0); 90 j = fields.get("j", (long) 0); 91 d = fields.get("d", (double) 0.0); 92 str = (String) fields.get("str", null); 93 parent = fields.get("paren [all...] |
/openjdk7/jdk/test/java/util/HashMap/ |
H A D | OverrideIsEmpty.java | 31 * @summary Verify that we do not get exception when we override isEmpty() 45 public V get(Object key) { method in class:OverrideIsEmpty.NotEmptyHashMap 49 return super.get(key); 67 map.get(key);
|
/openjdk7/jdk/test/java/util/jar/Manifest/ |
H A D | CreateManifest.java | 44 Files.write(Paths.get(ManifestName), FILE_CONTENTS.getBytes()); 57 Files.deleteIfExists(Paths.get(jarFileName)); 58 Files.deleteIfExists(Paths.get(ManifestName));
|
/openjdk7/jdk/src/share/classes/sun/rmi/server/ |
H A D | WeakClassHashMap.java | 53 public V get(Class<?> remoteClass) { method in class:WeakClassHashMap 62 valueCell = internalMap.get(remoteClass); 71 value = valueCell.ref.get();
|
/openjdk7/langtools/test/tools/javac/generics/ |
H A D | Casting.java | 50 V get(Object o); method in interface:Map 59 if (map.get(new Integer(1)) == map.get(new Integer(2))) ;
|
/openjdk7/langtools/test/tools/javac/unit/util/list/ |
H A D | AbstractList.java | 45 if (s != ss.get(index)) 46 throw new AssertionError("s != ss.get(" + index + ")"); 51 ss.get(-1); 59 ss.get(args.length); 72 System.out.println("List.get(int) test OK");
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/ |
H A D | HierarchicalClusterLayoutManager.java | 105 ClusterNode start = clusterNodes.get(c); 108 ClusterNode end = clusterNodes.get(succ); 120 clusterNodes.get(c).addSubNode(v); 143 listsConnection.get(fromCluster).add(l); 144 clusterNodes.get(fromCluster).addSubEdge(l); 150 outputSlotNode = clusterOutputSlotHash.get(fromCluster).get(samePort); 151 inputSlotNode = clusterInputSlotHash.get(toCluster).get(samePort); 155 outputSlotNode = new ClusterOutputSlotNode(clusterNodes.get(fromCluste [all...] |
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | Util.java | 40 private static Object get(String className, String fieldName, Object o) throws Exception { method in class:Util 44 return fld.get(o); 48 Object fdVal = get("java.io.FileDescriptor", "fd", fdObj); 57 Object fdObj = get("sun.nio.ch.SocketChannelImpl", "fd", sc); 70 Object fdObj = get("sun.nio.ch.ServerSocketChannelImpl", "fd", ssc); 83 Object fdObj = get("sun.nio.ch.DatagramChannelImpl", "fd", dc);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | CellTypeStateList.java | 42 public CellTypeState get(int i) { method in class:CellTypeStateList 43 return (CellTypeState) list.get(i);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | Paths.java | 83 public static Path get(String first, String... more) { method in class:Paths 107 * Paths.get(</tt><i>p</i><tt>.{@link Path#toUri() toUri}()).equals(</tt> 131 public static Path get(URI uri) { method in class:Paths
|
/openjdk7/jdk/src/share/classes/javax/imageio/spi/ |
H A D | PartiallyOrderedSet.java | 107 DigraphNode node = (DigraphNode)poNodes.get(o); 132 (DigraphNode)poNodes.get(first); 134 (DigraphNode)poNodes.get(second); 147 (DigraphNode)poNodes.get(first); 149 (DigraphNode)poNodes.get(second); 161 (DigraphNode)poNodes.get(preferred); 163 (DigraphNode)poNodes.get(other); 199 int inDegree = ((Integer)inDegrees.get(node)).intValue() - 1;
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | GraphViewerImplementation.java | 38 Diagram diagram = Diagram.createDiagram(graph, Settings.get().get(Settings.NODE_TEXT, Settings.NODE_TEXT_DEFAULT));
|
/openjdk7/jdk/test/java/lang/Boolean/ |
H A D | MakeBooleanComparable.java | 48 if (list.get(i).booleanValue()) // Autounboxing doesn't work yet! 51 if (!list.get(i).booleanValue()) // Autounboxing doesn't work yet!
|
/openjdk7/jdk/test/java/lang/ThreadLocal/ |
H A D | InitialValue.java | 39 // This should reuse the map that the containing get() created 49 String s1 = l.get(); 51 String s2 = other.get();
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | AllocateDirectInit.java | 38 if ((bb.get() & 0xff) != 0) 48 System.out.print(" " + Integer.toHexString(bb.get() & 0xff));
|