Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 6,364 for classId (0.06 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MAX_RADIX + 1));
      }
    
      public void testTryParse_radixTooSmall() {
        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MIN_RADIX - 1));
      }
    
      public void testTryParse_withNullGwt() {
        assertThat(Ints.tryParse("null")).isNull();
        assertThrows(NullPointerException.class, () -> Ints.tryParse(null));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

            .isEqualTo(new long[] {(long) 1, (long) 0, (long) 0});
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Longs.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Longs.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Longs.join(",", EMPTY)).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
     * it's easy to get one: `converter::convert`.
     *
     * [*] In annotating this class, we're ignoring LegacyConverter.
     */
    public abstract class Converter<A, B> implements Function<A, B> {
      private final boolean handleNullAutomatically;
    
      // We lazily cache the reverse view to avoid allocating on every call to reverse().
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("Java7ApiChecker")
    @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.opensearch.common.xcontent.json.JsonXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    
    public class SuggestSettings {
        private static final Logger logger = LogManager.getLogger(SuggestSettings.class);
    
        protected final String settingsId;
    
        protected final Client client;
    
        protected final String settingsIndexName;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelVersionParser implements ModelVersionParser {
        private static final String SNAPSHOT = "SNAPSHOT";
        private static final Pattern SNAPSHOT_TIMESTAMP = Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/background-tasks.md

    And then another background task generated at the *path operation function* will write a message using the `email` path parameter.
    
    ## Technical Details
    
    The class `BackgroundTasks` comes directly from <a href="https://www.starlette.io/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

    /**
     * Unit test for {@link ComparisonChain}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComparisonChainTest extends TestCase {
      private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe();
    
      private static class DontCompareMe implements Comparable<DontCompareMe> {
        @Override
        public int compareTo(DontCompareMe o) {
          throw new AssertionFailedError();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.exception.InvalidAccessTokenException;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    public class AccessTokenHelper {
    
        protected static final String BEARER = "Bearer";
    
        protected Random random = new SecureRandom();
    
        public String generateAccessToken() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top