Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 5,467 for classic (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      static class CustomRuntimeException extends RuntimeException {}
    
      public void testCatching() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catching(
                    Throwable.class,
                    new Function<Throwable, Class<?>>() {
                      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       *   ForwardingSet does not forward `default` methods, as discussed in its Javadoc.
       */
    
      // Currently, we don't include stream() and spliterator() for our classes in the Android flavor.
    
      @Override
      public boolean remove(@Nullable Object o) {
        assertTrue(Thread.holdsLock(mutex));
        return super.remove(o);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    /**
     * Derived suite generators, split out of the suite builders so that they are available to GWT.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestSetGenerator<Entry<K, V>>, DerivedGenerator {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. README.md

    ```java
    // Use with SLF4J (add slf4j-api dependency)
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Commons Logging (add commons-logging dependency)  
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Java Util Logging (built-in)
    Logger logger = Logger.getLogger(MyClass.class.getName());
    ```
    
    ### Bean Copy Configuration
    ```java
    // Configure bean copying behavior
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testToStringHelperLenient_localInnerClass() {
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerNestedClass() {
        class LocalInnerClass {
          class LocalInnerNestedClass {}
        }
        String toTest =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaper.java

     * multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers extend this class and implement the {@link #escape(char)} method.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedListMultimap.java

        }
        size++;
        return node;
      }
    
      /**
       * Removes the specified node from the linked list. This method is only intended to be used from
       * the {@code Iterator} classes. See also {@link LinkedListMultimap#removeAllNodes(Object)}.
       */
      private void removeNode(Node<K, V> node) {
        if (node.previous != null) {
          node.previous.next = node.next;
        } else { // node was head
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 665 bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

      }
    
      data class CallStart(
        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent()
    
      data class CallEnd(
        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call
      }
    
      data class CallFailed(
        override val timestampNs: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map})
     * that contain elements.
     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top