Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 339 for name (0.12 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      private static class ThrowsIae {
        public static void christenPoodle(String name) {
          checkArgument(name != null);
        }
      }
    
      private static class ThrowsNpe {
        public static void christenPoodle(String name) {
          checkNotNull(name);
        }
      }
    
      private static class ThrowsUoe {
        public static void christenPoodle(String name) {
          throw new UnsupportedOperationException();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class, Foo_Bar.class);
        sanityTests.ignoreClasses(AbstractPackageSanityTests.UNDERSCORE_IN_NAME);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class, Foo_Bar.class);
        sanityTests.ignoreClasses(AbstractPackageSanityTests.UNDERSCORE_IN_NAME);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
       * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the
       * natural ordering of the elements.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *
       * <p>Note, however, that although multiple locks can be created for a given Enum value, whether
       * it be through separate factory instances or through multiple calls to the same factory,
       * attempting to acquire multiple locks with the same Enum value (within the same thread) will
       * result in an IllegalStateException regardless of the factory's policy. For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_moreThanNineAnonymousClasses() {
        // The nth anonymous class has a name ending like "Outer.$n"
        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
          assertThat(result).isPresent();
          shadowConstants.add(result.get());
        }
        assertEquals(ImmutableSet.<Object>copyOf(shadowTestEnum.getEnumConstants()), shadowConstants);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/MoreObjects.java

        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper add(String name, boolean value) {
          return addUnconditionalHolder(name, String.valueOf(value));
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      public abstract static class ListExample {
    
        private final String name;
        private final Modifiability modifiability;
    
        protected ListExample(String name, Modifiability modifiability) {
          this.name = name;
          this.modifiability = modifiability;
        }
    
        /** Gets the name of the example */
        public String getName() {
          return name;
        }
    
        /** Creates a new list with the given contents. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top