Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 203 for equivalentTo (0.1 sec)

  1. android/guava/src/com/google/common/collect/SortedLists.java

         *
         * <p>Note that the return value will be {@code >= 0} if and only if there is an element of the
         * list that compares as equal to the key.
         *
         * <p>This is equivalent to the behavior of {@link java.util.Collections#binarySearch(List,
         * Object)} when the key isn't present, since {@code ~insertionIndex} is equal to {@code -1 -
         * insertionIndex}.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

    @J2ktIncompatible
    @GwtIncompatible
    public final class Files {
    
      private Files() {}
    
      /**
       * Returns a buffered reader that reads from a file using the given character set.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

       * RoundingMode}. If the {@code RoundingMode} is {@link RoundingMode#DOWN}, then this method is
       * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR},
       * then this method is equivalent to {@link Math#floorDiv(long,long) Math.floorDiv}{@code (p, q)}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but network properties differ.
      // (In this case the networks are considered equivalent; the property differences are irrelevant.)
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but network properties differ.
      // (In this case the networks are considered equivalent; the property differences are irrelevant.)
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        }
      },
      ;
    
      /**
       * Calculates a single quantile. Equivalent to {@code
       * Quantiles.scale(scale).index(index).computeInPlace(dataset)}.
       */
      abstract double singleQuantile(int index, int scale, double[] dataset);
    
      /**
       * Calculates multiple quantiles. Equivalent to {@code
       * Quantiles.scale(scale).indexes(indexes).computeInPlace(dataset)}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       * that of {@code ((Short) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Short#compare} method instead.
       *
       * @param a the first {@code short} to compare
       * @param b the second {@code short} to compare
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * that of {@code ((Character) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Character#compare} method instead.
       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} to compare
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * that of {@code ((Short) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Short#compare} method instead.
       *
       * @param a the first {@code short} to compare
       * @param b the second {@code short} to compare
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        } catch (AssertionFailedError expected) {
          assertThat(expected)
              .hasMessageThat()
              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top