|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.search.indexEngine.model.SpaceComponentPair
public final class SpaceComponentPair
A SpaceComponentPair packs in an object a space and a component names.
| Constructor Summary | |
|---|---|
SpaceComponentPair(String space,
String component)
The constructor set the pair which is immutable. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
The equals method is re-defined so that a SpaceComponentPair can be added in a Set or used as a Map key. |
String |
getComponent()
Return the component name. |
String |
getSpace()
Return the space name. |
int |
hashCode()
The hashCode method is re-defined so that a SpaceComponentPair can be added in a Set or used as a Map key. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceComponentPair(String space,
String component)
| Method Detail |
|---|
public String getSpace()
public String getComponent()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||