Searched defs:it (Results 1 - 25 of 39) sorted by relevance

12

/openjdk7/langtools/test/tools/javac/Diagnostics/6862608/
H A DT6862608a.java14 <T> Comparator<T> compound(Iterable<? extends Comparator<? super T>> it) { argument
/openjdk7/langtools/test/tools/javac/generics/inference/6638712/
H A DT6638712a.java13 <T> Comparator<T> compound(Iterable<? extends Comparator<? super T>> it) { return null; } argument
/openjdk7/jdk/test/java/util/ServiceLoader/
H A DBasic.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
34 private static <T> Set<T> setOf(Iterable<T> it) { argument
36 for (T t : it)
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DThreadIterator.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
43 Iterator<ThreadReference> it = null; field in class:ThreadIterator
57 while (it == null || !it.hasNext()) {
61 it = tgi.nextThreadGroup().threads().iterator();
68 return it.next();
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DThreadIterator.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
43 Iterator<ThreadReference> it = null; field in class:ThreadIterator
60 while (it == null || !it.hasNext()) {
64 it = tgi.nextThreadGroup().threads().iterator();
71 return it.next();
/openjdk7/langtools/test/tools/javac/generics/inference/6650759/
H A DT6650759j.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
47 static <X extends F<X, Y>, Y extends A<Y>> X m(Iterable<X> it) { argument
/openjdk7/hotspot/src/share/tools/ProjectCreator/
H A DArgsParser.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
38 public abstract void handle(ArgIterator it); argument
50 boolean process(ArgIterator it) { argument
51 if (match(it.get(), arg)) {
52 handler.handle(it);
H A DWinGammaPlatform.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
41 boolean nextNotKey(ArgIterator it) { argument
42 if (it.next()) {
43 String s = it.get();
87 public void handle(ArgIterator it) { argument
88 String cfg = getCfg(it.get());
89 if (nextNotKey(it)) {
90 String val = it
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractCollection.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
99 Iterator<E> it = iterator();
101 while (it.hasNext())
102 if (it.next()==null)
105 while (it.hasNext())
106 if (o.equals(it.next()))
137 Iterator<E> it = iterator();
139 if (! it
219 finishToArray(T[] r, Iterator<?> it) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEMessage.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
50 private final Iterator<MIMEEvent> it; field in class:MIMEMessage
67 * @param boundary the separator for parts(pass it without --)
74 it = parser.iterator();
85 * this if possible since it is an expensive operation.
145 // this is required for Indigo interop, it writes content-id without escaping
154 // Ignore it
179 if (!it
[all...]
/openjdk7/jdk/test/java/util/Map/
H A DLockStep.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
71 Iterator it = map.keySet().iterator();
72 while (it.hasNext()) {
73 Object x = it.next();
75 it.remove();
81 void remove(Map m, Iterator it) { argument
83 it.remove();
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DForgetMeNot.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
38 private static void noMoreElements(final Iterator<Integer> it) { argument
41 new Fun() { void f() { it.next(); }});
42 check(! it.hasNext());
46 private static void removeIsCurrentlyIllegal(final Iterator<Integer> it) { argument
49 new Fun() { void f() { it.remove(); }});
53 private static void remove(Iterator<Integer> it, argument
56 it
[all...]
/openjdk7/jdk/test/java/util/concurrent/BlockingQueue/
H A DOfferDrainToLoops.java4 * This code is free software; you can redistribute it and/or modify it
8 * This code is distributed in the hope that it will be useful, but WITHOUT
55 void checkNotContainsNull(Iterable it) { argument
56 for (Object x : it)
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DOfferRemoveLoops.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
46 void checkNotContainsNull(Iterable it) { argument
47 for (Object x : it)
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiThreadState.cpp5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
76 JvmtiEnvIterator it; local
77 for (JvmtiEnvBase* env = it.first(); env != NULL; env = it.next(env)) {
112 JvmtiEnvThreadStateIterator it(this);
113 for (JvmtiEnvThreadState* ets = it.first(); ets != NULL; ) {
115 ets = it.next(ets);
153 // unlink it fro
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DEmptyIterator.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
68 <T> void testEmptyIterator(final Iterator<T> it) { argument
69 check(it == emptyIterator());
70 check(! it.hasNext());
72 new F(){void f(){ it.next(); }});
74 new F(){void f(){ it.remove(); }});
/openjdk7/jdk/test/java/util/WeakHashMap/
H A DGCDuringIteration.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
68 void checkIterator(final Iterator<Map.Entry<Foo, Integer>> it, int first) { argument
71 if (rnd.nextBoolean()) check(it.hasNext());
72 equal(it.next().getValue(), i);
76 new F(){void f(){it.next();}});
78 check(! it.hasNext());
102 final Iterator<Map.Entry<Foo,Integer>> it = map.entrySet().iterator();
107 checkIterator(it, firs
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/
H A DKeyResolver.java375 Iterator<KeyResolver> it; field in class:KeyResolver.ResolverIterator
379 it = res.iterator();
383 return it.hasNext();
387 KeyResolver resolver = it.next();
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
136 WildcardIterator it = NEW_(WildcardIterator); local
140 it->handle = handle;
141 it->firstFile = find_data.cFileName;
142 return it;
146 WildcardIterator_next(WildcardIterator it) argument
149 if (it->firstFile != NULL) {
150 char *firstFile = it
159 WildcardIterator_close(WildcardIterator it) argument
190 WildcardIterator it = NEW_(WildcardIterator); local
197 WildcardIterator_next(WildcardIterator it) argument
204 WildcardIterator_close(WildcardIterator it) argument
370 WildcardIterator it = WildcardIterator_for(wildcard); local
[all...]
/openjdk7/jdk/src/share/bin/
H A Dwildcard.c5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
132 // since this is used repeatedly we keep it here.
137 WildcardIterator it = NEW_(WildcardIterator); local
141 it->handle = handle;
142 it->firstFile = find_data.cFileName;
143 return it;
147 WildcardIterator_next(WildcardIterator it) argument
149 if (it
159 WildcardIterator_close(WildcardIterator it) argument
190 WildcardIterator it = NEW_(WildcardIterator); local
197 WildcardIterator_next(WildcardIterator it) argument
204 WildcardIterator_close(WildcardIterator it) argument
358 WildcardIterator it = WildcardIterator_for(wildcard); local
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/
H A DAbstractSchemaValidationTube.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
148 public MetadataResolverImpl(Iterable<SDDocument> it) { argument
149 for(SDDocument doc : it) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DAbstractDiagnosticFormatter.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
207 * @param it iterable argument to be formatted
211 protected String formatIterable(JCDiagnostic d, Iterable<?> it, Locale l) { argument
214 for (Object o : it) {
H A DBaseFileManager.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
103 // Ideally, ClassLoader should be Closeable, but before JDK7 it is not.
383 protected static <T> Collection<T> nullCheck(Collection<T> it) { argument
384 for (T t : it)
386 return it;
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DContextStack.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
216 TypeContext it = stack[currentIndex];
218 if (it == null) {
219 it = new TypeContext();
220 stack[currentIndex] = it;
225 it.set(newCode,element);
229 traceln(toTrialString(it));
233 return it;
349 toTrialString(TypeContext it) argument
358 toResultString(TypeContext it, boolean result, boolean preExisting) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractWriter.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
44 private ElementIterator it; field in class:AbstractWriter
60 * EndOfLineStringProperty, it will be used for newlines. Otherwise
68 * indicates that even if the line is > than max line length it should
91 * tempChars. If tempChars were used it would mean write couldn't invoke
92 * <code>writeLineSeparator</code> as it might have been passed
134 it = new ElementIterator(doc.getDefaultRootElement());
149 // Should not get here, but if we do it mean
[all...]

Completed in 116 milliseconds

12