- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 565 for present (1.49 sec)
-
android/guava/src/com/google/common/base/Present.java
return new Present<>( checkNotNull( function.apply(reference), "the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
: Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size()); // Populate the results list with null initially. for (int i = 0; i < futures.size(); ++i) { values.add(null); } this.values = values; } @Override final void collectOneValue(int index, @ParametricNullness V returnValue) { @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
// Verify the field naming is set to CAMEL_TO_LOWER_SNAKE OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming(); assertTrue("Field naming should be present", fieldNamingOpt.isPresent()); assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get()); } public void test_provideMappingOption_notNull() { // Test that mapping option is never null
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
/** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. * * @return {@code true} if the graph was modified as a result of this call */ @CanIgnoreReturnValue boolean addNode(N node); /** * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse( "multiset contains present after multiset.remove(present, 2)", getMultiset().contains(e0())); assertEquals(0, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse( "multiset contains present after multiset.remove(present, 2)", getMultiset().contains(e0())); assertEquals(0, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
} @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) @CollectionSize.Require(absent = ZERO) public void testCompute_presentToPresent() { assertEquals( "Map.compute(present, functionReturningValue) should return new value", v3(), getMap() .compute( k0(), (k, v) -> { assertEquals(k0(), k);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertNotNull("Retention annotation should be present", retention); assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value()); } // Test annotation target elements public void test_targetElements() { final Target target = CustomSize.class.getAnnotation(Target.class); assertNotNull("Target annotation should be present", target);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0)