public final class SAFormalItemsByKind extends Object implements SAFormalItemsByKindReadable, SAFormalItemsByKindWritable
| Constructor and Description |
|---|
SAFormalItemsByKind(com.io7m.jlog.Log in_log)
Construct a new empty map.
|
| Modifier and Type | Method and Description |
|---|---|
SortedMap<SAFormalItemNumber,SAFormalItem> |
get(String kind)
Retrieve the set of formal items that are of the given kind.
|
void |
put(String kind,
SAFormalItem item)
Remember that the given formal item is of the given kind.
|
public SAFormalItemsByKind(@Nonnull com.io7m.jlog.Log in_log)
in_log - A log handlepublic SortedMap<SAFormalItemNumber,SAFormalItem> get(@Nonnull String kind) throws com.io7m.jaux.Constraints.ConstraintError
SAFormalItemsByKindReadableget in interface SAFormalItemsByKindReadablekind - The kindcom.io7m.jaux.Constraints.ConstraintError - If any parameter is nullpublic void put(@Nonnull String kind, @Nonnull SAFormalItem item) throws com.io7m.jaux.Constraints.ConstraintError
SAFormalItemsByKindWritableput in interface SAFormalItemsByKindWritablekind - The kinditem - The formal itemcom.io7m.jaux.Constraints.ConstraintError - If any parameter is nullCopyright © 2014 <code@io7m.com> http://io7m.com