Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for texts (0.22 sec)

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

    import java.util.Arrays;
    import java.util.BitSet;
    
    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    && match(exclusion.getArtifactId(), candidate.getArtifactId());
        }
    
        private boolean match(String match, String text) {
            return match.equals("*") || match.equals(text);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private Model doLoadDependencyManagement(
                Model model,
                ModelBuilderRequest request,
    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)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
        }
    
        /**
         * Tests that modules is not overridden by profile
         *
         * @throws Exception in case of issue
         */
        /* MNG-786*/
        @Test
        void testProfileModules() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link
     * ClosingFuture#finishToFuture()} or {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} paths to complete a
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return getClasspathElements(MavenProject::isCompilePathElement, false);
        }
    
        /**
         * Returns the elements placed on the classpath for tests.
         * This method can be invoked when the caller does not support module-path.
         *
         * @throws DependencyResolutionRequiredException if an artifact file is used, but has not been resolved
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            if (left.isAssignableFrom(right)) {
              assertTrue(left + " should be after " + right, i >= j);
            }
            j++;
          }
          i++;
        }
      }
    
      // Tests to make sure assertSubtypeBeforeSupertype() works.
    
      public void testAssertSubtypeTokenBeforeSupertypeToken_empty() {
        assertSubtypeTokenBeforeSupertypeToken(ImmutableList.<TypeToken<?>>of());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /**
         * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
         * implementation type.
         *
         * <p>This method is provided as a convenience for tests. Otherwise they'd need to be
         * knowledgeable about all the implementation details of our type system trickery.
         */
        abstract E castForTesting(InternalEntry<K, V, ?> entry);
    
    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)
  8. android/guava/src/com/google/common/collect/Sets.java

        public int hashCode() {
          // Warning: this is broken if size() == 0, so it is critical that we
          // substitute an empty ImmutableSet to the user in place of this
    
          // It's a weird formula, but tests prove it works.
          int adjust = size() - 1;
          for (int i = 0; i < axes.size(); i++) {
            adjust *= 31;
            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @param desc the text to use to describe this index in an error message
       * @return the value of {@code index}
       * @throws IndexOutOfBoundsException if {@code index} is negative or is not less than {@code size}
    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)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache loading: concurrent loading, exceptions during loading, etc.
     *
     * @author mike nonemacher
     */
    public class CacheLoadingTest extends TestCase {
      TestLogHandler logHandler;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top