Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 230 for ImmutableSet (0.06 seconds)

  1. guava/src/com/google/common/collect/ArrayTable.java

      /**
       * Returns an immutable set of the valid column keys, including those that are associated with
       * null values only.
       *
       * @return immutable set of column keys
       */
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnKeyToIndex.keySet();
      }
    
      @LazyInit private transient @Nullable ColumnMap columnMap;
    
      @Override
      public Map<C, Map<R, @Nullable V>> columnMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

      /**
       * Returns an immutable set of the valid column keys, including those that are associated with
       * null values only.
       *
       * @return immutable set of column keys
       */
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnKeyToIndex.keySet();
      }
    
      @LazyInit private transient @Nullable ColumnMap columnMap;
    
      @Override
      public Map<C, Map<R, @Nullable V>> columnMap() {
    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)
  3. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  4. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

        Hasher hasher2 = hashFunction.newHasher();
        for (int i = 0; i < numActions; i++) {
          RandomHasherAction.pickAtRandom(random1).performAction(random1, ImmutableSet.of(hasher1));
          RandomHasherAction.pickAtRandom(random2).performAction(random2, ImmutableSet.of(hasher2));
        }
    
        Assert.assertEquals(expected1, hasher1.hash());
        Assert.assertEquals(expected2, hasher2.hash());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns an immutable set of the values in this map, in the same order they appear in {@link
       * #entrySet}.
       */
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @Override
      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        return size;
      }
    
      // views
    
      /**
       * Returns an immutable set of the distinct keys in this multimap, in the same order as they
       * appear in this multimap.
       */
      @Override
      public ImmutableSet<K> keySet() {
        return map.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
        throw new AssertionError("unreachable");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/Graphs.java

       * @since 33.1.0 (present with return type {@code Set} since 20.0)
       */
      public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) {
        checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node);
        return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node));
      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
      }
    
      static boolean isPrimitiveOrNullable(Parameter param) {
        return param.getType().getRawType().isPrimitive() || isNullable(param);
      }
    
      private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES =
          ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");
    
      static boolean isNullable(Invokable<?, ?> invokable) {
        return NULLNESS_ANNOTATION_READER.isNullable(invokable);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        SetMultimap<String, Integer> filtered =
            filterKeys(multimap, Predicates.in(ImmutableSet.of("foo", "bar")));
    
        assertEquals(ImmutableSet.of(), filtered.replaceValues("baz", ImmutableSet.<Integer>of()));
    
        assertThrows(
            IllegalArgumentException.class, () -> filtered.replaceValues("baz", ImmutableSet.of(5)));
      }
    
      public void testFilteredKeysSetMultimapGetBadValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
Back to Top