Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 281 for already (0.18 sec)

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

       * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect.
       *
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair and doesn't allow duplicates
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      public void complete(Error e) {
        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      private static final class WrapperException extends Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 12 20:02:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

        return Longs.constrainToRange(timeoutNanos, 0L, (Long.MAX_VALUE / 4) * 3);
      }
    
      /**
       * Returns System.nanoTime() unless the timeout has already elapsed. Returns 0L if and only if the
       * timeout has already elapsed.
       */
      private static long initNanoTime(long timeoutNanos) {
        if (timeoutNanos <= 0L) {
          return 0L;
        } else {
          long startTime = System.nanoTime();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * must also be non-null.
         *
         * <p>If {@code nodeU} and {@code nodeV} are not already present in this network, this method
         * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the network.
         *
         * <p>If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<String> alreadyThere = Lists.newArrayList("already", "there");
    
        boolean changed = Iterators.addAll(alreadyThere, Iterators.<String>emptyIterator());
        assertThat(alreadyThere).containsExactly("already", "there").inOrder();
        assertFalse(changed);
      }
    
      public void testAddAllToList() {
        List<String> alreadyThere = Lists.newArrayList("already", "there");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

    /**
     * An object of this class encapsulates type mappings from type variables. Mappings are established
     * with {@link #where} and types are resolved using {@link #resolveType}.
     *
     * <p>Note that usually type mappings are already implied by the static type hierarchy (for example,
     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableGraph.java

          return this;
        }
    
        /**
         * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present.
         *
         * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
         * undirected.
         *
         * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * @throws IllegalStateException if a maximum size or weight was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumSize(long maximumSize) {
        checkState(
            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMaker.java

       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
        checkState(
            this.initialCapacity == UNSET_INT,
            "initial capacity was already set to %s",
            this.initialCapacity);
        checkArgument(initialCapacity >= 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableValueGraph.java

      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and sets
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
Back to top