-
- All Implemented Interfaces:
public class ReadingProgression.Companion extends MapWithDefaultCompanion<String, ReadingProgression>
-
-
Field Summary
Fields Modifier and Type Field Description private final ReadingProgressiondefaultprivate final Set<String>keyspublic final static ReadingProgression.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description ReadingProgressionget(String key)Returns the element matching the key, or null if not found. -
Methods inherited from class org.readium.r2.shared.util.MapWithDefaultCompanion
from, getDefault, getOrDefault, invoke -
Methods inherited from class org.readium.r2.shared.util.MapCompanion
getKeys -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
ReadingProgression get(String key)
Returns the element matching the key, or null if not found.
To be overriden in subclasses if custom retrieval is needed – for example, testing lowercase keys.
-
-
-
-