Package org.apache.solr.request
Class SimpleFacets.CountPair<K extends Comparable<? super K>,V extends Comparable<? super V>>
- java.lang.Object
-
- org.apache.solr.request.SimpleFacets.CountPair<K,V>
-
- All Implemented Interfaces:
Comparable<SimpleFacets.CountPair<K,V>>
- Enclosing class:
- SimpleFacets
public static class SimpleFacets.CountPair<K extends Comparable<? super K>,V extends Comparable<? super V>> extends Object implements Comparable<SimpleFacets.CountPair<K,V>>
A simple key=>val pair whose natural order is such that higher vals come before lower vals. In case of tie vals, then lower keys come before higher keys.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SimpleFacets.CountPair<K,V> o)
boolean
equals(Object o)
int
hashCode()
-
-
-
Field Detail
-
key
public K extends Comparable<? super K> key
-
val
public V extends Comparable<? super V> val
-
-
Method Detail
-
compareTo
public int compareTo(SimpleFacets.CountPair<K,V> o)
- Specified by:
compareTo
in interfaceComparable<K extends Comparable<? super K>>
-
-