|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jstatcom.engine.gauss.LIBSet.SRCLibPair
public static class LIBSet.SRCLibPair
Innter class that stores a libraryname - sourcefile mapping.
| Field Summary | |
|---|---|
java.lang.String |
libraryName
|
java.lang.String |
srcFile
|
static javolution.xml.XmlFormat<LIBSet.SRCLibPair> |
SRCLibPair_XML
XML format field for (de)serialization. |
| Constructor Summary | |
|---|---|
LIBSet.SRCLibPair(java.lang.String libraryName,
java.lang.String srcFile)
Creates a SRCLibPair. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Overrides equals to provide logical comparison of two
different SRCLibPair objects. |
int |
hashCode()
Overrides hashCode, because equals was overwritten. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String srcFile
public final java.lang.String libraryName
public static final javolution.xml.XmlFormat<LIBSet.SRCLibPair> SRCLibPair_XML
| Constructor Detail |
|---|
public LIBSet.SRCLibPair(java.lang.String libraryName,
java.lang.String srcFile)
SRCLibPair.
libraryName - the name of the librarysrcFile - the source file that belongs to the library| Method Detail |
|---|
public final int hashCode()
hashCode, because equals was overwritten.
The algorithm was taken from (Joshua Bloch, "Effective Java",
Item 8) .
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object o)
equals to provide logical comparison of two
different SRCLibPair objects.
equals in class java.lang.Objecto - object to compare with
true if src file and lib name are equal
without regarding the case for the lib name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||