- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 727 for examples (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
this.entryComparator = entryComparator(emptyMap.comparator()); // derive values for inclusive filtering from the input samples SampleElements<Entry<K, V>> samples = delegate.samples(); List<Entry<K, V>> samplesList = asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); sort(samplesList, entryComparator); this.firstInclusive = samplesList.get(0).getKey();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
crawler.addIncludeFilter("http://example\\.com/.*"); crawler.addExcludeFilter("http://example\\.com/exclude/.*"); // Initialize the filter crawler.urlFilter.init(crawler.getSessionId()); assertTrue(crawler.urlFilter.match("http://example.com/page")); assertFalse(crawler.urlFilter.match("http://example.com/exclude/page")); } public void test_daemon_mode() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Nov 11 13:40:14 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* @author Ben Yu * @since 1.0 */ @GwtCompatible public final class Throwables { private Throwables() {} /** * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage: * * <pre> * for (Foo foo : foos) { * try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
ADDING_NEW_LANGUAGE.md
cp fess_label_en.properties fess_label_[your_locale].properties # Copy message file (~200 translation entries) cp fess_message_en.properties fess_message_[your_locale].properties ``` **Example for Swedish (`sv`):** ```bash cp fess_label_en.properties fess_label_sv.properties cp fess_message_en.properties fess_message_sv.properties ``` ### 2. Translate Content
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 11:36:30 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
* This class provides a simple way to construct RequestData objects with method chaining. * * <p>Usage example:</p> * <pre> * RequestData request = RequestDataBuilder.newRequestData() * .method("GET") * .url("https://example.com") * .weight(1.0f) * .build(); * </pre> * * <p>The builder is implemented using an inner class {@link RequestDataContext} that handles
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* with {@link #where} and types are resolved using {@link #resolveType}. * * <p>Note that usually type mappings are already implied by the static type hierarchy (for example, * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in * the context of {@code class MyStringList implements List<String>}). In such case, prefer to useRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
@Override protected Set<String> create(String[] elements) { return intersection( newHashSet(samples().e1(), samples().e3()), newHashSet(samples().e2(), samples().e4())); } }) .named("set & disjoint") .withFeatures(CollectionSize.ZERO, CollectionFeature.ALLOWS_NULL_VALUES)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } * * <p>Here's an example that uses a user-defined finalization predicate:
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* shared resources. * * @param <K> the most general type of keys this listener can listen for; for example {@code Object} * if any key is acceptable * @param <V> the most general type of values this listener can listen for; for example {@code * Object} if any key is acceptable * @author Charles Fry * @since 10.0 */ @GwtCompatible public interface RemovalListener<K, V> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_enhancement_request.yaml
- type: textarea attributes: label: Why do we need it to be improved? validations: required: true - type: textarea attributes: label: Example description: > Please provide an example usage of the feature that would be different with the improvement. render: java validations: required: true - type: textarea attributes:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.9K bytes - Viewed (0)