Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for unordered (0.63 sec)

  1. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

            }
          };
        }
    
        /** Uses an insertion-ordered hash-based {@code Set} to store value collections. */
        public SetMultimapBuilder<K0, @Nullable Object> linkedHashSetValues() {
          return linkedHashSetValues(DEFAULT_EXPECTED_VALUES_PER_KEY);
        }
    
        /**
         * Uses an insertion-ordered hash-based {@code Set} to store value collections, initialized to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        return new TransposedNetwork<>(network);
      }
    
      static <N> EndpointPair<N> transpose(EndpointPair<N> endpoints) {
        if (endpoints.isOrdered()) {
          return EndpointPair.ordered(endpoints.target(), endpoints.source());
        }
        return endpoints;
      }
    
      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        @WeakOuter
        class EntrySetImpl extends EntrySetView {
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return Spliterators.spliterator(this, Spliterator.ORDERED | Spliterator.DISTINCT);
          }
        }
        return new EntrySetImpl();
      }
    
      @Override
      Set<K> createKeySet() {
        @WeakOuter
        class KeySetImpl extends KeySetView {
          @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        SerializableTester.reserializeAndAssert(table);
      }
    
      public void testToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("{bar={1=b}, foo={1=a, 3=c}}", table.toString());
        assertEquals("{bar={1=b}, foo={1=a, 3=c}}", table.rowMap().toString());
      }
    
      public void testCellSetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

                UnsignedLongs.min(
                    0x5a4316b8c153ac4dL, 8L, 100L, 0L, 0x6cf78a4b139a4e2aL, 0xff1a618b7f65ea12L))
            .isEqualTo(0L);
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {LEAST},
                new long[] {LEAST, LEAST},
                new long[] {LEAST, (long) 1},
                new long[] {(long) 1},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top