Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for sortie (0.15 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      private static ImmutableList<String> sortedNumberNames(int i, int j) {
        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

            return resourceName.equals(that.resourceName) && loader == that.loader;
          }
          return false;
        }
    
        // Do not change this arbitrarily. We rely on it for sorting ResourceInfo.
        @Override
        public String toString() {
          return resourceName;
        }
      }
    
      /**
       * Represents a class that can be loaded through {@link #load}.
       *
       * @since 14.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return Arrays.asList(method.getExceptionTypes()).contains(InterruptedException.class);
      }
    
      /** Sorts the given methods primarily by name and secondarily by number of parameters. */
      private static void sortMethods(Method[] methods) {
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method m1, Method m2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in sorted order relative to the
       * specified comparator. The sorting algorithm used is stable, so elements that compare as equal
       * will stay in the order in which they appear in the input.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(
          E e1, E e2, E e3, E e4) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4));
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CollectSpliterators.java

        checkArgument(
            (topCharacteristics & Spliterator.SUBSIZED) == 0,
            "flatMap does not support SUBSIZED characteristic");
        checkArgument(
            (topCharacteristics & Spliterator.SORTED) == 0,
            "flatMap does not support SORTED characteristic");
        checkNotNull(fromSpliterator);
        checkNotNull(function);
        return new FlatMapSpliteratorOfObject<>(
            null, fromSpliterator, function, topCharacteristics, topSize);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/QuantilesTest.java

          return PSEUDORANDOM_DATASET_SORTED.get(position);
        } else {
          int positionFloor = IntMath.divide(199 * index, 2, FLOOR);
          int positionCeil = IntMath.divide(199 * index, 2, CEILING);
          double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
          double upperValue = PSEUDORANDOM_DATASET_SORTED.get(positionCeil);
          return (lowerValue + upperValue) / 2.0;
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

          return PSEUDORANDOM_DATASET_SORTED.get(position);
        } else {
          int positionFloor = IntMath.divide(199 * index, 2, FLOOR);
          int positionCeil = IntMath.divide(199 * index, 2, CEILING);
          double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
          double upperValue = PSEUDORANDOM_DATASET_SORTED.get(positionCeil);
          return (lowerValue + upperValue) / 2.0;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       * ImmutableList} sorted by its natural ordering, use {@code toSortedList(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableList#toImmutableList} to {@code
       * stream.sorted(comparator).collect()}.
       *
       * @param comparator the function by which to sort list elements
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

    /**
     * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link
     * Range}, this allows the use of an arbitrary comparator. This is designed for use in the
     * implementation of subcollections of sorted collection types.
     *
     * <p>Whenever possible, use {@code Range} instead, which is better supported.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top