- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,416 for emptify (0.04 sec)
-
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
StringSubscriber s2 = new StringSubscriber(); ObjectSubscriber o1 = new ObjectSubscriber(); Iterator<Subscriber> empty = registry.getSubscribers(""); assertFalse(empty.hasNext()); empty = registry.getSubscribers(""); registry.register(s1); assertFalse(empty.hasNext()); Iterator<Subscriber> one = registry.getSubscribers(""); assertEquals(s1, one.next().target);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
} @Test @DisplayName("Test readParametersWireFormat with empty buffer") void testReadParametersWireFormatEmptyBuffer() throws Exception { byte[] buffer = new byte[0]; // Empty buffer adds one empty FileNotifyInformation int result = response.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
() -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap())); /* Map can be empty if it's an EnumHashBiMap. */ Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); bimap = EnumHashBiMap.create(emptyBimap); assertTrue(bimap.isEmpty()); /* Map can be empty if it's an EnumBiMap. */ Map<Currency, Country> emptyBimap2 = EnumBiMap.create(Currency.class, Country.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* @since 4.0.0 */ @Experimental public interface Interpolator extends Service { /** * Interpolates the values in the given map using the provided callback function. * This method defaults to setting empty strings for unresolved placeholders. * * @param properties The map containing key-value pairs to be interpolated. * @param callback The function to resolve variable values not found in the map. */Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
// Verify num_sids assertEquals(0, lsarSidArrayX.num_sids, "num_sids should be 0 for an empty array"); // Verify sids array assertNotNull(lsarSidArrayX.sids, "sids array should not be null for an empty array"); assertEquals(0, lsarSidArrayX.sids.length, "sids array length should be 0 for an empty array"); } @Test void testConstructorWithNullSIDArray() { jcifs.SID[] sids = null;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* @return {@code string} itself if it is nonempty; {@code null} if it is empty or null */ public static @Nullable String emptyToNull(@Nullable String string) { return Platform.emptyToNull(string); } /** * Returns {@code true} if the given string is null or is the empty string. * * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you canRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
/** * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access * policy. */ @J2ktIncompatible @GwtIncompatible // ArrayBlockingQueue public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { return new ArrayBlockingQueue<>(capacity); } // ArrayDeque /** * Creates an empty {@code ArrayDeque}. * * @since 12.0Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
/** * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access * policy. */ @J2ktIncompatible @GwtIncompatible // ArrayBlockingQueue public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { return new ArrayBlockingQueue<>(capacity); } // ArrayDeque /** * Creates an empty {@code ArrayDeque}. * * @since 12.0Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java
*/ public OptionalEntity<StemmerOverrideFile> getStemmerOverrideFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(StemmerOverrideFile.class::isInstance) .map(file -> OptionalEntity.of((StemmerOverrideFile) file)) .orElse(OptionalEntity.empty()); } /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
* @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0)