Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Valid (4.7 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. 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)
  3. 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)
  4. 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)
  5. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
      }
    
      // TODO(lukes): investigate using the @Contended annotation on these fields when jdk8 is
      // available.
      /**
       * This field encodes the current state of the future.
       *
       * <p>The valid values are:
       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void test_contains_null_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, null));
      }
    
      public void testGetOnlyElement_noDefault_valid() {
        Iterator<String> iterator = Collections.singletonList("foo").iterator();
        assertEquals("foo", Iterators.getOnlyElement(iterator));
      }
    
      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
    - 55.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void test_contains_null_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, null));
      }
    
      public void testGetOnlyElement_noDefault_valid() {
        Iterator<String> iterator = Collections.singletonList("foo").iterator();
        assertEquals("foo", Iterators.getOnlyElement(iterator));
      }
    
      public void testGetOnlyElement_noDefault_empty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

        /**
         * @param key
         * @return
         * @throws SmbException
         */
        protected Response createNotification ( Long key ) throws SmbException {
            if ( key == null ) {
                // no valid header
                return null;
            }
            if ( this.smb2 ) {
                if ( key != -1 ) {
                    return null;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top