- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 414 for Generics (0.04 sec)
-
guava-tests/test/com/google/common/collect/OrderingTest.java
} void testIsOrdered() { assertTrue(ordering.isOrdered(strictlyOrderedList)); assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList)); } // generic arrays and unchecked cast void testMinAndMax() { List<T> shuffledList = new ArrayList<>(strictlyOrderedList); shuffledList = shuffledCopy(shuffledList, new Random(5));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
import com.google.common.collect.testing.features.MapFeature; import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException; import java.util.Map; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SetMultimap.java
@Override Set<Entry<K, V>> entries(); /** * {@inheritDoc} * * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link Set}. To obtain * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link * Multimaps#asMap(SetMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
import com.google.common.collect.testing.features.MapFeature; import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException; import java.util.Map; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * A generic JUnit test which tests {@code iterator} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/SetMultimap.java
@Override Set<Entry<K, V>> entries(); /** * {@inheritDoc} * * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link Set}. To obtain * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link * Multimaps#asMap(SetMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/crypto/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "errors" "fmt" ) // Error is the generic type for any error happening during decrypting // an object. It indicates that the object itself or its metadata was // modified accidentally or maliciously. type Error struct { msg string cause error }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java
AccessResultImpl<Long> result = new AccessResultImpl<>(); assertTrue(result instanceof AccessResult); } public void test_genericTypeFlexibility() { // Test with different generic types AccessResultImpl<Integer> intResult = new AccessResultImpl<>(); intResult.setId(42); assertEquals(Integer.valueOf(42), intResult.getId());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 13.4K bytes - Viewed (0) -
internal/grid/handlers.go
if r != h.nilReq { //nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer) h.reqPool.Put(r) } } // PutResponse will accept a response for reuse. // These should be returned by the caller. func (h *StreamTypeHandler[Payload, Req, Resp]) PutResponse(r Resp) { if r != h.nilResp { //nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer) h.respPool.Put(r) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.7K bytes - Viewed (0)