package org.lucci.madhoc.network;
public abstract class ComputerType
{
private ComputerType()
{
}
public static final ComputerType CALCULATOR = new ComputerType()
{
public String getName()
{
return "calculator";
}
};
public static final ComputerType LAPTOP = new ComputerType()
{
public String getName()
{
return "laptop";
}
};
public static final ComputerType PAGER = new ComputerType()
{
public String getName()
{
return "pager";
}
};
public static final ComputerType MOBILE_PHONE = new ComputerType()
{
public String getName()
{
return "phone";
}
};
public static final ComputerType HOTSPOT = new ComputerType()
{
public String getName()
{
return "hotspot";
}
};
public abstract String getName();
}