Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,771 for must (0.03 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

       * ...
       * queue.add(element);  // Needn't be in synchronized block
       * ...
       * synchronized (queue) {  // Must synchronize on queue!
       *   Iterator<E> i = queue.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Present.java

      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        return new Present<>(
            checkNotNull(
                function.apply(reference),
                "the Function passed to Optional.transform() must not return null."));
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Present) {
          Present<?> other = (Present<?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

        private final List<Problem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, must not be {@code null}.
         */
        public ToolchainsBuildingException(List<Problem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/event/arn.go

    	}
    
    	parsedARN, err := parseARN(s)
    	if err != nil {
    		return err
    	}
    
    	*arn = *parsedARN
    	return nil
    }
    
    // parseARN - parses string to ARN.
    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 6 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

                }
            }
        }
    
        publications.withType<MavenPublication>().configureEach {
            pom {
                description = provider {
                    require(project.description != null) { "You must set the description of published project ${project.name}" }
                    project.description
                }
                url = "https://gradle.org"
                licenses {
                    license {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(e0()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmAuthenticator.java

            synchronized ( a ) {
                a.url = url;
                a.sae = sae;
                return a.getNtlmPasswordAuthentication();
            }
        }
    
    
        /**
         * An application extending this class must provide an implementation for this method that returns new user
         * credentials try try when accessing SMB resources described by the <tt>getRequestingURL</tt> and
         * <tt>getRequestingException</tt> methods.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nonnull
        Optional<RemoteRepository> getRepository();
    
        /**
         * Traverses this node and potentially its children using the specified visitor.
         *
         * @param visitor the visitor to call back, must not be {@code null}
         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top