Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Hafner (6 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
       * turn, and does not create any threads of its own.
       *
       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
       * polled and executed from a task queue until there are no more tasks. The thread will not be
       * released until there are no more tasks to run.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
                "estimated size of spliterator after failed trySplit",
                originalSize,
                spliterator.estimateSize());
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. 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)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (artifacts == null || artifacts.isEmpty()) {
                if (request.isResolveRoot()) {
                    result.addArtifact(rootArtifact);
                }
                return result;
            }
    
            // After the collection we will have the artifact object in the result but they will not be resolved yet.
            result = artifactCollector.collect(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns an iterable whose iterators cycle indefinitely over the elements of {@code iterable}.
       *
       * <p>That iterator supports {@code remove()} if {@code iterable.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: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/reflect/Types.java

        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
          if (componentType != null) {
            // Only the first bound can be a class or array.
            // Bounds after the first can only be interfaces.
            if (componentType instanceof Class) {
              Class<?> componentClass = (Class<?>) componentType;
              if (componentClass.isPrimitive()) {
                return componentClass;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top