Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for Valid (0.17 sec)

  1. android/guava/src/com/google/common/net/HostSpecifier.java

       * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a
       * specifier that is not already known to be valid.
       *
       * @throws ParseException if the specifier is not valid.
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static HostSpecifier from(String specifier) throws ParseException {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionProcessor.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     */
    public interface ModelVersionProcessor {
    
        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
        boolean isValidProperty(String property);
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      public void testIsValid() {
        final Iterable<String> validCases = Iterables.concat(VALID_NAME, PS, NO_PS, NON_PS);
        final Iterable<String> invalidCases =
            Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS);
    
        for (String valid : validCases) {
          assertTrue(valid, InternetDomainName.isValid(valid));
        }
    
        for (String invalid : invalidCases) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets
       */
      public static InetAddress forUriString(String hostAddr) {
        InetAddress addr = forUriStringNoThrow(hostAddr);
        if (addr == null) {
          throw formatIllegalArgumentException("Not a valid URI IP literal: '%s'", hostAddr);
        }
    
        return addr;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener.assertException(error);
      }
    
      public void testAddListenerAfterCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testFutureBeforeCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testInputFutureToString() throws Throwable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      public void testIsValid() {
        final Iterable<String> validCases = Iterables.concat(VALID_NAME, PS, NO_PS, NON_PS);
        final Iterable<String> invalidCases =
            Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS);
    
        for (String valid : validCases) {
          assertTrue(valid, InternetDomainName.isValid(valid));
        }
    
        for (String invalid : invalidCases) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ReferenceEntry.java

    import javax.annotation.CheckForNull;
    
    /**
     * An entry in a reference map.
     *
     * <p>Entries in the map can be in the following states:
     *
     * <p>Valid:
     *
     * <ul>
     *   <li>Live: valid key/value are set
     *   <li>Loading: loading is pending
     * </ul>
     *
     * <p>Invalid:
     *
     * <ul>
     *   <li>Expired: time expired (key/value may still be set)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

     *
     */
    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    
        /**
         * Sets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @param bean The bean to configure, may be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top