Example usage for java.util SortedMap interface-usage

List of usage examples for java.util SortedMap interface-usage

Introduction

In this page you can find the example usage for java.util SortedMap interface-usage.

Usage

From source file edu.scripps.fl.collections.FuzzyMap.java

/**
 * A SortedMap implementation for dealing with fuzzy keys. A binary search is used to find the closest key to the input.
 * 
 * @author Mark Southern (southern at scripps dot edu). 
 */
public class FuzzyMap<K, V> extends AbstractMap<K, V> implements SortedMap<K, V> {

From source file net.krotscheck.stk.stream.Schema.java

/**
 * Schema data type. Used to manage the data contract on input and output data
 * for worker streams. This type is immutable, please use the Builder class to
 * construct it.
 *
 * @author Michael Krotscheck

From source file org.omnaest.utils.table.impl.TableIndexArbitraryImpl.java

/**
 * @see TableIndex
 * @author Omnaest
 * @param <E>
 */
class TableIndexArbitraryImpl<K, E> implements SortedMap<K, Set<Row<E>>>, TableEventHandler<E>, Serializable {

From source file jenkins.model.lazy.AbstractLazyLoadRunMap.java

/**
 * {@link SortedMap} that keeps build records by their build numbers, in the descending order
 * (newer ones first.)
 *
 * <p>
 * The main thing about this class is that it encapsulates the lazy loading logic.

From source file com.isentropy.accumulo.collections.AccumuloSortedMap.java

/**
 * IMPORTANT:     
 * In order to use the sorted map features (subMap(), firstKey(),etc), your keySerde must have the property
 * that serialize(a).compareTo(serialize(b)) [byte by byte comparison] = a.compareTo(b) for all objects a and b.
 * If your keySerde does not have this property, the regular map functions (get, put) will still work.
 * Accumulo uses the byte by byte comparator from BytesWritable internally, and I don't know of any way to change the internal comparator. 

From source file NavigableMap.java

/**
 * A {@link SortedMap} extended with navigation methods returning the closest
 * matches for given search targets. Methods <tt>lowerEntry</tt>,
 * <tt>floorEntry</tt>, <tt>ceilingEntry</tt>, and <tt>higherEntry</tt>
 * return <tt>Map.Entry</tt> objects associated with keys respectively less
 * than, less than or equal, greater than or equal, and greater than a given