- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for hasSorts (0.06 sec)
-
src/main/java/org/codelibs/fess/entity/QueryContext.java
} public void addSorts(final SortBuilder<?>... sortBuilders) { stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder))); } public boolean hasSorts() { return !sortBuilderList.isEmpty(); } public List<SortBuilder<?>> sortBuilders() { return sortBuilderList; } public QueryBuilder getQueryBuilder() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
buildBoostQuery(queryContext); buildRoleQuery(queryContext, searchRequestType); buildVirtualHostQuery(queryContext, searchRequestType); if (!queryContext.hasSorts() && defaultSortBuilders != null) { queryContext.addSorts(defaultSortBuilders); } return queryContext; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertTrue(badDefaultPort); } // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) { assertTrue(hp.hasPort()); assertEquals(expectPort, hp.getPort()); } else { assertFalse(hp.hasPort()); try { hp.getPort(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
* to prevent this from occurring. */ public int getPort() { checkState(hasPort()); return port; } /** Returns the current port number, with a default if no port is defined. */ public int getPortOrDefault(int defaultPort) { return hasPort() ? port : defaultPort; } /** * Build a HostAndPort instance from separate host and port values. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 22:02:22 UTC 2024 - 11.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
return null; } boolean hasDots = expression.indexOf(PROPERTY_START) >= 0; final Tokenizer tokenizer; if (trimRootToken && hasDots) { tokenizer = new Tokenizer(expression); tokenizer.nextPropertyName(); if (tokenizer.getPosition() == EOF) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
internal/rest/client.go
// return true if the string includes a port. func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") } // removeEmptyPort strips the empty port in ":port" to "" // as mandated by RFC 3986 Section 6.2.3. func removeEmptyPort(host string) string { if hasPort(host) { return strings.TrimSuffix(host, ":") } return host }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K bytes - Viewed (0)