Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for succ (0.14 sec)

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

        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode() {
          this.elem = null;
          this.elemCount = 1;
        }
    
        // For discussion of pred() and succ(), see the comment on the pred and succ fields.
    
        private AvlNode<E> pred() {
          return requireNonNull(pred);
        }
    
        private AvlNode<E> succ() {
          return requireNonNull(succ);
        }
    
        int count(Comparator<? super E> comparator, @ParametricNullness E e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
            } else if (pred != null) { // We are unlinking this node and it has a predecessor.
              pred.next = succ;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * predicate}, or {@code -1} if the Iterable has no such elements.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code
       * predicate.apply(Iterables.get(iterable, i))} returns {@code true}, or {@code -1} if there is no
       * such index.
       *
       * @since 2.0
       */
      public static <T extends @Nullable Object> int indexOf(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

       * IllegalArgumentException}. When methods such as {@code removeAll()} and {@code clear()} are
       * called on the filtered collection, only elements that satisfy the filter will be removed from
       * the underlying collection.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered collection's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
    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)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
      static <R extends Comparable, C extends Comparable, V>
          RowSortedTable<R, C, V> generateRowSortedTable(R row, C column, V value) {
        return generateTreeBasedTable(row, column, value);
      }
    
      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
      static <R extends Comparable, C extends Comparable, V>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

       * an {@link IllegalArgumentException}. When methods such as {@code removeAll()} and {@code
       * clear()} are called on the filtered multiset, only elements that satisfy the filter will be
       * removed from the underlying multiset.
       *
       * <p>The returned multiset isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multiset's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top