Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 234 for Ordered (0.07 seconds)

  1. android/guava/src/com/google/common/graph/EndpointPair.java

        this.nodeV = checkNotNull(nodeV);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of a directed edge. */
      public static <N> EndpointPair<N> ordered(N source, N target) {
        return new Ordered<>(source, target);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an undirected edge. */
      public static <N> EndpointPair<N> unordered(N nodeU, N nodeV) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        iter.remove();
    
        // forward map ordered by currency
        assertThat(bimap.keySet()).containsExactly(Currency.FRANC, Currency.PESO).inOrder();
        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
        assertThat(ordered.nodeU()).isEqualTo("source");
        assertThat(ordered.nodeV()).isEqualTo("target");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
        assertThat(ordered.nodeU()).isEqualTo("source");
        assertThat(ordered.nodeV()).isEqualTo("target");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/MutableGraph.java

       * endpoints}) if one is not already present.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be
       * directed; if it is undirected, the added edge will be undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

         *     this call (it is copied instead)
         * @return an unmodifiable, ordered map of results: the keys will be the specified quantile
         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order they were passed to the {@code
         *     indexes} method.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
          for (Entry<K, V> entry : ordered) {
            orderedMap.put(entry.getKey(), map.get(entry.getKey()));
          }
          return orderedMap.entrySet();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Platform.java

          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top