Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for tiks (0.14 sec)

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

        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
    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)
  2. android/guava/src/com/google/common/collect/Multisets.java

        return (Multiset<T>) iterable;
      }
    
      /**
       * Returns a copy of {@code multiset} as an {@link ImmutableMultiset} whose iteration order puts
       * the highest count first, with ties broken by the iteration order of the original multiset.
       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
    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)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like to be rude, so she bore it as well as she could.
    
      `The game's going on rather better now,' she said, by way of
    keeping up the conversation a little.
    
      `'Tis so,' said the Duchess:  `and the moral of that is--"Oh,
    'tis love, 'tis love, that makes the world go round!"'
    
      `Somebody said,' Alice whispered, `that it's done by everybody
    minding their own business!'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Stopwatch.java

     *
     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(tokL.isSupertypeOf(new TypeToken<List<?>>() {}));
    
        TypeToken<Second> tokS = new TypeToken<Second>() {};
        assertTrue(tokS.isSupertypeOf(new TypeToken<Second>() {}));
        assertTrue(tokS.isSupertypeOf(new TypeToken<Third>() {}));
        assertTrue(tokS.isSupertypeOf(new TypeToken<Third<String, Integer>>() {}));
    
        TypeToken<List[]> tokA = new TypeToken<List[]>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          factory.setAccessible(true);
        }
        // Sorts methods/constructors with the least number of parameters first since it's likely easier
        // to fill dummy parameter values for them. Ties are broken by name then by the string form of
        // the parameter list.
        return BY_NUMBER_OF_PARAMETERS
            .compound(BY_METHOD_NAME)
            .compound(BY_PARAMETERS)
            .immutableSortedCopy(factories);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Stopwatch.java

     *
     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
Back to top