List of usage examples for java.lang Class equals
public boolean equals(Object obj)
From source file:org.apache.taverna.scufl2.translator.scufl.processorelement.StringConstantExtensionParser.java
@Override public boolean canHandle(Class<?> c) { return c.equals(org.apache.taverna.scufl2.xml.scufl.jaxb.StringconstantType.class); }
From source file:nl.surfnet.mujina.spring.security.CustomAuthenticationProvider.java
@SuppressWarnings("rawtypes") @Override/*from ww w. j a va2s . c o m*/ public boolean supports(final Class method) { return method.equals(UsernamePasswordAuthenticationToken.class); }
From source file:com.stratio.decision.shell.converter.ColumnNameValueConverter.java
@Override public boolean supports(Class<?> type, String optionContext) { if (type.equals(ColumnNameValueList.class)) { return true; } else {/*from w w w .j a va2 s.c o m*/ return false; } }
From source file:org.sloth.validation.RegistrationFormValidator.java
@Override public boolean supports(Class<?> clazz) { return clazz.equals(RegistrationFormAction.class); }
From source file:com.eyeq.pivot4j.datasource.WrappingOlapDataSource.java
/** * @see com.eyeq.pivot4j.datasource.AbstractOlapDataSource#unwrap(java.lang.Class) *//*from www. ja v a2 s . co m*/ @SuppressWarnings("unchecked") @Override public <T> T unwrap(Class<T> iface) throws SQLException { if (iface.equals(dataSource.getClass())) { return (T) dataSource; } return super.unwrap(iface); }
From source file:net.sourceforge.subsonic.validator.UserSettingsValidator.java
/** * {@inheritDoc}//from w w w .j ava 2 s. co m */ public boolean supports(Class clazz) { return clazz.equals(UserSettingsCommand.class); }
From source file:cz.zcu.kiv.eegdatabase.logic.controller.experiment.AddExperimentOptParamValValidator.java
public boolean supports(Class clazz) { return clazz.equals(AddExperimentOptParamValCommand.class); }
From source file:com.wisemapping.validator.MapInfoValidator.java
public boolean supports(final Class clazz) { return clazz.equals(MindMapInfoBean.class); }
From source file:com.wisemapping.validator.UserValidator.java
public boolean supports(final Class clazz) { return clazz.equals(UserBean.class); }
From source file:cz.zcu.kiv.eegdatabase.logic.controller.root.RegistrationValidator.java
public boolean supports(Class clazz) { return clazz.equals(RegistrationCommand.class); }