Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 163 for previous (2.48 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        /**
         * Adds a number of occurrences of the specified element to this multiset.
         *
         * @param element the element to add
         * @param occurrences the number of occurrences to add
         * @return the previous count of the element before the operation; possibly zero
         * @throws IllegalArgumentException if {@code occurrences} is negative, or if the resulting
         *     amount would exceed {@link Integer#MAX_VALUE}
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        boolean addedPredecessor;
    
        if (previousValue == null) {
          addedPredecessor = true;
        } else if (previousValue instanceof PredAndSucc) {
          // Restore previous PredAndSucc object.
          adjacentNodeValues.put(node, previousValue);
          addedPredecessor = false;
        } else if (previousValue != PRED) { // successor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        @Override
        public ReferenceEntry<K, V> getPreviousInAccessQueue() {
          return previousAccess;
        }
    
        @Override
        public void setPreviousInAccessQueue(ReferenceEntry<K, V> previous) {
          this.previousAccess = previous;
        }
    
        private long writeTime = Long.MAX_VALUE;
    
        @Override
        public long getWriteTime() {
          return writeTime;
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        @Override
        public ReferenceEntry<K, V> getPreviousInAccessQueue() {
          return previousAccess;
        }
    
        @Override
        public void setPreviousInAccessQueue(ReferenceEntry<K, V> previous) {
          this.previousAccess = previous;
        }
    
        private long writeTime = Long.MAX_VALUE;
    
        @Override
        public long getWriteTime() {
          return writeTime;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * that would have been produced in that idle time). So, if rate == 1 permit per second, and
       * arrivals come exactly one second after the previous, then storedPermits is _never_ increased --
       * we would only increase it for arrivals _later_ than the expected one second.
       */
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      /**
       * Adds a number of occurrences of the specified element to this multiset.
       *
       * @param element the element to add
       * @param occurrences the number of occurrences to add
       * @return the previous count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if the resulting amount
       *     would exceed {@link Integer#MAX_VALUE}
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        /**
         * Adds a number of occurrences of the specified element to this multiset.
         *
         * @param element the element to add
         * @param occurrences the number of occurrences to add
         * @return the previous count of the element before the operation; possibly zero
         * @throws IllegalArgumentException if {@code occurrences} is negative, or if the resulting
         *     amount would exceed {@link Integer#MAX_VALUE}
         */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

              @Override
              public boolean hasNext() {
                return listIter.hasPrevious();
              }
    
              @Override
              public T next() {
                return listIter.previous();
              }
    
              @Override
              public void remove() {
                listIter.remove();
              }
            };
          }
        };
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
        try {
          iterator.add("c");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @SuppressWarnings("DoNotCall")
      public void testSet() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top