Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 8,558 for class2 (0.05 sec)

  1. android/guava/src/com/google/common/cache/LongAdder.java

     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
     * @author Doug Lea
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * {@snippet :
     * class Foo {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        ArbitraryInstances.get(Executor.class).execute(ArbitraryInstances.get(Runnable.class));
        assertThat(ArbitraryInstances.get(ThreadFactory.class)).isNotNull();
        assertFreshInstanceReturned(
            BlockingQueue.class,
            BlockingDeque.class,
            PriorityBlockingQueue.class,
            DelayQueue.class,
            SynchronousQueue.class,
            ConcurrentMap.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals("abc.d.Abc", ClassPath.getClassName("abc/d/Abc.class"));
      }
    
      public void testResourceInfo_of() {
        assertThat(resourceInfo(ClassPathTest.class)).isInstanceOf(ClassInfo.class);
        assertThat(resourceInfo(ClassPath.class)).isInstanceOf(ClassInfo.class);
        assertThat(resourceInfo(Nested.class)).isInstanceOf(ClassInfo.class);
      }
    
      public void testGetSimpleName() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                         */
                         String method();
                    }
                """
                : apiElement == 'class' ? """
                    /**
                     * @since 11.38
                     */
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
          // If parameter is Class<? extends Foo>, we return Foo.class
          @SuppressWarnings("unchecked")
          T defaultClass = (T) getFirstTypeParameter(type.getType()).getRawType();
          return defaultClass;
        }
        if (type.getRawType() == TypeToken.class) {
          // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

        }
    
        public String getId() {
            return groupId + ":" + artifactId + ":" + version;
        }
    
              ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
    
        <class xdoc.anchorName="mojo">
          <name>MojoDescriptor</name>
          <version>1.0.0+</version>
          <description>A Mojo description.</description>
          <fields>
            <field>
              <name>goal</name>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    In the previous example, because the classes were different, we had to use the `response_model` parameter. But that also means that we don't get the support from the editor and tools checking the function return type.
    
    But in most of the cases where we need to do something like this, we want the model just to **filter/remove** some of the data as in this example.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                interface Foo
    
                class Bar
    
                enum class Bazar
    
                object Cathedral
    
                """
            ) {
    
                assertHasNoInformation()
                assertHasNoWarning()
                assertHasErrors(
                    added("Class", "Bar"),
                    added("Class", "Bazar"),
                    added("Class", "Cathedral"),
                    added("Class", "Foo"),
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top