org.eclipse.edje/src/main/java/org/eclipse/edje/PeripheralManager.java
public static <P extends Peripheral> P find(Class<P> peripheralType, String peripheralName) {
		Iterator<P> list = PeripheralManager.list(peripheralType);
		while (list.hasNext()) {
			P p = list.next();
			if (peripheralName.equals(p.getName())) {
				return p;
			}
		}
		return null;
	}
/**
	 * Finds the fisrt peripheral that is compatible with the given class and
	 * that has the specified name. Actually, the list to search into is first
	 * filtered out of the peripherals that the caller doesn't have the
	 * {@link PeripheralManagerPermission} to
	 * {@link PeripheralManagerPermission#READ} them.
	 *
	 * @param <P>
	 *            the type of peripherals to list
	 * @param peripheralType
	 *            the type of the peripheral to be found
	 * @param peripheralName
	 *            the type of the peripheral to be found
	 * @return a peripheral of the given type, with the specified name, or
	 *         <code/>null</code> if no such peripheral is found.
	 * @throws NullPointerException
	 *             if the specified name is null
	 */
Finds the fisrt peripheral that is compatible with the given class and
that has the specified name. Actually, the list to search into is first
filtered out of the peripherals that the caller doesn't have the
PeripheralManagerPermission to
PeripheralManagerPermission#READ them.

@param 
the type of peripherals to list
@param peripheralType
the type of the peripheral to be found
@param peripheralName
the type of the peripheral to be found
@return a peripheral of the given type, with the specified name, or
null if no such peripheral is found.
@throws NullPointerException
if the specified name is null
Finds the fisrt peripheral that is compatible with the given class and that has the specified name . Actually the list to search into is first filtered out of the peripherals that the caller doesn ' t have the PeripheralManagerPermission to PeripheralManagerPermission#READ them . @param the type of peripherals to list @param peripheralType the type of the peripheral to be found @param peripheralName the type of the peripheral to be found @return a peripheral of the given type with the specified name or null if no such peripheral is found . @throws NullPointerException if the specified name is null
public static <P extends Peripheral> P find(Class<P> peripheralType, String peripheralName) {
		Iterator<P> list = PeripheralManager.list(peripheralType);
		while (list.hasNext()) {
			P p = list.next();
			if (peripheralName.equals(p.getName())) {
				return p;
			}
		}
		return null;
	}
public static < P extends Peripheral > P find ( Class < P > peripheralType , String peripheralName ) { Iterator < P > list = PeripheralManager . list ( peripheralType ) ; while ( list . hasNext ( ) ) { P p = list . next ( ) ; if ( peripheralName . equals ( p . getName ( ) ) ) { return p ; } } return null ; }
Finds the fisrt peripheral that is compatible with the given class and
 that has the specified name.
Finds the fisrt peripheral that is compatible with the given class and that has the specified name .