- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for superclasses (0.06 sec)
-
src/main/java/org/codelibs/core/lang/ClassIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; import org.codelibs.core.message.MessageFormatter; /** * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassIterator.*; * * Class<?> someClass = ...; * for (Class<?> clazz : iterable(someClass)) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
* @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass(); checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass); return ((ParameterizedType) superclass).getActualTypeArguments()[0]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { public abstract void overriddenInSubclassNowhereAnnotated(Object o); public abstract void overriddenAndAnnotatedInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
import java.util.ArrayList; import java.util.List; public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> neitherOverriddenNorAnnotatedEvents = new ArrayList<>(); final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
</code> </codeSegment> </codeSegments> </class> <class rootElement="true" xml.tagName="toolchains" xsd.compositor="sequence"> <name>PersistedToolchains</name> <superClass>TrackableBase</superClass> <description> The {@code <toolchains>} element is the root of the descriptor. The following table lists all the possible child elements. </description>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
import java.util.ArrayList; import java.util.List; public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> notOverriddenInSubclassEvents = new ArrayList<>(); final List<Object> overriddenNotAnnotatedInSubclassEvents = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName)); byte[] dst = new byte[100]; int dstIndex = 0; // Mock the superclass method to control its behavior doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
void testInheritanceHierarchy() { // When Class<?> superclass = Handler.class.getSuperclass(); // Then assertEquals(jcifs.smb1.http.Handler.class, superclass); assertEquals(URLStreamHandler.class, superclass.getSuperclass()); } @Test @DisplayName("Should verify class is final or non-final appropriately")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)