Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Hafner (0.38 sec)

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

        return count;
      }
    
      /**
       * Returns an iterator that cycles indefinitely over the elements of {@code iterable}.
       *
       * <p>The returned iterator supports {@code remove()} if the provided iterator does. After {@code
       * remove()} is called, subsequent cycles omit the removed element, which is no longer in {@code
       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *         .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
       *         .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
       *         .build();
       *
       * // after deduplication, the resulting multimap is equivalent to
       *
       * static final ImmutableSetMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
       *     ImmutableSetMultimap.<Character, Character>builder()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          }
          laterCount--;
          canRemove = true;
          /*
           * requireNonNull is safe because laterCount starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getElement();
        }
    
        @Override
        public void remove() {
          checkRemove(canRemove);
          if (totalCount == 1) {
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
       * <p>This method takes ownership of {@code contents}; do not modify {@code contents} after this
       * returns.
       *
       * @throws NullPointerException if any of the first {@code n} elements of {@code contents} is null
       */
      static <E> ImmutableSortedSet<E> construct(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return fromEntries(comparator, sameComparator, entryArray, entryArray.length);
      }
    
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          final Comparator<? super K> comparator,
          boolean sameComparator,
          @Nullable Entry<K, V>[] entryArray,
          int size) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          return this;
        }
        int lowerIndex =
            SortedLists.binarySearch(
                ranges,
                Range::upperBound,
                range.lowerBound,
                KeyPresentBehavior.FIRST_AFTER,
                KeyAbsentBehavior.NEXT_HIGHER);
        int upperIndex =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                range.upperBound,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        if (range.hasLowerBound()) {
          fromIndex =
              SortedLists.binarySearch(
                  ranges,
                  Range::upperBound,
                  range.lowerBound,
                  KeyPresentBehavior.FIRST_AFTER,
                  KeyAbsentBehavior.NEXT_HIGHER);
        } else {
          fromIndex = 0;
        }
    
        int toIndex;
        if (range.hasUpperBound()) {
          toIndex =
              SortedLists.binarySearch(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

        // bytes when the both the map and its keySet or value collection are written to the same
        // instance of ObjectOutputStream.
    
        // TODO(b/160980469): remove support for the old serialization format after some time
        private static final boolean USE_LEGACY_SERIALIZATION = true;
    
        private final Object keys;
        private final Object values;
    
        SerializedForm(ImmutableMap<K, V> map) {
    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)
  10. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top