Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 52 of 52 for setFirst (0.05 sec)

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

        }
      }
    
      /**
       * Returns the next element in {@code iterator} or {@code defaultValue} if the iterator is empty.
       * The {@link Iterables} analog to this method is {@link Iterables#getFirst}.
       *
       * @param defaultValue the default value to return if the iterator is empty
       * @return the next element of {@code iterator} or the default value
       * @since 7.0
       */
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

            if (weight > 0) {
              return e;
            }
          }
          throw new AssertionError();
        }
    
        /** Returns first entry of bin for given hash. */
        ReferenceEntry<K, V> getFirst(int hash) {
          // read this volatile field only once
          AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
          return table.get(hash & (table.length() - 1));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top