Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for Gill (2.19 sec)

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

       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
          int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) {
        Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n);
        // If duplicates are allowed, this map will track the last value for each duplicated key.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        this.lastEntry = ENDPOINT;
        // Either both arrays are null or neither is, but we check both to satisfy the nullness checker.
        if (predecessor != null && successor != null) {
          Arrays.fill(predecessor, 0, size(), 0);
          Arrays.fill(successor, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
       * For discussion of the safety of the following methods, see the comments near the end of
       * CompactHashMap.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

        checkNotNull(executor, "Executor was null.");
        try {
          executor.execute(listener);
        } catch (Exception e) { // sneaky checked exception
          // ListenableFuture's contract is that it will not throw unchecked exceptions, so log the bad
          // runnable and/or executor and swallow it.
          log.get()
              .log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicate.java

       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    Guava, the best approach is to create an [issue][] (or comment on an existing
    issue if there is one) requesting the feature and describing specific use cases
    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    and review. Any code should come after this.
    
    [APIs]: https://en.wikipedia.org/wiki/Application_programming_interface
    [issue]: https://github.com/google/guava/issues
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingMapEntry.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        suite.addTestSuite(ImmutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top