// Path: src/main/java/org/jutils/jhardware/info/HardwareInfo.java
// @FunctionalInterface
// public interface HardwareInfo {    
//     ComponentInfo getInfo();    
// }
// 
// Path: src/main/java/org/jutils/jhardware/model/Display.java
// public class Display {
//     private String name;
//     private String currentResolution;
//     private String refreshRate;
//     private String[] supportedResolutions;
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
//     
//     public String getCurrentResolution() {
//         return currentResolution;
//     }
// 
//     public void setCurrentResolution(String currentResolution) {
//         this.currentResolution = currentResolution;
//     }
// 
//     public String getRefreshRate() {
//         return refreshRate;
//     }
// 
//     public void setRefreshRate(String refreshRate) {
//         this.refreshRate = refreshRate;
//     }
// 
//     public String[] getSupportedResolutions() {
//         return supportedResolutions;
//     }
// 
//     public void setSupportedResolutions(String[] supportedResolutions) {
//         this.supportedResolutions = supportedResolutions;
//     }
//     
//     
// }
// 
// Path: src/main/java/org/jutils/jhardware/model/DisplayInfo.java
// public class DisplayInfo implements ComponentInfo {
//     List<Display> displayDevices;
// 
//     public List<Display> getDisplayDevices() {
//         return displayDevices;
//     }
// 
//     public void setDisplayDevices(List<Display> displayDevices) {
//         this.displayDevices = displayDevices;
//     }
// }


import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.jutils.jhardware.info.HardwareInfo;
import org.jutils.jhardware.model.Display;
import org.jutils.jhardware.model.DisplayInfo;
/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jutils.jhardware.info.display;


/**
 * Information related to Displays
 * 
 * @author Javier Garcia Alonso
 */
public abstract class AbstractDisplayInfo implements HardwareInfo { 

    /**
     *
     * @return
     */
    @Override
// Path: src/main/java/org/jutils/jhardware/info/HardwareInfo.java
// @FunctionalInterface
// public interface HardwareInfo {    
//     ComponentInfo getInfo();    
// }
// 
// Path: src/main/java/org/jutils/jhardware/model/Display.java
// public class Display {
//     private String name;
//     private String currentResolution;
//     private String refreshRate;
//     private String[] supportedResolutions;
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
//     
//     public String getCurrentResolution() {
//         return currentResolution;
//     }
// 
//     public void setCurrentResolution(String currentResolution) {
//         this.currentResolution = currentResolution;
//     }
// 
//     public String getRefreshRate() {
//         return refreshRate;
//     }
// 
//     public void setRefreshRate(String refreshRate) {
//         this.refreshRate = refreshRate;
//     }
// 
//     public String[] getSupportedResolutions() {
//         return supportedResolutions;
//     }
// 
//     public void setSupportedResolutions(String[] supportedResolutions) {
//         this.supportedResolutions = supportedResolutions;
//     }
//     
//     
// }
// 
// Path: src/main/java/org/jutils/jhardware/model/DisplayInfo.java
// public class DisplayInfo implements ComponentInfo {
//     List<Display> displayDevices;
// 
//     public List<Display> getDisplayDevices() {
//         return displayDevices;
//     }
// 
//     public void setDisplayDevices(List<Display> displayDevices) {
//         this.displayDevices = displayDevices;
//     }
// }


// Path: src/main/java/org/jutils/jhardware/info/display/AbstractDisplayInfo.java
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.jutils.jhardware.info.HardwareInfo;
import org.jutils.jhardware.model.Display;
import org.jutils.jhardware.model.DisplayInfo;

/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jutils.jhardware.info.display;


/**
 * Information related to Displays
 * 
 * @author Javier Garcia Alonso
 */
public abstract class AbstractDisplayInfo implements HardwareInfo { 

    /**
     *
     * @return
     */
    @Override
    public DisplayInfo getInfo() {