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

1234567891011>>

/openjdk10/langtools/test/tools/javac/generics/inference/8067767/
H A DT8067767.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
35 static <A, B> Pair<A, B> of(A a, B b) { method in class:T8067767.Pair
41 static <T> List<T> of(T... tx) { method in class:T8067767.List
46 static final List<Pair<String, String>> PAIRS = List.of(
47 Pair.of("a", "b"), Pair.of("a", "b"), Pair.of("a", "b"), Pair.of("
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/format/
H A DTCKDTFParsedInstant.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
50 private static final ZoneId EUROPE_BERLIN = ZoneId.of("Europe/Berlin");
51 private static final ZoneId ASIA_ISTANBUL = ZoneId.of("Asia/Istanbul");
66 {"1966-12-31T00:01:10", LocalDateTime.of(1966, 12, 31, 0, 1, 10)},
67 {"1970-01-01T00:00:00", LocalDateTime.of(1970, 1, 1, 0, 0, 0)},
68 {"2004-02-29T00:30:00", LocalDateTime.of(2004, 2, 29, 0, 30, 0)},
69 {"2015-12-31T23:59:59", LocalDateTime.of(2015, 12, 31, 23, 59, 59)}
84 LocalDateTime.of(201
[all...]
H A DTCKFormatStyle.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
34 * * Redistributions of source code must retain the above copyright notice,
35 * this list of conditions and the following disclaimer.
38 * this list of conditions and the following disclaimer in the documentation
41 * * Neither the name of JSR-310 nor the names of its contributors
80 private static final ZoneId ZONEID_PARIS = ZoneId.of("Europe/Paris");
81 private static final ZoneId OFFSET_PTWO = ZoneOffset.of("
[all...]
H A DTCKLocalizedFieldPrinter.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
88 {"'Date: 'y-MM-d', week-of
[all...]
H A DTCKSignStyle.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
34 * * Redistributions of source code must retain the above copyright notice,
35 * this list of conditions and the following disclaimer.
38 * this list of conditions and the following disclaimer in the documentation
41 * * Neither the name of JSR-310 nor the names of its contributors
93 {LocalDate.of(0, 10, 2), SignStyle.ALWAYS, null, "+00"},
94 {LocalDate.of(200
[all...]
/openjdk10/jdk/test/java/time/test/java/time/
H A DTestOffsetDateTime.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
86 TEST_2008_6_30_11_30_59_000000500 = OffsetDateTime.of(LocalDat
[all...]
H A DTestLocalDate.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
85 TEST_2007_07_15 = LocalDate.of(200
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/
H A DTCKYearMonth.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
127 TEST_2008_06 = YearMonth.of(200
[all...]
H A DTCKYear.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
120 private static final Year TEST_2008 = Year.of(200
[all...]
/openjdk10/jdk/test/java/lang/instrument/
H A DRedefineModuleTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
85 Set<Module> extraReads = Set.of(instrumentModule);
86 redefineModule(baseModule, extraReads, Map.of(), Map.of(), Set.of(), Map.of());
103 Map<String, Set<Module>> extraExports = Map.of(pkg, Set.of(thisModul
[all...]
/openjdk10/langtools/test/tools/javac/importscope/dependencies/tests/
H A DSimple.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 @TriggersComplete(of = Bar.class, at = Phase.HEADER)
27 @TriggersComplete(of = Sup.class, at = Phase.HIERARCHY)
H A DTypeParamCycle2.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
28 @annotations.TriggersComplete(of=A.class, at=annotations.Phase.IMPORTS)
29 @annotations.TriggersComplete(of=A.Outer.class, at=annotations.Phase.IMPORTS)
30 @annotations.TriggersComplete(of=A.Outer.Inner.class, at=annotations.Phase.HIERARCHY)
H A DTypeParamCycle3.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
28 @annotations.TriggersComplete(of=A.Outer.class, at=annotations.Phase.IMPORTS)
30 @annotations.TriggersComplete(of=B.class, at=annotations.Phase.HIERARCHY)
31 @annotations.TriggersComplete(of=B.Inner.class, at=annotations.Phase.HEADER)
H A DImportResolvedTooSoon.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
30 @TriggersComplete(of=A.class, at=Phase.HIERARCHY)
31 @TriggersComplete(of=B.SubInner.class, at=Phase.IMPORTS)
33 @TriggersComplete(of=A.Inner.class, at=Phase.HIERARCHY)
/openjdk10/langtools/test/tools/jdeprscan/tests/jdk/jdeprscan/
H A DTestCSV.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
80 { "", List.of("") },
81 { "a", List.of("a") },
82 { "a,b", List.of("a", "b") },
83 { "a,b,c", List.of("a", "b", "c") },
84 { ",a,b", List.of("", "a", "b") },
85 { "a,b,", List.of("a", "b", "") },
86 { ",a,b,", List.of("", "
[all...]
/openjdk10/hotspot/test/runtime/SelectionResolution/
H A DAbstractMethodErrorTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 * @summary Test of method selection and resolution cases that
58 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
59 EnumSet.of(MethodData.Access.PUBLIC,
63 EnumSet.of(MethodData.Context.ABSTRACT),
64 EnumSet.of(ClassData.Package.SAME)),
74 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
75 EnumSet.of(MethodDat
[all...]
H A DInvokeStaticSuccessTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 * @summary Test of method selection and resolution cases that
56 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
57 EnumSet.of(MethodData.Access.PUBLIC,
61 EnumSet.of(MethodData.Context.STATIC),
62 EnumSet.of(ClassData.Package.SAME)),
70 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
71 EnumSet.of(MethodDat
[all...]
H A DInvokeSpecialSuccessTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 * @summary Test of method selection and resolution cases that
55 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
56 EnumSet.of(MethodData.Access.PUBLIC,
60 EnumSet.of(MethodData.Context.INSTANCE),
61 EnumSet.of(ClassData.Package.SAME)),
71 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
72 EnumSet.of(MethodDat
[all...]
H A DInvokeInterfaceSuccessTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 * @summary Test of method selection and resolution cases that
57 Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
58 EnumSet.of(MethodData.Access.PUBLIC),
59 EnumSet.of(MethodData.Context.INSTANCE,
61 EnumSet.of(ClassData.Package.SAME)),
70 Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
71 EnumSet.of(MethodDat
[all...]
H A DInvokeVirtualSuccessTest.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
26 * @summary Test of method selection and resolution cases that
56 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
57 EnumSet.of(MethodData.Access.PRIVATE),
58 EnumSet.of(MethodData.Context.INSTANCE),
59 EnumSet.of(ClassData.Package.SAME)),
67 Template.ResultCombo(EnumSet.of(Template.Kind.CLASS),
68 EnumSet.of(MethodDat
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/temporal/
H A DTCKIsoFields.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
34 * * Redistributions of source code must retain the above copyright notice,
35 * this list of conditions and the following disclaimer.
38 * this list of conditions and the following disclaimer in the documentation
41 * * Neither the name of JSR-310 nor the names of its contributors
97 {LocalDate.of(1969, 12, 29), 90, 4},
98 {LocalDate.of(196
[all...]
H A DTCKChronoUnit.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
34 * * Redistributions of source code must retain the above copyright notice,
35 * this list of conditions and the following disclaimer.
38 * this list of conditions and the following disclaimer in the documentation
41 * * Neither the name of JSR-310 nor the names of its contributors
135 {CENTURIES, LocalDate.of(2000, 1, 10), true, 1, LocalDate.of(210
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/zone/serial/
H A DTCKZoneOffsetTransitionSerialization.java6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
74 * Test serialization of ZoneOffsetTransitio
[all...]
/openjdk10/nashorn/test/script/basic/es6/
H A DJDK-8156743.js6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
25 * JDK-8156743: ES6 for..of should work for Java Maps and Sets
52 for(var keyvalue of map){
56 for(var keyvalue of jmap){
60 for(var keyvalue of map){
64 for(var keyvalue of jmap){
68 for(var element of set){
72 for(var element of jse
[all...]
/openjdk10/jdk/test/java/time/test/java/time/chrono/
H A DTestUmmAlQuraChronology.java6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
74 * Note: The dates used for testing are just a sample of calendar data.
81 private static final ZoneId ZONE_RIYADH = ZoneId.of("Asia/Riyadh");
86 HijrahChronology hc = (HijrahChronology) Chronology.of("Hijrah");
88 hc = (HijrahChronology) Chronology.of("islamic");
95 Chronology test = Chronology.of("Hijrah-ummalqura");
104 {HijrahDate.of(1318, 1, 1), LocalDate.of(190
[all...]

Completed in 129 milliseconds

1234567891011>>