Example usage for com.google.common.collect ImmutableMultiset of

List of usage examples for com.google.common.collect ImmutableMultiset of

Introduction

In this page you can find the example usage for com.google.common.collect ImmutableMultiset of.

Prototype

@SuppressWarnings("unchecked") 
public static <E> ImmutableMultiset<E> of(E element) 

Source Link

Document

Returns an immutable multiset containing a single element.

Usage

From source file:org.lightjason.agentspeak.action.IBaseAction.java

@Override
public final double score(final IAgent<?> p_agent) {
    return p_agent.aggregation().evaluate(p_agent, ImmutableMultiset.of(this));
}