Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 105 for modification (0.15 sec)

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

             * populated.
             */
            result = result.add(requireNonNull(other.dedupedElements[i]));
          }
          return result;
        }
    
        /**
         * Creates a new copy of this SetBuilderImpl. Modifications to that SetBuilderImpl will not
         * affect this SetBuilderImpl or sets constructed from this SetBuilderImpl via build().
         */
        abstract SetBuilderImpl<E> copy();
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * removed in one segment while checking another, in which case the table was never actually
         * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment
         * modifications before recheck.)  Method containsValue() uses similar constructions for
         * stability checks.
         */
        long sum = 0L;
        Segment<K, V, E, S>[] segments = this.segments;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

       * {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips
       * all of its elements.
       *
       * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are
       * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

            }
          } else {
            throw new IllegalArgumentException("Value already present in map: " + newValue);
          }
        }
        // we do *not* update insertion order, and it isn't a structural modification!
        deleteFromTableVToK(entry, Hashing.smearedHash(values[entry]));
        values[entry] = newValue;
        insertIntoTableVToK(entry, newValueHash);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         */
        @CheckForNull ObjectCountHashMap<E> contents;
    
        /**
         * If build() has been called on the current contents multiset, we need to copy it on any future
         * modifications, or we'll modify the already-built ImmutableMultiset.
         */
        boolean buildInvoked = false;
        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /*
       * A NoOp service that will delay the startup and shutdown notification for a configurable amount
       * of time.
       */
      private static class NoOpDelayedService extends NoOpService {
        private long delay;
    
        public NoOpDelayedService(long delay) {
          this.delay = delay;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      @Override
      public int size() {
        return totalSize;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return map.containsKey(key);
      }
    
      // Modification Operations
    
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        Collection<V> collection = map.get(key);
        if (collection == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

        return this.<E>reverse().leastOf(iterator, k);
      }
    
      /**
       * Returns a <b>mutable</b> list containing {@code elements} sorted by this ordering; use this
       * only when the resulting list may need further modification, or may contain {@code null}. The
       * input is not modified. The returned list is serializable and has random access.
       *
       * <p>Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

         * They may be subsequently nulled out by TreeMultiset.clear(). I think that the only place that
         * we can reference a node whose fields have been cleared is inside the iterator (and presumably
         * only under concurrent modification).
         *
         * To access these fields when you know that they are not null, call the pred() and succ()
         * methods, which perform null checks before returning the fields.
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top