- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 434 for duplicates (0.07 seconds)
-
android/guava/src/com/google/common/collect/Sets.java
* * @param anElement one of the elements the set should contain * @param otherElements the rest of the elements the set should contain * @return an immutable set containing those elements, minus duplicates */ public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( E anElement, E... otherElements) { return ImmutableEnumSet.asImmutable(EnumSet.of(anElement, otherElements)); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* @param columnKeys column keys that may be stored in the generated table * @throws NullPointerException if any of the provided keys is null * @throws IllegalArgumentException if {@code rowKeys} or {@code columnKeys} contains duplicates * or if exactly one of {@code rowKeys} or {@code columnKeys} is empty. */ public static <R, C, V> ArrayTable<R, C, V> create( Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
/** * Test that Sets handle duplicate values correctly (deduplication). */ @Test public void test_setFields_withDuplicates_deduplicatesInSet() { String[] fieldsWithDuplicates = { "field1", "field2", "field1", "field3", "field2" }; queryFieldConfig.setSearchFields(fieldsWithDuplicates); // Array should contain all values including duplicatesCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * @param anElement one of the elements the set should contain * @param otherElements the rest of the elements the set should contain * @return an immutable set containing those elements, minus duplicates */ public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( E anElement, E... otherElements) { return ImmutableEnumSet.asImmutable(EnumSet.of(anElement, otherElements)); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Table.java
* update the underlying table, and vice versa. * * @return set of column keys */ Set<C> columnKeySet(); /** * Returns a collection of all values, which may contain duplicates. Changes to the returned * collection will update the underlying table, and vice versa. * * @return collection of values */ Collection<V> values(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
SuggestItem.Kind[] result = SuggestItem.concatKinds(kinds1, kinds2); assertNotNull(result); assertEquals(2, result.length); // Should not have duplicates assertTrue(Arrays.asList(result).contains(SuggestItem.Kind.QUERY)); assertTrue(Arrays.asList(result).contains(SuggestItem.Kind.DOCUMENT)); } @Test public void testEmptySource() {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
* order. The sorting algorithm used is stable, so elements that compare as equal will stay in the * order in which they appear in the input. * * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code * asList()} view. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
*/ /* * These generators also rely on consecutive integer inputs (not necessarily in order, but no * holes). */ // SetCreationTester has some tests that pass in duplicates. Dedup them. private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) { SortedSet<E> set = newTreeSet(); for (E element : elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Table.java
* update the underlying table, and vice versa. * * @return set of column keys */ Set<C> columnKeySet(); /** * Returns a collection of all values, which may contain duplicates. Changes to the returned * collection will update the underlying table, and vice versa. * * @return collection of values */ Collection<V> values(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
return Ordering.from(comparator).immutableSortedCopy((Iterable<@NonNull E>) getDelegate()); } /** * Returns an {@code ImmutableSet} containing all of the elements from this fluent iterable with * duplicates removed. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code * stream.collect()}. * * @throws NullPointerException if any element is {@code null}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0)