* surround.
*/
public static final class NodeIDType {
- private static final ConcurrentHashMap<String, Class> compatibleType =
- new ConcurrentHashMap<String, Class>();
+ private static final ConcurrentHashMap<String, Class<? extends Object>> compatibleType =
+ new ConcurrentHashMap<String, Class<? extends Object>>();
/**
* Identifier for an OpenFlow node
*/
* @return true if registered, false otherwise
*/
public static boolean registerIDType(String type,
- Class compatibleID) {
+ Class<? extends Object> compatibleID) {
if (compatibleType.get(type) != null) {
return false;
} else {