Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 199 for ImmutableSet (0.13 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim,
      // which overrides ImmutableSet & which ImmutableSortedSet extends.
      // It is necessary here because otherwise the builder() method
      // would be inherited from the emulated ImmutableSet.
      // TODO(cpovirk): should we be including other methods from the shim here and
      // in ImmutableSortedMap?
      @Deprecated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

      @GwtIncompatible // SerializableTester
      static <E> Set<E> reserializeAndAssertLenient(Set<E> original) {
        Set<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableSet);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

      @GwtIncompatible // SerializableTester
      static <E> Set<E> reserializeAndAssertLenient(Set<E> original) {
        Set<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableSet);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import com.google.common.testing.NullPointerTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

       *
       * @param predicateType The first parameter to the method (boolean or Object)
       */
      private static ImmutableList<ImmutableList<Class<?>>> allSignatures(Class<?> predicateType) {
        ImmutableSet.Builder<ImmutableList<Class<?>>> allOverloads = ImmutableSet.builder();
        // The first two are for the overloads that don't take formatting args, e.g.
        // checkArgument(boolean) and checkArgument(boolean, Object)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/AbstractNetwork.java

    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Predicate;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.math.IntMath;
    import java.util.AbstractSet;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractNetwork.java

    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Predicate;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.math.IntMath;
    import java.util.AbstractSet;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
          FluentIterable.of(
                  "base",
                  "cache",
                  "collect",
                  "escape",
                  "eventbus",
                  "graph",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
      private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
          ImmutableSet.of("latestPermitAgeSec", "setRate", "getAvailablePermits");
    
      // We would use ArbitraryInstances, but it returns 0, invalid for many RateLimiter methods.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top