本文整理汇总了Java中io.kamax.hbox.constant.MachineAttribute.values方法的典型用法代码示例。如果您正苦于以下问题:Java MachineAttribute.values方法的具体用法?Java MachineAttribute.values怎么用?Java MachineAttribute.values使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类io.kamax.hbox.constant.MachineAttribute
的用法示例。
在下文中一共展示了MachineAttribute.values方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.USB)) {
getSetting(setting);
}
}
return settings;
}
示例2: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Mouse)) {
getSetting(setting);
}
}
return settings;
}
示例3: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Motherboard)) {
getSetting(setting);
}
}
return settings;
}
示例4: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Memory)) {
getSetting(setting);
}
}
return settings;
}
示例5: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.CPU)) {
getSetting(setting);
}
}
return settings;
}
示例6: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Keyboard)) {
getSetting(setting);
}
}
return settings;
}
示例7: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
List<_Setting> settings = new ArrayList<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Display)) {
getSetting(setting);
}
}
return settings;
}
示例8: listSettings
import io.kamax.hbox.constant.MachineAttribute; //导入方法依赖的package包/类
@Override
public List<_Setting> listSettings() {
Set<_Setting> settings = new HashSet<_Setting>();
for (MachineAttribute setting : MachineAttribute.values()) {
if (setting.getDeviceType().equals(EntityType.Console)) {
getSetting(setting);
}
}
for (String id : listProperties()) {
settings.add(new StringSetting(id, getProperty(id)));
}
return new ArrayList<_Setting>(settings);
}