Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for fess (0.34 sec)

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

     * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
     * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer
     * error. If your needs are more complex than {@code SettableFuture} supports, use {@link
     * AbstractFuture}, which offers an extensible version of the API.
     *
     * @author Sven Mawson
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * amortized since some operations can trigger a hash table resize.
     *
     * <p>This implementation consumes significantly less memory than {@code java.util.LinkedHashSet} or
     * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
     * {@code java.util.LinkedHashSet}, it offers insertion-order iteration, with identical behavior.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

        return NaturalOrdering.INSTANCE.min(iterator);
      }
    
      @Override
      public <E extends Comparable<?>> E max(Iterable<E> iterable) {
        return NaturalOrdering.INSTANCE.min(iterable);
      }
    
      // preserving singleton-ness gives equals()/hashCode() for free
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.natural().reverse()";
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedMultiset.java

       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        // the whole array.
        int from = 0;
        int to = array.length - 1;
    
        while (true) {
          if (to <= from + 1) {
            // Two or less elements left.
            if (to == from + 1 && array[to] < array[from]) {
              // Exactly two elements left.
              swap(array, from, to);
            }
            return array[k];
          } else {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        // the whole array.
        int from = 0;
        int to = array.length - 1;
    
        while (true) {
          if (to <= from + 1) {
            // Two or less elements left.
            if (to == from + 1 && array[to] < array[from]) {
              // Exactly two elements left.
              swap(array, from, to);
            }
            return array[k];
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        }
    
        @Override
        public Map<String, Collection<Integer>> create(Object... elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          // assumes that each set is a singleton or less (as is done for the samples)
          for (Object elem : elements) {
            @SuppressWarnings("unchecked") // safe by generator contract
            Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
       * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is
       * less than any non-null value.
       */
      private enum StringLength implements Comparator<@Nullable String> {
        COMPARATOR;
    
        @Override
        public int compare(@Nullable String first, @Nullable String second) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Utf8.java

        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

        assertLessThan(STOPPING, TERMINATED);
      }
    
      private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) {
        if (a.compareTo(b) >= 0) {
          fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b));
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
Back to top