- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 727 for examples (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
import org.junit.Test; public class SuggestResponseTest { @Test public void test_constructor() throws Exception { List<String> words = new ArrayList<>(); words.add("test"); words.add("example"); List<SuggestItem> items = new ArrayList<>(); String[][] readings = new String[1][]; readings[0] = new String[] { "test" };Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
* specified by {@link Double#toString(double)}, and separated by {@code separator}. For example, * {@code join("-", 1.0, 2.0, 3.0)} returns the string {@code "1.0-2.0-3.0"}. * * <p>Note that {@link Double#toString(double)} formats {@code double} differently in GWT * sometimes. In the previous example, it returns the string {@code "1-2-3"}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 27.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
* whose next element can always be derived from the previous element. Null elements are not * supported, nor is the {@link #remove()} method. * * <p>Example: * * {@snippet : * Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeSet.java
* Range#isConnected(Range) disconnected} ranges of type {@code C}. * * <p>Implementations that choose to support the {@link #add(Range)} operation are required to * ignore empty ranges and coalesce connected ranges. For example: * * {@snippet : * RangeSet<Integer> rangeSet = TreeRangeSet.create(); * rangeSet.add(Range.closed(1, 10)); // {[1, 10]} * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import org.jspecify.annotations.Nullable; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * {@snippet : * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
* thread, which may start up other, non-daemon threads, but fail to fully initialize the * application successfully. * * <p>Example usage: * * <pre> * public static void main(String[] args) { * Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit()); * ... * </pre> *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* mode}. * * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN}, * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates through the hierarchy of class loaders towards their parent class loaders. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassLoaderIterator.*; * * ClassLoader classLoader = ...; * for (ClassLoader loader : iterable(classLoader)) { * ... * } * </pre>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
import java.util.logging.LogRecord; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests may use this to intercept messages that are logged by the code under test. Example: * * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
* normalization process, including setting initial buffer capacity, maximum term sizes, * duplicate term removal, and custom space characters. * * <p>Example usage: * <pre>{@code * Reader reader = new StringReader("Example text to normalize."); * String normalizedText = TextUtil.normalizeText(reader) * .initialCapacity(5000)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0)