Example usage for com.google.common.collect Interner Interner

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

Introduction

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

Prototype

Interner

Source Link

Usage

From source file:org.openscada.utils.interner.InternerHelper.java

public static Interner<String> makeNoOpInterner() {
    return new Interner<String>() {

        @Override//  w ww .  j a  v a2  s . c o  m
        public String intern(final String string) {
            return string;
        }
    };
}