Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1971 - 1980 of 8,165 for public (0.12 seconds)

  1. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * @since 19.0
       */
      @SuppressWarnings("unchecked")
      public static <B> ImmutableClassToInstanceMap<B> of() {
        return (ImmutableClassToInstanceMap<B>) EMPTY;
      }
    
      /**
       * Returns an {@code ImmutableClassToInstanceMap} containing a single entry.
       *
       * @since 19.0
       */
      public static <B, T extends B> ImmutableClassToInstanceMap<B> of(Class<T> type, T value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/VerifyTest.java

    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.junit.Test;
    
    public class SuggestItemTest {
    
        @Test
        public void testParameterizedConstructor() {
            // Test constructor with all parameters
            String[] text = { "test", "text" };
            String[][] readings = { { "reading1" }, { "reading2" } };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

      /** Returns an unmodifiable iterator across the elements in this collection. */
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
      @IgnoreJRERequirement // used only from APIs with Java 8 types in them
      // (not used within guava-android as of this writing, but we include it in the jar as a test)
      public Spliterator<E> spliterator() {
        return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
        LoadingCache<String, Integer> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
        LoadingCache<String, Integer> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/failureurl/SearchForm.java

    /**
     * The search form for Failure URL.
     */
    public class SearchForm {
    
        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The URL field for searching failure URLs.
         */
        public String url;
    
        /**
         * The minimum error count field for filtering failure URLs.
         */
        public String errorCountMin;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/ThumbnailQueue.java

    /**
     * @author ESFlute (using FreeGen)
     */
    public class ThumbnailQueue extends BsThumbnailQueue {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

              + "\u200a\u0000\u0000\u0000\u0000\u0000\u205f\u1680\u0000\u0000\u180e\u0000\u0000\u0000";
    
      public static final CharMatcher OLD_WHITESPACE =
          new CharMatcher() {
            @Override
            public boolean matches(char c) {
              return OLD_WHITESPACE_TABLE.charAt(c % 79) == c;
            }
          };
    
      @Param private boolean useNew;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top