Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for dort (0.51 sec)

  1. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    import static com.google.common.collect.testing.Helpers.castOrCopyToList;
    import static com.google.common.collect.testing.Helpers.equal;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

      protected abstract SortedSet<Integer> create(Integer[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
      public List<Integer> order(List<Integer> insertionOrder) {
        Collections.sort(insertionOrder);
        return insertionOrder;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

      @Override
      protected abstract SortedSet<String> create(String[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        Collections.sort(insertionOrder);
        return insertionOrder;
      }
    
      @Override
      public String belowSamplesLesser() {
        return "!! a";
      }
    
      @Override
      public String belowSamplesGreater() {
        return "!! b";
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        values =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(values, sortedSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedBytes.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(byte[] input, int from, int to, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedBytes.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    
      public void testSortIndexed() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.BoundType.CLOSED;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers.NullsBeforeB;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data.
     *
     * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
     * topological sort) that only need a way of accessing the predecessors of a node in a graph.
     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = Arrays.asList(0, 3, 5, 6, 7, 8, 9);
        Collections.sort(list, c);
        assertThat(list).containsExactly(8, 6, 7, 5, 3, 0, 9).inOrder();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_withDuplicates() {
        try {
          Ordering.explicit(1, 2, 3, 4, 2);
    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)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = Arrays.asList(0, 3, 5, 6, 7, 8, 9);
        Collections.sort(list, c);
        assertThat(list).containsExactly(8, 6, 7, 5, 3, 0, 9).inOrder();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_withDuplicates() {
        try {
          Ordering.explicit(1, 2, 3, 4, 2);
    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)
  10. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
       * Tests that the Java port of FarmHashFingerprint64 provides the same results on buffers up to
       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
Back to top