Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 395 for Ordering (0.07 seconds)

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

        }
      }
    
      /**
       * Returns an immutable multimap containing the same mappings as {@code multimap}. The generated
       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/IterablesTest.java

      private static void verifyMergeSorted(
          Iterable<Iterable<Integer>> iterables, Iterable<Integer> unsortedExpected) {
        Iterable<Integer> expected = Ordering.<Integer>natural().sortedCopy(unsortedExpected);
    
        Iterable<Integer> mergedIterator = mergeSorted(iterables, Ordering.natural());
    
        assertEquals(Lists.newLinkedList(expected), Lists.newLinkedList(mergedIterator));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/EndpointPair.java

      /** Returns an {@link EndpointPair} representing the endpoints of an undirected edge. */
      public static <N> EndpointPair<N> unordered(N nodeU, N nodeV) {
        // Swap nodes on purpose to prevent callers from relying on the "ordering" of an unordered pair.
        return new Unordered<>(nodeV, nodeU);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code graph}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        /**
         * Sorts both the current inputs and new inputs arrays in place.
         * This ensures consistent ordering for comparison and equality operations.
         */
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       *
       * <p>May <a
       * href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html#Spurious">
       * fail spuriously</a> and does not provide ordering guarantees, so is only rarely an appropriate
       * alternative to {@code compareAndSet}.
       *
       * @param expect the expected value
       * @param update the new value
       * @return {@code true} if successful
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

          return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public Comparator<? super Cut<C>> comparator() {
          return Ordering.natural();
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable Range<C> get(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

    import java.util.ArrayDeque;
    import java.util.Iterator;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    /**
     * Handler for dispatching events to subscribers, providing different event ordering guarantees that
     * make sense for different situations.
     *
     * <p><b>Note:</b> The dispatcher is orthogonal to the subscriber's {@code Executor}. The dispatcher
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        }
        // Execute the runnable immediately. Because of scheduling this may end up getting called before
        // some of the previously added runnables, but we're OK with that. If we want to change the
        // contract to guarantee ordering among runnables we'd have to modify the logic here to allow
        // it.
        executeListener(runnable, executor);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(IllegalArgumentException.class, () -> builder.expectedValuesPerKey(-1));
      }
    
      public void testBuilderWithExpectedValuesPerKeyZeroOrderValuesBy() {
        ImmutableSetMultimap.Builder<String, String> builder =
            ImmutableSetMultimap.<String, String>builder()
                .orderValuesBy(Ordering.natural())
                .expectedValuesPerKey(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  10. cmd/object_api_suite_test.go

    		}
    		if len(result.Objects) != 2 {
    			t.Errorf("%s: Expected length of objects to be %d, instead found to be %d", instanceType, 2, len(result.Objects))
    		}
    	}
    
    	// check ordering of pages.
    	{
    		result, err = obj.ListObjects(context.Background(), "bucket", "", "", "", 1000)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if result.Objects[0].Name != "newPrefix" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
Back to Top