Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 221 for Reimplement (0.28 sec)

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

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graph.java

     * ImmutableGraph#copyOf(Graph)}:
     *
     * {@snippet :
     * ImmutableGraph<Integer> immutableGraph = ImmutableGraph.copyOf(graph);
     * }
     *
     * <p>Instances of {@link ImmutableGraph} do not implement {@link MutableGraph} (obviously!) and are
     * contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
     * implement {@code BiPredicate<T, T>} (as it does in the main Guava artifact), but we currently
     * target a lower API level. In the meantime, if you have support for method references you can use
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Graph.java

     * ImmutableGraph#copyOf(Graph)}:
     *
     * {@snippet :
     * ImmutableGraph<Integer> immutableGraph = ImmutableGraph.copyOf(graph);
     * }
     *
     * <p>Instances of {@link ImmutableGraph} do not implement {@link MutableGraph} (obviously!) and are
     * contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
      /**
       * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the
       * detection logic to treat all locks in the same manner.
       */
      private interface CycleDetectingLock {
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccess() {
        Iterator<Integer> source = asList(1, 2, 3).iterator();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

          Iterator<B> iterB = streamB.iterator();
          while (iterA.hasNext() && iterB.hasNext()) {
            consumer.accept(iterA.next(), iterB.next());
          }
        }
      }
    
      // Use this carefully - it doesn't implement value semantics
      private static final class TemporaryPair<A extends @Nullable Object, B extends @Nullable Object> {
        @ParametricNullness final A a;
        @ParametricNullness final B b;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                });
            }
        }
    
        @Nested
        @DisplayName("SmbBasicFileInfo Interface Tests")
        class SmbBasicFileInfoTests {
    
            @Test
            @DisplayName("Should correctly implement SmbBasicFileInfo interface")
            void testSmbBasicFileInfoInterface() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .isEqualTo("RESPONSE B")
          requestBody.close()
          assertThat(responseBody.readUtf8Line()).isNull()
        }
        body.awaitSuccess()
      }
    
      /**
       * OkHttp currently doesn't implement failing the request body stream independently of failing the
       * corresponding response body stream. This is necessary if we want servers to be able to stop
       * inbound data and send an early 400 before the request body completes.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * <ul>
       *   <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will
       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
       *       whether the author intended for the class to be a value type.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top