Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for previous (0.25 sec)

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

      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
       *     null} if there was no previous entry.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

     * {@code Comparator} doesn't: it evaluates all the parameters of all the {@code .compare} calls,
     * even when the result of the comparison is already known from previous {@code .compare} calls.
     * That can be expensive.
     *
     * @author Mark Davis
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals("4", iterator.previous());
        assertEquals("3", iterator.previous());
        assertEquals("2", iterator.previous());
        assertTrue(iterator.hasPrevious());
        assertEquals("1", iterator.previous());
        assertFalse(iterator.hasPrevious());
        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.previous();
          fail("did not detect beginning of list");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ClassToInstanceMap.java

      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
       *     null} if there was no previous entry.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          this.input = input;
        }
    
        RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) {
          for (RoundingMode mode : modes) {
            Double previous = expectedValues.put(mode, expectedValue);
            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        public RoundToDoubleTester roundUnnecessaryShouldThrow() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Lists.java

              }
              canRemoveOrSet = true;
              return forwardIterator.previous();
            }
    
            @Override
            public int nextIndex() {
              return reversePosition(forwardIterator.nextIndex());
            }
    
            @Override
            @ParametricNullness
            public T previous() {
              if (!hasPrevious()) {
                throw new NoSuchElementException();
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

            @Override
            public Integer next(Integer value) {
              return integers().next(value);
            }
    
            @Override
            public Integer previous(Integer value) {
              return integers().previous(value);
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              return integers().distance(start, end);
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/BiMap.java

       *
       * @param key the key with which the specified value is to be associated
       * @param value the value to be associated with the specified key
       * @return the value that was previously associated with the key, or {@code null} if there was no
       *     previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code
       *     put}, returns {@code null} both if the key is absent and if it is present with a null
       *     value.)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

          int hash = element.hashCode();
          for (int i = Hashing.smear(hash); ; i++) {
            i &= mask;
            Object previous = hashTable[i];
            if (previous == null) {
              hashTable[i] = element;
              hashCode += hash;
              super.add(element);
              return;
            } else if (previous.equals(element)) {
              return;
            }
          }
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top