Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 302 for Ordering (0.14 sec)

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

                        return ImmutableSortedMultiset.copyOf(elements);
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("ImmutableSortedMultiset")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedLists.java

       * KeyAbsentBehavior)} using {@link Ordering#natural}.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> int binarySearch(
          List<? extends E> list,
          E e,
          KeyPresentBehavior presentBehavior,
          KeyAbsentBehavior absentBehavior) {
        checkNotNull(e);
        return binarySearch(list, e, Ordering.natural(), presentBehavior, absentBehavior);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            builder.orderEntriesByValue(Ordering.natural()).buildOrThrow();
        assertMapEquals(keyOrdered, "four", 4, "one", 1);
        assertMapEquals(valueOrdered, "one", 1, "four", 4);
      }
    
      public void testBuilder_orderEntriesByValue_usedTwiceFails() {
        ImmutableMap.Builder<String, Integer> builder =
            new Builder<String, Integer>().orderEntriesByValue(Ordering.natural());
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedSetMultimap.java

     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
     * already in the multimap has no effect. This interface does not specify the ordering of the
     * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps.
     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Ordering;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.TreeMap;
    import org.junit.Before;
    import org.junit.Test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
      private static final long serialVersionUID = 430848587173315748L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/classificationDefinitionMap.dfprop

    #             ; code=[column-name for code]; name=[column-name for name]
    #             ; alias=[column-name for alias]; comment=[column-name for comment]}
    #             ; where=[condition for select]; orderBy=[column-name for ordering]
    #             ; exceptCodeList=[the list of except code]
    #         }
    #     }
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        # example for implicit classification
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.testing.ForwardingWrapperTester;
    import com.google.common.testing.NullPointerTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(ImmutableSortedSet.class);
      }
    
      public void testEmpty_comparator() {
        SortedSet<String> set = of();
        assertSame(Ordering.natural(), set.comparator());
      }
    
      public void testEmpty_headSet() {
        SortedSet<String> set = of();
        assertSame(set, set.headSet("c"));
      }
    
      public void testEmpty_tailSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.testing.Helpers.NullsBeforeTwo;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top