|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectconvertEIR.ParserResultObject
public class ParserResultObject
This class records and prints all electric chillers found in an input file.
Constructor Summary | |
---|---|
ParserResultObject()
|
Method Summary | |
---|---|
double |
cardinalElectricEirsDuplicatesFile(java.lang.String fileName)
This method returns the number of duplicated ElectricEIR found in an input file. |
double |
cardinalReformElectricEirsDuplicatesFile(java.lang.String fileName)
This method returns the number of duplicated reformulated ElectricEIR in an input file. |
void |
electricEirsDuplicates(java.lang.String fileName)
This method finds duplicated ElectricEIR in the input file and print them in an output file. |
void |
reformElectricEirsDuplicates(java.lang.String fileName)
This method finds duplicated reformulated ElectricEIR in an input file and print them in an output file. |
static java.util.ArrayList<java.lang.String> |
removeDuplicates(java.util.ArrayList<java.lang.String> arlList)
This method removes duplicates from an array list. |
static java.util.ArrayList<java.lang.String> |
saveDuplicates(java.util.ArrayList<java.lang.String> arlList)
This method saves duplicates found in an array list. |
void |
setFoundElectricEIRs(java.util.ArrayList<ElectricEIR> eirs)
This method sets the found electric chillers in an array. |
void |
setFoundReformElectricEIRs(java.util.ArrayList<ReformElectricEIR> reformEirs)
This method sets the found reformulated electric chillers in an array. |
void |
toMoElectricEirsFile(java.lang.String fileName)
This method prints all ElectricEIR in an output file. |
void |
toMoReformElectricEirsFile(java.lang.String fileName)
This method prints all reformulated ElectricEIR in an output file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParserResultObject()
Method Detail |
---|
public void setFoundElectricEIRs(java.util.ArrayList<ElectricEIR> eirs)
eirs
- array list of ElectricEIRs.public void setFoundReformElectricEIRs(java.util.ArrayList<ReformElectricEIR> reformEirs)
reformEirs
- array list of reformulated ElectricEIR.public void electricEirsDuplicates(java.lang.String fileName) throws java.io.IOException
fileName
- the EnergyPlus idf file name.
java.io.IOException
- when problems occur during file access.public void toMoElectricEirsFile(java.lang.String fileName) throws java.io.IOException
fileName
- the EnergyPlus idf file name.
java.io.IOException
- when problems occur during file access.public double cardinalElectricEirsDuplicatesFile(java.lang.String fileName)
fileName
- the EnergyPlus idf file name.
public void reformElectricEirsDuplicates(java.lang.String fileName) throws java.io.IOException
fileName
- the EnergyPlus idf file name.
java.io.IOException
- when problems occur during file access.public void toMoReformElectricEirsFile(java.lang.String fileName) throws java.io.IOException
fileName
- the EnergyPlus idf file name.
java.io.IOException
- when problems occur during file access.public double cardinalReformElectricEirsDuplicatesFile(java.lang.String fileName)
fileName
- the EnergyPlus idf file name.
public static java.util.ArrayList<java.lang.String> saveDuplicates(java.util.ArrayList<java.lang.String> arlList)
arlList
- array list with duplicated entries.
public static java.util.ArrayList<java.lang.String> removeDuplicates(java.util.ArrayList<java.lang.String> arlList)
arlList
- array list with duplicated entries.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |