Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 379 for orderings (0.3 sec)

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

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        assertThat(graph).isEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but edge order differs.
      // In this case the graphs are considered equivalent; the edge add orderings are irrelevant.
      @Test
      public void equivalent_edgeAddOrdersDiffer() {
        GraphBuilder<Integer> builder = GraphBuilder.from(graph);
        MutableGraph<Integer> g1 = builder.build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ListMultimap.java

       * this method returns a {@link List}, instead of the {@link java.util.Collection} specified in
       * the {@link Multimap} interface.
       */
      @Override
      List<V> get(@ParametricNullness K key);
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

     * </ul>
     *
     * <h3>Understanding complex orderings</h3>
     *
     * <p>Complex chained orderings like the following example can be challenging to understand.
     *
     * <pre>{@code
     * Ordering<Foo> ordering =
     *     Ordering.natural()
     *         .nullsFirst()
     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }</pre>
     *
     * Note that each chaining method returns a new ordering instance which is backed by the previous
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        assertThat(network).isEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but edge order differs.
      // (In this case the networks are considered equivalent; the edge add orderings are irrelevant.)
      @Test
      public void equivalent_edgeAddOrdersDiffer() {
        NetworkBuilder<Integer, String> builder =
            NetworkBuilder.from(network).allowsParallelEdges(true);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractListMultimap.java

      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractListMultimap.java

      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

          Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
        this.collector = checkNotNull(collector);
        this.equivalence = checkNotNull(equivalence);
      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        assertThat(graph).isEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but edge order differs.
      // In this case the graphs are considered equivalent; the edge add orderings are irrelevant.
      @Test
      public void equivalent_edgeAddOrdersDiffer() {
        GraphBuilder<Integer> builder = GraphBuilder.from(graph);
        MutableGraph<Integer> g1 = builder.build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 4.7K bytes
    - Viewed (0)
Back to top