Uses of Class
squidpony.SquidStorage
Package | Description |
---|---|
squidpony |
The default conversion, compression, and storage classes are here; they delegate to the classes in
squidpony.store.json . |
-
Uses of SquidStorage in squidpony
Methods in squidpony that return SquidStorage Modifier and Type Method Description SquidStorage
SquidStorage. clear()
Clears the current group of objects; recommended if you intend to store under multiple outerName keys.SquidStorage
SquidStorage. put(String innerName, Object o)
Prepares to store the Objecto
to be retrieved withinnerName
in the current group of objects.SquidStorage
SquidStorage. remove(String innerName)
Removes one object from the current group by theinnerName
it was prepared with usingput(String, Object)
.SquidStorage
SquidStorage. store(String outerName)
Actually stores all objects that had previously been prepared withput(String, Object)
, withouterName
used as a key to retrieve any object in the current group.