Code example for Collection

Methods: contains

0
	 * <!-- end-user-doc --> 
	 * @generated 
	 */ 
	@Override 
	public boolean isFactoryForType(Object type) {
		return supportedTypes.contains(type) || super.isFactoryForType(type);
	} 
 
	/** 
	 * This implementation substitutes the factory itself as the key for the adapter. 
	 * <!-- begin-user-doc --> 
	 * <!-- end-user-doc --> 
	 * @generated 
	 */ 
	@Override 
	public Adapter adapt(Notifier notifier, Object type) {
		return super.adapt(notifier, this);
	} 
 
	/** 
	 * <!-- begin-user-doc -->