Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 302 for Ordering (0.08 sec)

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

      };
    
      static final Supplier<TreeSet<String>> STRING_TREESET_FACTORY =
          new Supplier<TreeSet<String>>() {
            @Override
            public TreeSet<String> get() {
              return new TreeSet<>(Ordering.natural().nullsLast());
            }
          };
    
      static void populateMultimapForGet(Multimap<Integer, String> multimap, String[] elements) {
        multimap.put(2, "foo");
        for (String element : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

       * iterables are equivalent to one another.
       *
       * <p>Note that this method performs a similar function for equivalences as {@link
       * com.google.common.collect.Ordering#lexicographical} does for orderings.
       *
       * <p>The returned object is serializable if this object is serializable.
       *
       * @since 10.0
       */
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
     *
     * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion
     * order. Any removal invalidates any ordering guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       */
      private static final class ThreadConfinedTaskQueue {
        /**
         * This field is only used for identity comparisons with the current thread. Field assignments
         * are atomic, but do not provide happens-before ordering; however:
         *
         * <ul>
         *   <li>If this field's value == currentThread, we know that it's up to date, because write
         *       operations in a thread always happen-before subsequent read operations in the same
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) {
                        throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec);
                    }
                }
    
                restriction = new Restriction(lowerVersion, lowerBoundInclusive, upperVersion, upperBoundInclusive);
            }
    
            return restriction;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.Chars;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public class TraverserTest {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.Chars;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public class TraverserTest {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            checkInvalidRange("[1.0,1.2),1.3");
            // overlap
            checkInvalidRange("[1.0,1.2),(1.1,1.3]");
            // overlap
            checkInvalidRange("[1.1,1.3),(1.0,1.2]");
            // ordering
            checkInvalidRange("(1.1,1.2],[1.0,1.1)");
        }
    
        @Test
        void testIntersections() throws InvalidVersionSpecificationException {
            VersionRange range1 = VersionRange.createFromVersionSpec("1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

      /**
       * Returns a comparator that compares two {@code char} arrays <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>; not advisable
       * for sorting user-visible strings as the ordering may not match the conventions of the user's
       * locale. That is, it compares, using {@link #compare(char, char)}), the first pair of values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * not in {@link #nextElements}, this method throws an {@link UnknownElementException}.
         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top