// Path: src/main/java/org/jutils/jhardware/info/HardwareInfo.java
// @FunctionalInterface
// public interface HardwareInfo {    
//     ComponentInfo getInfo();    
// }
// 
// Path: src/main/java/org/jutils/jhardware/model/ProcessorInfo.java
// public class ProcessorInfo implements ComponentInfo{
//     private String vendorId;
//     private String family;
//     private String model;
//     private String modelName;
//     private String stepping;
//     private String mhz;
//     private String cacheSize;
//     private String numCores;
//     private String temperature;
//     
//     private Map<String, String> fullInfo;
// 
//     public String getVendorId() {
//         return vendorId;
//     }
// 
//     public void setVendorId(String vendorId) {
//         this.vendorId = vendorId;
//     }
// 
//     public String getFamily() {
//         return family;
//     }
// 
//     public void setFamily(String family) {
//         this.family = family;
//     }
// 
//     public String getModel() {
//         return model;
//     }
// 
//     public void setModel(String model) {
//         this.model = model;
//     }
// 
//     public String getModelName() {
//         return modelName;
//     }
// 
//     public void setModelName(String modelName) {
//         this.modelName = modelName;
//     }
// 
//     public String getStepping() {
//         return stepping;
//     }
// 
//     public void setStepping(String stepping) {
//         this.stepping = stepping;
//     }
// 
//     public String getMhz() {
//         return mhz;
//     }
// 
//     public void setMhz(String mhz) {
//         this.mhz = mhz;
//     }
// 
//     public String getCacheSize() {
//         return cacheSize;
//     }
// 
//     public void setCacheSize(String cacheSize) {
//         this.cacheSize = cacheSize;
//     }
// 
//     public String getNumCores() {
//         return numCores;
//     }
// 
//     public void setNumCores(String numCores) {
//         this.numCores = numCores;
//     }
// 
//     public String getTemperature() {
//         return temperature;
//     }
// 
//     public void setTemperature(String temperature) {
//         this.temperature = temperature;
//     }
// 
//     public Map<String, String> getFullInfo() {
//         return fullInfo;
//     }
// 
//     public void setFullInfo(Map<String, String> fullInfo) {
//         this.fullInfo = fullInfo;
//     }
// }


import org.jutils.jhardware.info.HardwareInfo;
import org.jutils.jhardware.model.ProcessorInfo;
import java.util.Map;
/*
 * 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.processor;


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

    @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/ProcessorInfo.java
// public class ProcessorInfo implements ComponentInfo{
//     private String vendorId;
//     private String family;
//     private String model;
//     private String modelName;
//     private String stepping;
//     private String mhz;
//     private String cacheSize;
//     private String numCores;
//     private String temperature;
//     
//     private Map<String, String> fullInfo;
// 
//     public String getVendorId() {
//         return vendorId;
//     }
// 
//     public void setVendorId(String vendorId) {
//         this.vendorId = vendorId;
//     }
// 
//     public String getFamily() {
//         return family;
//     }
// 
//     public void setFamily(String family) {
//         this.family = family;
//     }
// 
//     public String getModel() {
//         return model;
//     }
// 
//     public void setModel(String model) {
//         this.model = model;
//     }
// 
//     public String getModelName() {
//         return modelName;
//     }
// 
//     public void setModelName(String modelName) {
//         this.modelName = modelName;
//     }
// 
//     public String getStepping() {
//         return stepping;
//     }
// 
//     public void setStepping(String stepping) {
//         this.stepping = stepping;
//     }
// 
//     public String getMhz() {
//         return mhz;
//     }
// 
//     public void setMhz(String mhz) {
//         this.mhz = mhz;
//     }
// 
//     public String getCacheSize() {
//         return cacheSize;
//     }
// 
//     public void setCacheSize(String cacheSize) {
//         this.cacheSize = cacheSize;
//     }
// 
//     public String getNumCores() {
//         return numCores;
//     }
// 
//     public void setNumCores(String numCores) {
//         this.numCores = numCores;
//     }
// 
//     public String getTemperature() {
//         return temperature;
//     }
// 
//     public void setTemperature(String temperature) {
//         this.temperature = temperature;
//     }
// 
//     public Map<String, String> getFullInfo() {
//         return fullInfo;
//     }
// 
//     public void setFullInfo(Map<String, String> fullInfo) {
//         this.fullInfo = fullInfo;
//     }
// }


// Path: src/main/java/org/jutils/jhardware/info/processor/AbstractProcessorInfo.java
import org.jutils.jhardware.info.HardwareInfo;
import org.jutils.jhardware.model.ProcessorInfo;
import java.util.Map;

/*
 * 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.processor;


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

    @Override
    public ProcessorInfo getInfo() {