- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for instanceof (0.12 sec)
-
guava/src/com/google/common/reflect/TypeResolver.java
checkNotNull(type); if (type instanceof TypeVariable) { return typeTable.resolve((TypeVariable<?>) type); } else if (type instanceof ParameterizedType) { return resolveParameterizedType((ParameterizedType) type); } else if (type instanceof GenericArrayType) { return resolveGenericArrayType((GenericArrayType) type); } else if (type instanceof WildcardType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
public void test_constructor() { assertNotNull("Constructor should create instance", target); assertTrue("Instance should be of correct type", target instanceof SystemMonitorTarget); assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget); assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget); } public void test_expired_method_exists() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
checkNotNull(type); if (type instanceof TypeVariable) { return typeTable.resolve((TypeVariable<?>) type); } else if (type instanceof ParameterizedType) { return resolveParameterizedType((ParameterizedType) type); } else if (type instanceof GenericArrayType) { return resolveGenericArrayType((GenericArrayType) type); } else if (type instanceof WildcardType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
}); // Check that the root cause is CIFSException assertTrue(exception instanceof java.lang.reflect.InvocationTargetException); Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause(); assertTrue(cause instanceof CIFSException); assertTrue(cause.getMessage().contains("Failed to create multi-channel transport")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
* called on the {@code TypeVariable} instance has the same name as one of the public methods of * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* called on the {@code TypeVariable} instance has the same name as one of the public methods of * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
private int getAxisIndexForProductIndex(int index, int axis) { return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); } @Override public int indexOf(@Nullable Object o) { if (!(o instanceof List)) { return -1; } List<?> list = (List<?>) o; if (list.size() != axes.size()) { return -1; } ListIterator<?> itr = list.listIterator(); int computedIndex = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); assertTrue(resp instanceof NotifyResponse); assertNotNull(resp.getNotifyInformation()); assertEquals(0, resp.getNotifyInformation().size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
// try TreeConnectAndX with the request // this does not make any sense if we are disconnecting right now T chainedResponse = null; if (!(request instanceof SmbComTreeDisconnect) && !(request instanceof Smb2TreeDisconnectRequest)) { chainedResponse = treeConnect(request, response); } if (request == null || chainedResponse != null && chainedResponse.isReceived()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)