Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3981 - 3990 of 4,422 for Final (0.02 seconds)

  1. guava-testlib/src/com/google/common/testing/SerializableTester.java

     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    @GwtCompatible // but no-op!
    @NullMarked
    public final class SerializableTester {
      private SerializableTester() {}
    
      /**
       * Serializes and deserializes the specified object.
       *
       * <p><b>GWT warning:</b> Under GWT, this method simply returns its input, as proper GWT
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

    import org.codelibs.core.exception.NoSuchFieldRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class ClassUtilTest {
    
        /** */
        public static final String HOGE = "hoge";
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testForName_EmptyName() throws Exception {
            ClassUtil.forName("");
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                // Override to avoid database operations
                taskList.clear();
            }
    
            @Override
            protected String getImageFilename(final Map<String, Object> docMap) {
                // Override to avoid null pointer issues
                final String docid = (String) docMap.get("_id");
                if (docid == null) {
                    return "default.jpg";
                }
                return getImageFilename(docid);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            .expectCollects(expected, "a", "B", "a", "c", "b", "b", "d");
      }
    
      public void testToImmutableSortedSet_duplicates() {
        class TypeWithDuplicates implements Comparable<TypeWithDuplicates> {
          final int a;
          final int b;
    
          TypeWithDuplicates(int a, int b) {
            this.a = a;
            this.b = b;
          }
    
          @Override
          public int compareTo(TypeWithDuplicates o) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * only a secondary goal.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashCodeBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"1000", "100000"})
      private int size;
    
      @Param WhereToDiffer whereToDiffer;
    
      @Param EqualsImplementation equalsImpl;
    
      private enum WhereToDiffer {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          (o1, o2) -> ((Comparable<Object>) o1).compareTo(o2);
    
      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.condition.OS.WINDOWS;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

            ElasticsearchDistribution.Platform platform = distribution.getPlatform();
            Architecture architecture = distribution.getArchitecture();
            String projectName = "";
    
            final String archString = platform == ElasticsearchDistribution.Platform.WINDOWS || architecture == Architecture.X64
                ? ""
                : "-" + architecture.toString().toLowerCase();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
Back to Top