Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 287 for Ordering$ (0.12 sec)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

      }
    
      public void testOrderedPermutationSetRepeatedElements() {
        List<Integer> list = newArrayList(1, 1, 2, 2);
        Iterator<List<Integer>> permutations =
            Collections2.orderedPermutations(list, Ordering.natural()).iterator();
    
        assertNextPermutation(newArrayList(1, 1, 2, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 1, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 2, 1), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                            TreeMultiset.create(asList(elements)));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("ForwardingSortedMultiset with standard impls")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionBean.java

    import org.dbflute.cbean.coption.StatementConfigCall;
    import org.dbflute.cbean.dream.SpecifiedColumn;
    import org.dbflute.cbean.exception.ConditionBeanExceptionThrower;
    import org.dbflute.cbean.ordering.OrderByBean;
    import org.dbflute.cbean.paging.PagingBean;
    import org.dbflute.cbean.paging.PagingInvoker;
    import org.dbflute.cbean.scoping.AndQuery;
    import org.dbflute.cbean.scoping.ModeQuery;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder,
          Bound from,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

    public final class UnsignedLongs {
      private UnsignedLongs() {}
    
      public static final long MAX_VALUE = -1L; // Equivalent to 2^64 - 1
    
      /**
       * A (self-inverse) bijection which converts the ordering on unsigned longs to the ordering on
       * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as
       * signed longs.
       */
      private static long flip(long a) {
        return a ^ Long.MIN_VALUE;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Predicate;
    import com.google.common.base.VerifyException;
    import com.google.common.collect.Ordering.IncomparableValueException;
    import com.google.common.collect.TestExceptions.SomeCheckedException;
    import com.google.common.collect.TestExceptions.SomeError;
    import com.google.common.collect.TestExceptions.SomeOtherCheckedException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/Collections2Test.java

      }
    
      public void testOrderedPermutationSetRepeatedElements() {
        List<Integer> list = newArrayList(1, 1, 2, 2);
        Iterator<List<Integer>> permutations =
            Collections2.orderedPermutations(list, Ordering.natural()).iterator();
    
        assertNextPermutation(newArrayList(1, 1, 2, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 1, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 2, 1), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

       *     indicates that the elements' <i>natural ordering</i> should be used.
       */
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> TreeMultiset<E> create(
          @CheckForNull Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
            : new TreeMultiset<E>(comparator);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

            if (forwardCmp == null) {
              forwardCmp = (Comparator) Ordering.natural();
            }
            result = comparator = reverse(forwardCmp);
          }
          return result;
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

            if (forwardCmp == null) {
              forwardCmp = (Comparator) Ordering.natural();
            }
            result = comparator = reverse(forwardCmp);
          }
          return result;
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top