Package opennlp.tools.util.jvm

# Class NoOpStringInterner

java.lang.Object
opennlp.tools.util.jvm.NoOpStringInterner

All Implemented Interfaces:
  `opennlp.tools.util.jvm.StringInterner`

@Internal @ThreadSafe public class NoOpStringInterner extends Object implements opennlp.tools.util.jvm.StringInterner
A no-op `StringInterner` implementation, which does not intern. It just returns the input as is.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NoOpStringInterner()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `intern(String sample)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NoOpStringInterner

    public NoOpStringInterner()

- ## Method Details

  - ### intern

    public String intern(String sample)
    Specified by:
      `intern` in interface `opennlp.tools.util.jvm.StringInterner`