summaryrefslogtreecommitdiff
path: root/java/src/Freeze/MapInternal/Search.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Freeze/MapInternal/Search.java')
-rw-r--r--java/src/Freeze/MapInternal/Search.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/Freeze/MapInternal/Search.java b/java/src/Freeze/MapInternal/Search.java
index 7146bd5661c..0579e4fd1aa 100644
--- a/java/src/Freeze/MapInternal/Search.java
+++ b/java/src/Freeze/MapInternal/Search.java
@@ -20,26 +20,32 @@ class Search
{
FIRST // The first entry
{
+ @Override
Type descending() { return LAST; };
},
LAST // The last entry
{
+ @Override
Type descending() { return FIRST; };
},
CEILING // The entry with the smallest key greater than or equal to the target key
{
+ @Override
Type descending() { return FLOOR; };
},
FLOOR // The entry with the greatest key less than or equal to the target key
{
+ @Override
Type descending() { return CEILING; };
},
HIGHER // The entry with the smallest key greater than the target key
{
+ @Override
Type descending() { return LOWER; };
},
LOWER // The entry with the greatest key less than the target key
{
+ @Override
Type descending() { return HIGHER; };
};