Example usage for com.google.common.collect SortedMultiset interface-usage

List of usage examples for com.google.common.collect SortedMultiset interface-usage

Introduction

In this page you can find the example usage for com.google.common.collect SortedMultiset interface-usage.

Usage

From source file gmjonker.util.BoundedTreeMultiset.java

/**
 * A TreeMultiset that ensures it never grows beyond a max size.  
 * <code>last()</code> is removed if the <code>size()</code> 
 * get's bigger then <code>getMaxSize()</code>
 */
public class BoundedTreeMultiset<E extends Comparable> implements SortedMultiset<E> {

From source file com.cinchapi.concourse.util.ConcurrentSkipListMultiset.java

/**
 * Similar to a {@link TreeMultiset} but internally uses a
 * {@link ConcurrentSkipListMap} to provide thread safe access to many
 * concurrent threads.
 * <p>
 * <em>Be warned that several operations are not implemented and will throw a

From source file org.cinchapi.concourse.util.ConcurrentSkipListMultiset.java

/**
 * Similar to a {@link TreeMultiset} but internally uses a
 * {@link ConcurrentSkipListMap} to provide thread safe access to many
 * concurrent threads.
 * <p>
 * <em>Be warned that several operations are not implemented and will throw a