Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 727 for examples (0.04 sec)

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

       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSet.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSet} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * documentation for {@link Collection}:
       *
       * <blockquote>
       *
       * "Some collection implementations have restrictions on the elements that they may contain. For
       * example, some implementations prohibit null elements, and some have restrictions on the types
       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/NullnessCasts.java

       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
     * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code
     * finalizeReferent()} on the remaining references.
     *
     * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. samples/guide/README.md

    Samples
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 27 02:30:33 UTC 2019
    - 16 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        private ReserializedListGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public List<E> create(Object... elements) {
          return (List<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractorTest.java

            assertTrue(content.contains("Age"));
            assertTrue(content.contains("Department"));
    
            // Verify data extraction
            assertTrue(content.contains("John Doe"));
            assertTrue(content.contains("john@example.com"));
            assertTrue(content.contains("Engineering"));
        }
    
        public void test_columnMetadata() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/csv/test.csv");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

     *   <li>{@link DataService} - The service for managing access results.</li>
     * </ul>
     *
     * <p>Each parameter is stored in a ThreadLocal variable to ensure thread safety.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
     * CrawlingParameterUtil.setUrlQueue(newUrlQueue);
     *
     * CrawlerContext context = CrawlingParameterUtil.getCrawlerContext();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/package-info.java

     *
     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
     *   <li>{@link MapMaker}
     *   <li>{@link MinMaxPriorityQueue}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top