@Immutable public final class SAIDMap extends Object implements SAIDMapWritable, SAIDMapReadable
| Constructor and Description |
|---|
SAIDMap(com.io7m.jlog.LogUsableType in_log)
Construct a new empty map.
|
| Modifier and Type | Method and Description |
|---|---|
SAIDTargetContent |
get(SAID id)
Retrieve the content associated with the given ID, or
null if there
is no association. |
void |
put(SAID id,
SAIDTargetContent c)
Associate the given content with the given ID.
|
int |
size() |
public SAIDMap(com.io7m.jlog.LogUsableType in_log)
in_log - The log handle@Nullable public SAIDTargetContent get(SAID id)
SAIDMapReadablenull if there
is no association.get in interface SAIDMapReadableid - The IDpublic void put(SAID id, SAIDTargetContent c)
SAIDMapWritableput in interface SAIDMapWritableid - The IDc - The contentpublic int size()
size in interface SAIDMapReadableCopyright © 2015 <code@io7m.com> http://io7m.com