Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for Valid (0.21 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                                BuilderProblem.Severity.ERROR,
                                "pluginGroups.pluginGroup[" + i + "]",
                                null,
                                "must denote a valid group id and match the pattern " + ID);
                    }
                }
            }
    
            List<Server> servers = settings.getServers();
    
            if (servers != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

    import org.apache.maven.model.v4.MavenTransformer;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultModelValidator implements ModelValidator {
    
        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

          return result;
        }
        byte[] trunc = new byte[length];
        System.arraycopy(result, 0, trunc, 0, length);
        return trunc;
      }
    
      /**
       * Determines whether the specified character sequence is a valid encoded string according to this
       * encoding.
       *
       * @since 20.0
       */
      public abstract boolean canDecode(CharSequence chars);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void setValue(S segment, E entry, V value);
      }
    
      /**
       * An entry in a hash table of a {@link Segment}.
       *
       * <p>Entries in the map can be in the following states:
       *
       * <p>Valid: - Live: valid key/value are set
       *
       * <p>Invalid: - Collected: key/value was partially collected, but not yet cleaned up
       */
      interface InternalEntry<K, V, E extends InternalEntry<K, V, E>> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Verifies exclusions listed in dependencyManagement are valid for
     * transitive dependencies.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            ModelData resultData = new ModelData(request.getSource(), inputModel);
            String superModelVersion = inputModel.getModelVersion() != null ? inputModel.getModelVersion() : "4.0.0";
            if (!VALID_MODEL_VERSIONS.contains(superModelVersion)) {
                // Maven 3.x is always using 4.0.0 version to load the supermodel, so
                // do the same when loading a dependency.  The model validator will also
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void test_contains_nonnull_iterable_no() {
        Iterable<String> set = iterable("a", "b");
        assertFalse(Iterables.contains(set, "c"));
      }
    
      public void testGetOnlyElement_noDefault_valid() {
        Iterable<String> iterable = Collections.singletonList("foo");
        assertEquals("foo", Iterables.getOnlyElement(iterable));
      }
    
      public void testGetOnlyElement_noDefault_empty() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        }
    
        @Override
        public String toString() {
          return "BY_TO_STRING";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
      }
    
      // Always equal is a valid total ordering. And it works for any Object.
      private static final class AlwaysEqual extends Ordering<@Nullable Object>
          implements Serializable {
        private static final AlwaysEqual INSTANCE = new AlwaysEqual();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top