本文整理匯總了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);
}