/openjdk10/jdk/src/java.base/share/classes/java/time/temporal/ |
H A D | TemporalAccessor.java | 84 * These can be accessed via {@linkplain #query(TemporalQuery) queries} using 164 * @param field the field to query the range for, not null 260 * This queries this date-time using the specified query strategy object. 265 * Examples might be a query that checks if the date is the day before February 29th 268 * The most common query implementations are method references, such as 275 * if (query == TemporalQueries.zoneId() || 276 * query == TemporalQueries.chronology() || query == TemporalQueries.precision()) { 279 * return query.queryFrom(this); 284 * {@code TemporalAccessor.super.query(quer 308 query(TemporalQuery<R> query) argument [all...] |
H A D | TemporalQueries.java | 85 * Examples might be a query that checks if the date is the day before February 29th 94 * The second is to use {@link TemporalAccessor#query(TemporalQuery)}: 98 * temporal = temporal.query(thisQuery); 100 * It is recommended to use the second approach, {@code query(TemporalQuery)}, 136 * A strict query for the {@code ZoneId}. 144 * In most cases, applications should use {@link #zone()} as this query is too strict. 165 * @return a query that can obtain the zone ID of a temporal, not null 172 * A query for the {@code Chronology}. 201 * That method is equivalent to this query, except that it throws an 204 * @return a query tha [all...] |
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | DocLink.java | 30 * an optional query, and an optional fragment. DocLink objects can 33 * {@link DocPath#query query}. 43 final String query; field in class:DocLink 57 * Create a DocLink representing the URI {@code path?query#fragment}. 58 * query and fragment may be null. 60 public DocLink(DocPath path, String query, String fragment) { argument 61 this(path.getPath(), query, fragment); 65 * Create a DocLink representing the URI {@code path?query#fragment}. 68 public DocLink(String path, String query, Strin argument [all...] |
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/ |
H A D | LdapURL.java | 82 init(url); // scheme, host, port, path, query 162 * Determines whether an LDAP URL has query components. 192 * Parses the path and query components of an URL and sets this 209 // query begins with a '?' or is null 211 if (query == null || query.length() < 2) { 220 nextQmark = query.indexOf('?', currentIndex); 221 endIndex = nextQmark == -1 ? query.length() : nextQmark; 223 attributes = query.substring(currentIndex, endIndex); 226 if (currentIndex >= query [all...] |
/openjdk10/jdk/test/java/net/URL/ |
H A D | RestoreURL.java | 49 String query = restoredUrl.getQuery(); 55 if ((query ==null) || !query.equals(origUrl.getQuery())) { 56 throw new Exception("query not restored");
|
H A D | URIToURLTest.java | 99 String query = uri.getQuery(); 100 boolean queryCheck = query == null? url.getQuery() == null : 101 query.equals(url.getQuery()); 103 throw new RuntimeException("uri.query is " + query + 104 " url.query is " +
|
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/ |
H A D | Era.java | 132 * If the field is a {@link ChronoField} then the query is implemented here. 160 * If the field is a {@link ChronoField} then the query is implemented here. 172 * @param field the field to query the range for, not null 190 * If the field is a {@link ChronoField} then the query is implemented here. 222 * If the field is a {@link ChronoField} then the query is implemented here. 249 * Queries this era using the specified query. 251 * This queries this era using the specified query strategy object. 253 * obtain the result. Read the documentation of the query to understand 258 * specified query passing {@code this} as the argument. 261 * @param query th 268 query(TemporalQuery<R> query) argument [all...] |
H A D | ChronoLocalDate.java | 280 * allowing it to be used as a query via method reference, {@code ChronoLocalDate::from}. 292 Chronology chrono = temporal.query(TemporalQueries.chronology()); 491 * Queries this date using the specified query. 493 * This queries this date using the specified query strategy object. 495 * obtain the result. Read the documentation of the query to understand 500 * specified query passing {@code this} as the argument. 503 * @param query the query to invoke, not null 504 * @return the query result, null may be returned (defined by the query) 510 query(TemporalQuery<R> query) argument [all...] |
H A D | ChronoZonedDateTime.java | 165 * allowing it to be used as a query via method reference, {@code ChronoZonedDateTime::from}. 177 Chronology chrono = temporal.query(TemporalQueries.chronology()); 471 * Queries this date-time using the specified query. 473 * This queries this date-time using the specified query strategy object. 475 * obtain the result. Read the documentation of the query to understand 480 * specified query passing {@code this} as the argument. 483 * @param query the query to invoke, not null 484 * @return the query result, null may be returned (defined by the query) 490 query(TemporalQuery<R> query) argument [all...] |
H A D | ChronoLocalDateTime.java | 164 * allowing it to be used as a query via method reference, {@code ChronoLocalDateTime::from}. 176 Chronology chrono = temporal.query(TemporalQueries.chronology()); 324 * Queries this date-time using the specified query. 326 * This queries this date-time using the specified query strategy object. 328 * obtain the result. Read the documentation of the query to understand 333 * specified query passing {@code this} as the argument. 336 * @param query the query to invoke, not null 337 * @return the query result, null may be returned (defined by the query) 343 query(TemporalQuery<R> query) argument [all...] |
/openjdk10/jdk/test/javax/management/query/ |
H A D | CustomQueryTest.java | 72 /* A query that calls the increment method of the Count MBean every time 73 * it is evaluated. If there is no ObjectName filter, the query will be 94 QueryExp query = new IncrQuery(); 95 Set<ObjectName> names = mbs.queryNames(null, query); 100 oout.writeObject(query); 104 query = (QueryExp) oin.readObject(); 105 names = mbs.queryNames(null, query);
|
H A D | QuerySubstringTest.java | 81 private static int query(MBeanServer mbs, method in class:QuerySubstringTest 104 ObjectName on = new ObjectName("test:type=Simple,query=" + 151 error += query(mbs, 1, pattern, data); 153 error += query(mbs, 2, pattern, data); 155 error += query(mbs, 3, pattern, data);
|
/openjdk10/jdk/src/java.base/share/classes/java/time/format/ |
H A D | DateTimePrintContext.java | 132 Chronology temporalChrono = temporal.query(TemporalQueries.chronology()); 133 ZoneId temporalZone = temporal.query(TemporalQueries.zoneId()); 209 public <R> R query(TemporalQuery<R> query) { 210 if (query == TemporalQueries.chronology()) { 213 if (query == TemporalQueries.zoneId()) { 216 if (query == TemporalQueries.precision()) { 217 return temporal.query(query); 219 return query 286 getValue(TemporalQuery<R> query) argument [all...] |
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/ |
H A D | HostIdentifier.java | 209 * @param query the {@link URI#getQuery} component of a URI. 219 String query, String fragment) 221 uri = new URI(scheme, authority, path, query, fragment); 290 String query = vmid.getQuery(); 291 if (query != null) { 292 sb.append("?").append(query); 394 String query = vmid.getQuery(); 395 if (query == null) { 396 query = getQuery(); 398 if (query ! 218 HostIdentifier(String scheme, String authority, String path, String query, String fragment) argument [all...] |
/openjdk10/jdk/test/java/time/tck/java/time/format/ |
H A D | TCKDateTimeParseResolver.java | 157 assertEquals(accessor.query(TemporalQueries.localDate()), null); 158 assertEquals(accessor.query(TemporalQueries.localTime()), null); 196 assertEquals(accessor.query(TemporalQueries.localDate()), null); 197 assertEquals(accessor.query(TemporalQueries.localTime()), null); 228 assertEquals(accessor.query(TemporalQueries.localDate()), null); 229 assertEquals(accessor.query(TemporalQueries.localTime()), null); 262 assertEquals(accessor.query(TemporalQueries.localDate()), null); 263 assertEquals(accessor.query(TemporalQueries.localTime()), null); 288 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); 289 assertEquals(accessor.query(TemporalQuerie [all...] |
H A D | TCKInstantPrinterParser.java | 229 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO); 230 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE); 239 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO); 240 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE); 257 assertEquals(parsed.query(Instant::from), expected); 258 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO); 259 assertEquals(parsed.query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE); 269 assertEquals(parsed.query(Instant::from), expected); 270 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO); 271 assertEquals(parsed.query(DateTimeFormatte [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/time/ |
H A D | DayOfWeek.java | 181 * allowing it to be used as a query via method reference, {@code DayOfWeek::from}. 275 * @param field the field to query the range for, not null 387 * Queries this day-of-week using the specified query. 389 * This queries this day-of-week using the specified query strategy object. 391 * obtain the result. Read the documentation of the query to understand 396 * specified query passing {@code this} as the argument. 399 * @param query the query to invoke, not null 400 * @return the query result, null may be returned (defined by the query) 406 query(TemporalQuery<R> query) argument [all...] |
H A D | Month.java | 205 * allowing it to be used as a query via method reference, {@code Month::from}. 302 * @param field the field to query the range for, not null 544 * Queries this month-of-year using the specified query. 546 * This queries this month-of-year using the specified query strategy object. 548 * obtain the result. Read the documentation of the query to understand 553 * specified query passing {@code this} as the argument. 556 * @param query the query to invoke, not null 557 * @return the query result, null may be returned (defined by the query) 563 query(TemporalQuery<R> query) argument [all...] |
/openjdk10/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ |
H A D | Resolver.java | 75 * If recursion is true, recursion is requested on the query. 78 ResourceRecords query(DnsName fqdn, int rrclass, int rrtype, method in class:Resolver 81 return dnsClient.query(fqdn, rrclass, rrtype, recursion, auth); 86 * If recursion is true, recursion is requested on the query to find 115 rrs = query(fqdn, rrclass, ResourceRecord.TYPE_SOA, 146 * If recursion is true, recursion is requested on the query. 151 ResourceRecords rrs = query(zone, rrclass, ResourceRecord.TYPE_SOA, 165 * If recursion is true, recursion is requested on the query. 173 query(zone, ResourceRecord.CLASS_INTERNET, ResourceRecord.TYPE_NS,
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | SOQLEngine.java | 54 public synchronized void executeQuery(String query, ObjectVisitor visitor) argument 56 debugPrint("query : " + query); 57 StringTokenizer st = new StringTokenizer(query); 61 throw new SOQLException("query syntax error: no 'select' clause"); 64 throw new SOQLException("query syntax error: no 'select' clause"); 67 int selectStart = query.indexOf("select"); 68 int fromStart = query.indexOf("from"); 77 selectExpr = query.substring(selectStart + "select".length(), fromStart); 78 st = new StringTokenizer(query [all...] |
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/transform/ |
H A D | Bug6384805.java | 71 XPath query = XPathFactory.newInstance().newXPath(); 73 query.setNamespaceContext(new NamespaceContext() { 88 Object o1 = query.evaluate("/test/office:document/office:styles/style:default-style/@style:family", res.getNode(), XPathConstants.STRING);
|
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/ |
H A D | Uri.java | 55 * hier_part = ( net_path | abs_path ) [ "?" query ] 86 * query = *uric 114 protected String query = null; field in class:Uri 177 * Returns the URI's query part, or null if no query is provided. 178 * Note that a query always begins with a leading "?". 181 return query; 236 int qmark = uri.indexOf('?', i); // look for query 241 query = uri.substring(qmark);
|
/openjdk10/jdk/src/jdk.management/windows/native/libmanagement_ext/ |
H A D | OperatingSystemImpl.c | 217 HQUERY query; member in struct:__anon1369 218 uint64_t lastUpdate; // Last time query was updated (ticks) 221 // Min time between query updates (ticks) 225 * Struct for a PDH query with multiple counters. 228 UpdateQueryS query; member in struct:__anon1370 234 * Struct for a PDH query with a single counter. 237 UpdateQueryS query; member in struct:__anon1371 518 pdhCleanup(HQUERY* const query, HCOUNTER* const counter) { argument 523 if (query && *query) { 552 openQuery(HQUERY* const query) argument 563 addCounter(HQUERY query, const char* const fullCounterPath, HCOUNTER* const counter) argument 995 getPerformanceData(UpdateQueryP query, HCOUNTER c, PDH_FMT_COUNTERVALUE* value, DWORD format) argument [all...] |
/openjdk10/jdk/test/javax/sql/testng/test/rowset/ |
H A D | BaseRowSetTests.java | 305 brs.setString(2, query); 319 brs.setObject(16, query); 320 brs.setObject(17, query, Types.CHAR); 321 brs.setObject(18, query, Types.CHAR, 0); 325 {2, query}, 339 {16, query}, 340 {17, query}, 341 {18, query} 353 Ref aRef = new SerialRef(new StubRef("INTEGER", query)); 357 Reader rdr = new StringReader(query); [all...] |
/openjdk10/jdk/src/demo/share/jfc/TableExample/ |
H A D | TableExample2.java | 62 String passwd, String query) { 72 dt.executeQuery(query); 61 TableExample2(String URL, String driver, String user, String passwd, String query) argument
|