org.eclipse.edje/src/main/java/org/eclipse/edje/DefaultPeripheralRegistry.java
public boolean contains(Peripheral p) {
			for (PeripheralEntry<P> entry : peripherals) {
				if (p.equals(entry.peripheral)) {
					return true;
				}
			}
			return false;
		}
/**
		 * @param p
		 *            the peripheral to look for
		 * @return true if found
		 */
@param p
the peripheral to look for
@return true if found
@param p the peripheral to look for @return true if found
public boolean contains(Peripheral p) {
			for (PeripheralEntry<P> entry : peripherals) {
				if (p.equals(entry.peripheral)) {
					return true;
				}
			}
			return false;
		}
public boolean contains ( Peripheral p ) { for ( PeripheralEntry < P > entry : peripherals ) { if ( p . equals ( entry . peripheral ) ) { return true ; } } return false ; }
@param p
            the peripheral to look for
 @return true if found
@param p the peripheral to look for @return true if found