Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 321 for order (0.15 sec)

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

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
    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. android/guava/src/com/google/common/collect/Ordering.java

     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Ordering<T extends @Nullable Object> implements Comparator<T> {
      // Natural order
    
      /**
       * Returns a serializable ordering that uses the natural order of the values. The ordering throws
       * a {@link NullPointerException} when passed a null parameter.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        @Override
        public Iterable<Entry<E>> order(List<Entry<E>> insertionOrder) {
          // We mimic the order from gen.
          Map<E, Entry<E>> map = new LinkedHashMap<>();
          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
          List<Entry<E>> order = new ArrayList<>();
          for (E e : gen.order(new ArrayList<E>(map.keySet()))) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  }
                })
            .named("checkedNavigableSet/TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    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)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

        implements Multiset<E> {
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableMultiset}. Elements iterate in order by the <i>first</i> appearance of that element in
       * encounter order.
       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    			continue
    		}
    		diskCount++
    	}
    	return diskCount
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top