Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bots (0.14 sec)

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

         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
         * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers
         * use `get(key) ?: defaultValue` instead of this method, anyway.
    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)
  2. android/guava/src/com/google/common/collect/Sets.java

              final BitSet bits = new BitSet(index.size());
    
              @Override
              @CheckForNull
              protected Set<E> computeNext() {
                if (bits.isEmpty()) {
                  bits.set(0, size);
                } else {
                  int firstSetBit = bits.nextSetBit(0);
                  int bitToFlip = bits.nextClearBit(firstSetBit);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
                  return uncheckedCastNullableTToT(map.get(key));
                }
    
                @Override
                public void remove() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

              sortedElements[uniques] = sortedElements[i];
              uniques++;
            }
          }
          Arrays.fill(sortedElements, uniques, length, null);
          if (maybeExpand && uniques * 4 > length * 3) {
            // lots of nonduplicated elements, expand the array by 50%
            sortedElements =
                Arrays.copyOf(sortedElements, IntMath.saturatedAdd(length, length / 2 + 1));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

        }
    
        @Override
        public boolean hasNext() {
          while (!checkNotNull(iterator).hasNext()) {
            // this weird checkNotNull positioning appears required by our tests, which expect
            // both hasNext and next to throw NPE if an input iterator is null.
    
            topMetaIterator = getTopMetaIterator();
            if (topMetaIterator == null) {
              return false;
            }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top