Package cn.net.pap.common.excel.dto
Class SimpleTriple<T1,T2,T3>
java.lang.Object
cn.net.pap.common.excel.dto.SimpleTriple<T1,T2,T3>
- Type Parameters:
T1
-T2
-T3
-
- All Implemented Interfaces:
Serializable
一个简单的三元组表示对象
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
特殊字符转换,比如空格boolean
getO()
getP()
getS()
int
hashCode()
void
void
void
toString()
toTriple()
转换为三元组格式:void
write2TripleFile
(String fileNameAbsolutePath, List<SimpleTriple<T1, T2, T3>> simpleTripleList) 写入文件,按行的三元组信息:
-
Constructor Details
-
SimpleTriple
public SimpleTriple() -
SimpleTriple
-
-
Method Details
-
getS
-
setS
-
getP
-
setP
-
getO
-
setO
-
equals
-
hashCode
public int hashCode() -
toString
-
toTriple
转换为三元组格式:. - Returns:
-
convertSpecialCharsToUnicode
特殊字符转换,比如空格- Parameters:
input
-- Returns:
-
write2TripleFile
public void write2TripleFile(String fileNameAbsolutePath, List<SimpleTriple<T1, T2, throws ExceptionT3>> simpleTripleList) 写入文件,按行的三元组信息:. - Parameters:
fileNameAbsolutePath
-simpleTripleList
-- Throws:
Exception
-