Java com.google.common.collect Interners fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect Interners fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect Interners.

The text is from its open source code.

Method

InternernewStrongInterner()
Returns a new thread-safe interner which retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected.
InternernewWeakInterner()
Returns a new thread-safe interner which retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected.