Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for yes (0.12 sec)

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

     *
     * <p>If your answers are:
     *
     * <ul>
     *   <li>(1) "no" and (2) "no", use {@link #forGraph(SuccessorsFunction)}.
     *   <li>(1) "yes" and (2) "yes", use {@link #forTree(SuccessorsFunction)}.
     *   <li>(1) "yes" and (2) "no", you can use either, but {@code forTree()} will be more efficient.
     *   <li>(1) "no" and (2) "yes", <b><i>neither will work</i></b>, but if you transform your node
     *       objects into a non-recursive form, you can use {@code forGraph()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testIsPresent_no() {
        assertFalse(Optional.absent().isPresent());
      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testIsPresent_yes() {
        assertTrue(Optional.of("training").isPresent());
      }
    
      public void testGet_absent() {
        Optional<String> optional = Optional.absent();
        try {
          optional.get();
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * a bucket in another map.
       */
      boolean isReusable() {
        return true;
      }
    
      static class NonTerminalImmutableMapEntry<K, V> extends ImmutableMapEntry<K, V> {
        /*
         * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't
         * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      private static void assertActuallyTrims(ImmutableDoubleArray iia) {
        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          List<Sink> sinks = Lists.newArrayList();
          for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
            for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
              // yes, that's a lot of sinks!
              sinks.add(new Sink(chunkSize, bufferSize));
              // For convenience, testing only with big endianness, to match DataOutputStream.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      }
    
      private static void assertActuallyTrims(ImmutableLongArray iia) {
        ImmutableLongArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableLongArray iia) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testIsPresent_no() {
        assertFalse(Optional.absent().isPresent());
      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testIsPresent_yes() {
        assertTrue(Optional.of("training").isPresent());
      }
    
      public void testGet_absent() {
        Optional<String> optional = Optional.absent();
        try {
          optional.get();
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          List<Sink> sinks = Lists.newArrayList();
          for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
            for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
              // yes, that's a lot of sinks!
              sinks.add(new Sink(chunkSize, bufferSize));
              // For convenience, testing only with big endianness, to match DataOutputStream.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top