- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for DISTINCT (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}), (String str) -> charactersOf(str).spliterator(), Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 7)) .expect('a', 'b', 'c', 'd', 'e', 'f', 'g'); } public void testFlatMap_nullStream() { SpliteratorTester.of( () ->
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper(); // set urls split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> { if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) { final String u = duplicateHostHelper.convert(urlValue);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 22.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
} @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_absent() { int distinct = getMultiset().elementSet().size(); assertEquals("multiset.remove(absent, 0) didn't return 0", 0, getMultiset().remove(e3(), 2)); assertEquals(distinct, getMultiset().elementSet().size()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
concatValues(existingValues, readings[i]); map.put(FieldNames.READING_PREFIX + i, existingValues.stream().distinct().toList()); } else { final String[] values = readings[i] == null ? null : Arrays.stream(readings[i]).distinct().toArray(n -> new String[n]); map.put(FieldNames.READING_PREFIX + i, values); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * A test which demonstrates maven's recursive inheritance where * a distinct value is taken from each parent contributing to * the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * A test which demonstrates maven's recursive inheritance where * a distinct value is taken from each parent contributing to * the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
List<E> tail = list.subList(1, size); assertTrue(copy.contains(list.get(0))); assertTrue(head.contains(list.get(0))); assertTrue(tail.contains(list.get(1))); // The following assumes all elements are distinct. assertTrue(copy.contains(list.get(size - 1))); assertTrue(head.contains(list.get(size - 2))); assertTrue(tail.contains(list.get(size - 1))); assertFalse(head.contains(list.get(size - 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
List<E> tail = list.subList(1, size); assertTrue(copy.contains(list.get(0))); assertTrue(head.contains(list.get(0))); assertTrue(tail.contains(list.get(1))); // The following assumes all elements are distinct. assertTrue(copy.contains(list.get(size - 1))); assertTrue(head.contains(list.get(size - 2))); assertTrue(tail.contains(list.get(size - 1))); assertFalse(head.contains(list.get(size - 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
public final ImmutableList<V> replaceValues(K key, Iterable<? extends V> values) { throw new UnsupportedOperationException(); } /** * @serialData number of distinct keys, and then for each distinct key: the key, the number of * values for that key, and the key's values */ @GwtIncompatible // java.io.ObjectOutputStream @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 19.3K bytes - Viewed (0) -
callbacks/query.go
for _, c := range db.Statement.Schema.QueryClauses { db.Statement.AddClause(c) } } if db.Statement.SQL.Len() == 0 { db.Statement.SQL.Grow(100) clauseSelect := clause.Select{Distinct: db.Statement.Distinct} if db.Statement.ReflectValue.Kind() == reflect.Struct && db.Statement.ReflectValue.Type() == db.Statement.Schema.ModelType { var conds []clause.Expression
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 10.1K bytes - Viewed (1)