Code example for Set

Methods: sizetoArray

0
		this.publishedInterfaces.remove(intf);
	} 
 
	@Override 
	public Class<?>[] getInterfaces() {
		return this.publishedInterfaces.toArray(new Class<?>[this.publishedInterfaces.size()]);
	} 
 
	/** 
	 * Check whether the specified interfaces is a published introduction interface. 
	 * @param ifc the interface to check 
	 * @return whether the interface is part of this introduction 
	 */ 
	public boolean implementsInterface(Class<?> ifc) {
		for (Class<?> pubIfc : this.publishedInterfaces) {
			if (ifc.isInterface() && ifc.isAssignableFrom(pubIfc)) {
				return true; 
			} 
		} 
		return false; 
Connect your IDE to all the code out there  Get Codota for Java