Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 439 for sortBy (0.15 sec)

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

       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
    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)
  2. guava/src/com/google/common/collect/ImmutableList.java

       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  3. cmd/endpoint-ellipses.go

    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	sort.Slice(setCounts, func(i, j int) bool {
    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    buildQuery("sort:timestamp.desc sort:last_modified.desc"));
    
            try {
                buildQuery("sort:timestamp.xxx");
                fail();
            } catch (InvalidQueryException e) {
                // ok
            }
    
            try {
                buildQuery("sort:aaa");
                fail();
            } catch (InvalidQueryException e) {
                // ok
            }
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Comparators.java

       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
       */
    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)
  6. android/guava/src/com/google/common/collect/Comparators.java

       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    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)
  7. operator/cmd/mesh/manifest-generate.go

    	}
    	objects, err := object.ParseK8sObjectsFromYAMLManifest(strings.Join(rawOutput, helm.YAMLSeparator))
    	if err != nil {
    		return nil, err
    	}
    	// For a given group of objects, sort in order to avoid missing dependencies, such as creating CRDs first
    	objects.Sort(object.DefaultObjectOrder())
    	for _, obj := range objects {
    		yml, err := obj.YAML()
    		if err != nil {
    			return nil, err
    		}
    		output = append(output, string(yml))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return checkedCreate(nullCheckedTreeSet(elements)).descendingSet();
        }
    
        /** Sorts the elements in reverse natural order. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          Collections.sort(insertionOrder, Ordering.<Integer>natural().reverse());
          return insertionOrder;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMapDifference<Integer, Integer> diff = Maps.difference(SORTED_EMPTY, SORTED_EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnRight());
        assertEquals(SORTED_EMPTY, diff.entriesInCommon());
        assertEquals(SORTED_EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMapDifference<Integer, Integer> diff = Maps.difference(SORTED_EMPTY, SORTED_EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnRight());
        assertEquals(SORTED_EMPTY, diff.entriesInCommon());
        assertEquals(SORTED_EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top