org.apache.solr.request
Class SimpleFacets.CountPair<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<? super V>>
java.lang.Object
org.apache.solr.request.SimpleFacets.CountPair<K,V>
- All Implemented Interfaces:
- java.lang.Comparable<SimpleFacets.CountPair<K,V>>
- Enclosing class:
- SimpleFacets
public static class SimpleFacets.CountPair<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<? super V>>
- extends java.lang.Object
- implements java.lang.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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
key
public K extends java.lang.Comparable<? super K> key
val
public V extends java.lang.Comparable<? super V> val
SimpleFacets.CountPair
public SimpleFacets.CountPair(K k,
V v)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(SimpleFacets.CountPair<K,V> o)
- Specified by:
compareTo
in interface java.lang.Comparable<SimpleFacets.CountPair<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<? super V>>>
Copyright © 2006 - 2009 The Apache Software Foundation