- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for wrappers (0.9 sec)
-
README.md
### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ```
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* references is {@code true} and both wrappers use the {@link Object#equals(Object) same} * equivalence. */ @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (obj instanceof Wrapper) { Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /* * The actual collections that we pass as inputs will be wrappers around these, so * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input. */ ImmutableList<ImmutableSet<String>> distinctCandidatesByAscendingSize = ImmutableList.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
import java.util.TreeSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Run collection tests on wrappers from {@link Multimaps}. * * @author Jared Levy */ @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version @NullUnmarked @AndroidIncompatible // test-suite builders
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* <p>A subcollection, such as a sublist, contains some of the values for a given key. Its * ancestor field points to the full wrapped collection with all values for the key. The * subcollection {@code refreshIfEmpty}, {@code removeIfEmpty}, and {@code addToMap} methods call * the corresponding methods of the full wrapped collection. */ @WeakOuter class WrappedCollection extends AbstractCollection<V> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
implements CycleDetectingLock { // These ReadLock/WriteLock implementations shadow those in the // ReentrantReadWriteLock superclass. They are simply wrappers around the // internal Sync object, so this is safe since the shadowed locks are never // exposed or used. private final CycleDetectingReentrantReadLock readLock;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
public final String calculateUserAgent(); } org/gradle/wrapper/GradleUserHomeLookup.class package org.gradle.wrapper; public abstract class GradleUserHomeLookup { public static final String DEFAULT_GRADLE_USER_HOME; static void <clinit>(); } org/gradle/wrapper/GradleWrapperMain.class package org.gradle.wrapper; public class GradleWrapperMain { public static void main(String[]); } org/gradle/wrapper/Install$1.class package org.gradle.wrapper; public final class Install$1 implements java.util.concurrent.Callable...
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 44.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Wrapper but not wrapping a DosFileFilter SmbFileFilter nonDosFilter = mock(SmbFileFilter.class); Object wrapper = newPrivateInner("ResourceFilterWrapper", new Class<?>[] { SmbFileFilter.class }, nonDosFilter); Object unwrapped = invokePrivate(SmbEnumerationUtil.class, "unwrapDOSFilter", new Class<?>[] { ResourceFilter.class }, wrapper); assertNull(unwrapped);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
throw new RuntimeException("Wrapper exception", cause); } }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute(); // Verify result contains the wrapper exception message assertNotNull(result); assertTrue(result.contains("Wrapper exception"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
ParameterNotInstantiableException.class, () -> new ClassSanityTester().doTestEquals(SetWrapper.class)); } private abstract static class Wrapper { private final Object wrapped; Wrapper(Object wrapped) { this.wrapped = checkNotNull(wrapped); } @Override public boolean equals(@Nullable Object obj) { // In general getClass().isInstance() is bad for equals.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0)