public final class SearchResult
extends java.lang.Object
GrandExchange.| Constructor and Description |
|---|
SearchResult(java.lang.String letter,
int items)
Creates a new
SearchResult. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getItems()
Gets the amount of items in the result.
|
java.lang.String |
getLetter()
Gets the first letter of the result.
|
int |
hashCode() |
java.lang.String |
toString() |
public SearchResult(java.lang.String letter,
int items)
SearchResult.letter - The first letter.items - The amount of items.public java.lang.String getLetter()
public int getItems()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object