- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for ForwardingSet (0.23 sec)
-
guava/src/com/google/common/collect/ForwardingSet.java
* invoke methods, they invoke methods on the {@code ForwardingSet}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
* invoke methods, they invoke methods on the {@code ForwardingSet}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSet}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingSetTest extends TestCase { static class StandardImplForwardingSet<T> extends ForwardingSet<T> { private final Set<T> backingSet; StandardImplForwardingSet(Set<T> backingSet) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
import com.google.common.base.Supplier; import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ @ElementTypesAreNonnullByDefault final class InvalidatableSet<E> extends ForwardingSet<E> { private final Supplier<Boolean> validator;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSet}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingSetTest extends TestCase { static class StandardImplForwardingSet<T> extends ForwardingSet<T> { private final Set<T> backingSet; StandardImplForwardingSet(Set<T> backingSet) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ForwardingMap; import com.google.common.collect.ForwardingMapEntry; import com.google.common.collect.ForwardingSet; import com.google.common.collect.Iterators; import com.google.common.collect.Maps; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 22 01:15:23 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
/** * Returns the backing delegate instance that methods are forwarded to. Abstract subclasses * generally override this method with an abstract method that has a more specific return type, * such as {@link ForwardingSet#delegate}. Concrete subclasses override this method to supply the * instance being decorated. */ protected abstract Object delegate();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
return (key == null) ? null : Maps.safeGet(delegate, key); } @Override ImmutableSet<Entry<K, V>> createEntrySet() { return ImmutableSet.unsafeDelegate( new ForwardingSet<Entry<K, V>>() { @Override protected Set<Entry<K, V>> delegate() { return delegate.entrySet(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 24 16:03:45 GMT 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ANY, CollectionFeature.SERIALIZABLE) .createTestSuite(); } static class TestSet<E> extends ForwardingSet<E> implements Serializable { final Set<E> delegate; public Object mutex; public TestSet(Set<E> delegate, @Nullable Object mutex) { this.delegate = delegate; this.mutex = mutex; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ANY, CollectionFeature.SERIALIZABLE) .createTestSuite(); } static class TestSet<E> extends ForwardingSet<E> implements Serializable { final Set<E> delegate; public final Object mutex; public TestSet(Set<E> delegate, Object mutex) { checkNotNull(mutex); this.delegate = delegate;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.8K bytes - Viewed (0)