Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for existent (0.15 sec)

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

            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                // We found an existing entry.
    
                V entryValue = e.getValue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraph.java

     * the graph), you should use the non-mutating {@link ValueGraph} interface, or an {@link
     * ImmutableValueGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code ValueGraph} using {@link
     * ImmutableValueGraph#copyOf(ValueGraph)}:
     *
     * <pre>{@code
     * ImmutableValueGraph<Integer, Double> immutableGraph = ImmutableValueGraph.copyOf(graph);
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       * ByteArrayOutputStream}. The given output stream is not reset before being written to by the
       * returned {@code ByteArrayDataOutput} and new data will be appended to any existing content.
       *
       * <p>Note that if the given output stream was not empty or is modified after the {@code
       * ByteArrayDataOutput} is created, the contract for {@link ByteArrayDataOutput#toByteArray} will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        long halfTimeoutNanos = unit.toNanos(timeout) / 2;
        // Disable new tasks from being submitted
        service.shutdown();
        try {
          // Wait for half the duration of the timeout for existing tasks to terminate
          if (!service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS)) {
            // Cancel currently executing tasks
            service.shutdownNow();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

      /*
       * This class is used to serialize all ImmutableSortedSet instances,
       * regardless of implementation type. It captures their "logical contents"
       * only. This is necessary to ensure that the existence of a particular
       * implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<E> implements Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        public ImmutableSet<@NonNull E> immutableCopy() {
          return ImmutableSet.copyOf((SetView<@NonNull E>) this);
        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Supplier.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            if (existingCounter == null) {
              return 0;
            }
            // existingCounter != null: fall through to operate against the existing AtomicInteger
          }
    
          while (true) {
            int oldValue = existingCounter.get();
            if (oldValue != 0) {
              try {
                int newValue = IntMath.checkedAdd(oldValue, occurrences);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top