Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for previous (0.2 sec)

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

              StrongKeyWeakValueSegment<K, V> segment, StrongKeyWeakValueEntry<K, V> entry, V value) {
            WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> previous = entry.valueReference;
            entry.valueReference = new WeakValueReferenceImpl<>(segment.queueForValues, value, entry);
            previous.clear();
          }
    
          @Override
          public StrongKeyWeakValueEntry<K, V> newEntry(
              StrongKeyWeakValueSegment<K, V> segment,
    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. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            // if already there we remove it and add again
            int index = attachedArtifacts.indexOf(artifact);
            if (index >= 0) {
                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    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)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       *
       * But the methods in this class want to throw different exceptions, depending on the args, so it
       * appears that this pattern is not directly applicable. But we can use the ridiculous, devious
       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        final Object localValue = value;
        return localValue instanceof Cancellation;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>If a cancellation attempt succeeds on a {@code Future} that had previously been {@linkplain
       * #setFuture set asynchronously}, then the cancellation will also be propagated to the delegate
       * {@code Future} that was supplied in the {@code setFuture} call.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top