Class StringInterner
Subclasses of StringInterner are required to return the same single String object for all equal strings. Depending on the implementation, this may not be the same object returned as String.intern().
This StringInterner base class simply delegates to String.intern().
LUCENENET specific.
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Support
Assembly: Lucene.Net.dll
Syntax
public class StringInterner
  Methods
| Improve this Doc View SourceIntern(Char[], Int32, Int32)
Returns a single object instance for each equal string.
Declaration
public virtual string Intern(char[] arr, int offset, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | arr | |
| System.Int32 | offset | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.String | 
Intern(String)
Returns a single object instance for each equal string.
Declaration
public virtual string Intern(string s)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | 
Returns
| Type | Description | 
|---|---|
| System.String |