Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 633 for itself (0.16 sec)

  1. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       other tests. We want to exclude the other tests (which Android can't handle) while
     *       continuing to run {@code FooTest} itself. This is exactly what happens with {@code
     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface Language extends ExtensibleEnum {
    
        /**
         * The "none" language. It is not versioned, family is same to itself, and compatible with itself only.
         * In turn, every {@link Language} implementation must be compatible with {@code NONE} language.
         */
        Language NONE = language("none");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        checkArgument(elements.length == 1);
                        return Sets.union(Sets.<String>newHashSet(elements), newHashSet(elements));
                      }
                    })
                .named("singleton U itself")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        checkArgument(elements.length == 1);
                        return Sets.union(Sets.<String>newHashSet(elements), newHashSet(elements));
                      }
                    })
                .named("singleton U itself")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/README.md

    OkHttp Testing Support
    ======================
    
    This module offers utilities and support for testing OkHttp itself. It's not intended for use by
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 16 02:08:18 UTC 2019
    - 195 bytes
    - Viewed (0)
  10. futures/listenablefuture1/pom.xml

        Contains Guava's com.google.common.util.concurrent.ListenableFuture class,
        without any of its other classes -- but is also available in a second
        "version" that omits the class to avoid conflicts with the copy in Guava
        itself. The idea is:
    
        - If users want only ListenableFuture, they depend on listenablefuture-1.0.
    
        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 21:42:09 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top