Searched refs:Fun (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/test/java/util/concurrent/Executors/
H A DThrows.java50 new Fun(){void f(){ newFixedThreadPool(3, null); }},
51 new Fun(){void f(){ newCachedThreadPool(null); }},
52 new Fun(){void f(){ newSingleThreadScheduledExecutor(null); }},
53 new Fun(){void f(){ newScheduledThreadPool(0, null); }},
54 new Fun(){void f(){ unconfigurableExecutorService(null); }},
55 new Fun(){void f(){ unconfigurableScheduledExecutorService(null); }},
56 new Fun(){void f(){ callable(null, "foo"); }},
57 new Fun(){void f(){ callable((Runnable) null); }},
58 new Fun(){void f(){ callable((PrivilegedAction<?>) null); }},
59 new Fun(){voi
125 private abstract static class Fun {abstract void f() throws Throwable;} class in class:Throws
[all...]
/openjdk7/jdk/test/java/util/concurrent/BlockingQueue/
H A DInterrupt.java38 static void checkInterrupted0(Iterable<Fun> fs, Executor ex) {
39 for (Fun f : fs) {
52 static void checkInterrupted(Iterable<Fun> fs) {
72 List<Fun> fs = new ArrayList<Fun>();
73 fs.add(new Fun() { void f() throws Throwable
75 fs.add(new Fun() { void f() throws Throwable
78 fs.add(new Fun() { void f() throws Throwable
80 fs.add(new Fun() { void f() throws Throwable
82 fs.add(new Fun() { voi
139 private abstract static class Fun {abstract void f() throws Throwable;} class in class:Interrupt
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DAsLifoQueue.java60 new Fun(){void f(){ q.add("d"); }});
70 new Fun(){void f(){ q.remove(); }});
91 static abstract class Fun { abstract void f() throws Throwable; } class in class:AsLifoQueue
92 private static void THROWS(Class<? extends Throwable> k, Fun... fs) {
93 for (Fun f : fs)
/openjdk7/jdk/test/java/util/Collection/
H A DIteratorAtEnd.java87 new Fun() {void f() { while (true) it.next(); }});
100 new Fun() {void f() { it.previous(); }});
112 new Fun() {void f() { it.next(); }});
135 private static abstract class Fun {abstract void f() throws Throwable;} class in class:IteratorAtEnd
136 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
137 for (Fun f : fs)
H A DMOAT.java104 new Fun(){void f(){ emptyArray.set(0,1); }});
106 new Fun(){void f(){ emptyArray.add(0,1); }});
181 new Fun(){void f(){ it.next(); }});
208 new Fun(){void f(){ c.add(99); }},
209 new Fun(){void f(){ c.addAll(singleton(99)); }});
213 new Fun(){void f(){ c.clear(); }},
214 new Fun(){void f(){ c.remove(first); }},
215 new Fun(){void f(){ c.removeAll(singleton(first)); }},
216 new Fun(){void f(){ c.retainAll(emptyList()); }}
229 new Fun(){voi
1187 private static abstract class Fun {abstract void f() throws Throwable;} class in class:MOAT
[all...]
H A DBiggernYours.java239 private static abstract class Fun {abstract void f() throws Throwable;} class in class:BiggernYours
240 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
241 for (Fun f : fs)
/openjdk7/jdk/test/java/util/concurrent/FutureTask/
H A DCustomized.java73 new Fun(){void f() throws Throwable {
89 new Fun(){void f() throws Throwable {
91 new Fun(){void f() throws Throwable {
99 new Fun(){void f() throws Throwable {
101 new Fun(){void f() throws Throwable {
206 private abstract static class Fun {abstract void f() throws Throwable;} class in class:Customized
207 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
208 for (Fun f : fs)
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DForgetMeNot.java41 new Fun() { void f() { it.next(); }});
49 new Fun() { void f() { it.remove(); }});
149 private static abstract class Fun {abstract void f() throws Throwable;} class in class:ForgetMeNot
150 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
151 for (Fun f : fs)
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DShutdownNowExecuteRace.java84 private abstract static class Fun {abstract void f() throws Throwable;} class in class:ShutdownNowExecuteRace
85 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
86 for (Fun f : fs)
H A DConfigChanges.java75 new Fun() {void f() {es.execute(nop);}});
244 private abstract static class Fun {abstract void f() throws Throwable;} class in class:ConfigChanges
245 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
246 for (Fun f : fs)
/openjdk7/jdk/test/java/lang/ProcessBuilder/
H A DBasic.java880 new Fun(){void f() {
882 new Fun(){void f() {
884 new Fun(){void f() {
886 new Fun(){void f() {
891 new Fun(){void f() throws Throwable { pb.start(); }});
1027 new Fun() { void f() throws IOException {
1031 new Fun() { void f() throws IOException {
1035 new Fun() { void f() throws IOException {
1142 new Fun(){void f(){ getenv().put("FOO","BAR");}},
1143 new Fun(){voi
2299 private static abstract class Fun {abstract void f() throws Throwable;} class in class:Basic
[all...]
/openjdk7/jdk/test/java/util/NavigableMap/
H A DLockStep.java216 new Fun(){void f(){ s.first(); }},
217 new Fun(){void f(){ s.last(); }});
246 new Fun(){void f(){ it.remove(); }});
264 Fun fun = new Fun(){void f(){ it.next(); }};
351 new Fun(){void f(){ m.firstKey(); }},
352 new Fun(){void f(){ m.lastKey(); }});
402 new Fun(){void f(){ it.remove(); }});
430 Fun fun = new Fun(){voi
819 static abstract class Fun {abstract void f() throws Throwable;} class in class:LockStep
[all...]
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/
H A DStandard.java102 private static abstract class Fun {abstract void f() throws Throwable;} class in class:Standard
103 private static void THROWS(Class<? extends Throwable> k, Fun... fs) {
104 for (Fun f : fs)
/openjdk7/jdk/test/sun/nio/cs/
H A DFindOneCharEncoderBugs.java158 private static abstract class Fun {abstract void f() throws Throwable;} class in class:FindOneCharEncoderBugs
159 static void THROWS(Class<? extends Throwable> k, Fun... fs) {
160 for (Fun f : fs)
/openjdk7/jdk/test/java/util/concurrent/CyclicBarrier/
H A DBasic.java43 new Fun() { public void f() throws Throwable {
45 new Fun() { public void f() throws Throwable {
420 abstract static class Fun { abstract void f() throws Throwable; } class in class:Basic
421 private static void THROWS(Class<? extends Throwable> k, Fun... fs) {
422 for (Fun f : fs)

Completed in 2153 milliseconds