Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 136 for mordred (0.19 sec)

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

      }
    
      /**
       * A means for changing an Ordering into another Ordering. Each instance is responsible for
       * creating the alternate Ordering, and providing a List that is known to be ordered, based on an
       * input List known to be ordered according to the input Ordering.
       */
      private enum OrderingMutation {
        REVERSE {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        } catch (UnknownHostException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(1, 2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(2, 1))).isFalse();
      }
    
      @Test
      public void edgeValue_directed_correct() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.edgeValue(EndpointPair.ordered(1, 2))).hasValue("A");
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

                .putEdgeValue(1, 2, "1-2")
                .build();
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
      public void immutableValueGraphBuilder_incidentEdgeOrder_stable() {
        ImmutableValueGraph<Integer, String> graph =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableSet
      public static <K extends Comparable<? super K>> NavigableSet<K> subSet(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(Arrays.asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(network.incidentNodes(10)).isEqualTo(EndpointPair.ordered("A", "B"));
      }
    
      @Test
      public void immutableNetworkBuilder_putEdgeFromEndpointPair() {
        ImmutableNetwork<String, Integer> network =
            NetworkBuilder.directed()
                .<String, Integer>immutable()
                .addEdge(EndpointPair.ordered("A", "B"), 10)
                .build();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  8. 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.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top