org.crosswire.jsword.book.study
Class StrongsMapSet
java.lang.Object
org.crosswire.jsword.book.study.StrongsMapSet
public class StrongsMapSet
- extends Object
A StrongsMapSet is keyed by a Strong's Number of the form Gd or Hd,
where G and H stand for Greek and Hebrew respectively and d is the
actual number, zero padded to 4 digits. The value for a MapEntry
is a Set of Strings, which are the various ways a Strong's Number
is marked up.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
StrongsMapSet()
Build an empty Strong's Map Set. |
Method Summary |
void |
add(String strongsNumber,
String representation)
Add a String representing the content of an instance of a Strong's Number
in a text. |
Set |
get(String strongsNumber)
Get the set of all representations for a Strong's Number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private Map map
StrongsMapSet
public StrongsMapSet()
- Build an empty Strong's Map Set.
add
public void add(String strongsNumber,
String representation)
- Add a String representing the content of an instance of a Strong's Number
in a text.
- Parameters:
strongsNumber
- the Strong's Numberrepresentation
- a way the Strong's number is represented.
get
public Set get(String strongsNumber)
- Get the set of all representations for a Strong's Number.
- Parameters:
strongsNumber
-
- Returns:
- the whole set