- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,484 for setA (0.02 seconds)
-
android/guava/src/com/google/common/collect/ImmutableSet.java
@SuppressWarnings("unchecked") // all supported methods are covariant ImmutableSet<E> set = (ImmutableSet<E>) elements; if (!set.isPartialView()) { return set; } } Object[] array = elements.toArray(); return construct(array.length, array); } /** * Returns an immutable set containing each of {@code elements}, minus duplicates, in the orderCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
} public void testEntrySet() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jun 11 16:13:05 GMT 2024 - 2.4K bytes - Click Count (0) -
.idea/inspectionProfiles/Gradle.xml
</replaceConfiguration> <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Sets.newCopyOnWriteArraySet()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.concurrent.CopyOnWriteArraySet<>()">Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 26 21:49:47 GMT 2024 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
* * @return The new input words (defensive copy). */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /** * Sets the new input words. * * @param newInputs The new input words. */ public void setNewInputs(final String[] newInputs) { this.newInputs = newInputs; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
import java.util.Iterator; import java.util.NavigableSet; import java.util.SortedSet; import org.jspecify.annotations.Nullable; /** * A navigable set which forwards all its method calls to another navigable set. Subclasses should * override one or more methods to modify the behavior of the backing set as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
public void putAll(Map<? extends K, ? extends V> map) { delegate().putAll(map); } @Override public Set<K> keySet() { return delegate().keySet(); } @Override public Collection<V> values() { return delegate().values(); } @Override public Set<Entry<K, V>> entrySet() { return delegate().entrySet(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.testing.features.FeatureEnumTest.assertGoodFeatureEnum; import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
return copyToList(asList(elements)); } // Clone of Sets.newLinkedHashSet public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) { Set<E> set = new LinkedHashSet<>(); addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(asList(elements)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} } /** get returns the last value set at index */ public void testGetSet() { AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length); for (int i = 0; i < VALUES.length; i++) { assertBitEquals(0.0, aa.get(i)); aa.set(i, VALUES[i]); assertBitEquals(VALUES[i], aa.get(i)); aa.set(i, -3.0); assertBitEquals(-3.0, aa.get(i)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0)