Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for albers (0.23 sec)

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

       * to this implementation.
       *
       * @since 7.0
       */
      protected void standardPutAll(Map<? extends K, ? extends V> map) {
        Maps.putAllImpl(this, map);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #remove} in terms of the {@code iterator}
       * method of {@link #entrySet}. If you override {@link #entrySet}, you may wish to override {@link
       * #remove} to forward to this implementation.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * best we can do (since logging may overflow the stack) is to let the error propagate. Because
         * it is an Error, it won't be caught and logged by AbstractFuture.executeListener. Instead, it
         * can propagate through many layers of AbstractTransformFuture up to the root call to set().
         *
         * https://github.com/google/guava/issues/2254
         *
         * Other kinds of Errors are possible:
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

      public final V getOrDefault(@CheckForNull Object key, @CheckForNull V defaultValue) {
        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

        return containsKey(key) ? removeFromBothMaps(key) : null;
      }
    
      @CanIgnoreReturnValue
      @ParametricNullness
      private V removeFromBothMaps(@CheckForNull Object key) {
        // The cast is safe because the callers of this method first check that the key is present.
        V oldValue = uncheckedCastNullableTToT(delegate.remove(key));
        removeFromInverseMap(oldValue);
        return oldValue;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Verify.java

        }
      }
    
      /*
       * For a discussion of the signature of verifyNotNull, see the discussion above
       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/PairedStats.java

       * Internal constructor. Users should use {@link PairedStatsAccumulator#snapshot}.
       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
       *   <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
       *   <li>If that {@code count} is 1, {@code sumOfProductsOfDeltas} must be exactly 0.0.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractBiMap.java

        return containsKey(key) ? removeFromBothMaps(key) : null;
      }
    
      @CanIgnoreReturnValue
      @ParametricNullness
      private V removeFromBothMaps(@CheckForNull Object key) {
        // The cast is safe because the callers of this method first check that the key is present.
        V oldValue = uncheckedCastNullableTToT(delegate.remove(key));
        removeFromInverseMap(oldValue);
        return oldValue;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
Back to top