Example usage for org.apache.commons.collections.functors UniquePredicate getInstance

List of usage examples for org.apache.commons.collections.functors UniquePredicate getInstance

Introduction

In this page you can find the example usage for org.apache.commons.collections.functors UniquePredicate getInstance.

Prototype

public static Predicate getInstance() 

Source Link

Document

Factory to create the predicate.

Usage

From source file:org.robotframework.javalib.keyword.KeywordMap.java

public KeywordMap() {
    map = new HashedMap();
    map = PredicatedMap.decorate(map, UniquePredicate.getInstance(), TruePredicate.INSTANCE);
    map = PredicatedMap.decorate(map, NotNullPredicate.INSTANCE, NotNullPredicate.INSTANCE);
}