public interface Prioritizer
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Map<String,Object> a,
Map<String,Object> b)
priority of a is lower than b : compare(a,b) > 0
|
int compareTo(Map<String,Object> a, Map<String,Object> b)
priority of b is lower than a : compare(a,b) < 0
a and b have the same priority : compare(a,b) = 0
a
- first itemb
- second itemCopyright © 2015. All rights reserved.