- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for isAssignableFrom (0.11 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
if (actual == null && !formal.isPrimitive()) { return true; } // Check for identity or widening reference conversion if (actual != null && formal.isAssignableFrom(actual)) { return true; } // Check for boxing with widening primitive conversion. Note that // actual parameters are never primitives. if (formal.isPrimitive()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
if (repoClass != null) { if (WorkspaceRepository.class.isAssignableFrom(repoClass)) { return session.getWorkspaceReader().getRepository(); } else if (LocalRepository.class.isAssignableFrom(repoClass)) { return session.getLocalRepository(); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
* @return the information * @throws CIFSException */ @SuppressWarnings ( "unchecked" ) public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException { if ( !clazz.isAssignableFrom(this.info.getClass()) ) { throw new CIFSException("Incompatible file information class"); } return (T) getInfo(); } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/NumberConverter.java
return new DecimalFormat(pattern).format(value); } @Override public boolean isTarget(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); return Number.class.isAssignableFrom(clazz); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
* @throws CIFSException */ @SuppressWarnings ( "unchecked" ) public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException { if ( !clazz.isAssignableFrom(this.info.getClass()) ) { throw new CIFSException("Incompatible file information class"); } return (T) getInfo(); } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
public <T extends Address> T unwrap ( Class<T> type ) { if ( this.addr instanceof Address ) { return ( (Address) this.addr ).unwrap(type); } else if ( this.getClass().isAssignableFrom(type) ) { return (T) this; } return null; } /** * Return the a text representation of this address such as * <tt>MYCOMPUTER/192.168.1.15</tt>.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
Decodable out = getOutputData(); if ( out == null ) { throw new SmbException("Failed to decode output data"); } if ( !responseType.isAssignableFrom(out.getClass()) ) { throw new SmbException("Incompatible response data " + out.getClass()); } return (T) out; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java
direction.directHtmlRendering(new JspHtmlRenderingProvider() { @Override protected String getShowErrorsForwardPath(final ActionRuntime runtime) { if (FessAdminAction.class.isAssignableFrom(runtime.getActionType())) { return "/admin/error/error.jsp"; } return "/error/system.jsp"; } }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
// nothing } @Override protected void checkPermission(final LoginHandlingResource resource) throws LoginRequiredException { if (FessAdminAction.class.isAssignableFrom(resource.getActionClass())) { getSavedUserBean().ifPresent(user -> { if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) { return; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0)