Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
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(). More...
Inherited by Lucene.Net.Util.SimpleStringInterner.
Public Member Functions | |
virtual System.String | Intern (System.String s) |
Returns a single object instance for each equal string. | |
virtual System.String | Intern (char[] arr, int offset, int len) |
Returns a single object instance for each equal string. | |
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().
Definition at line 30 of file StringInterner.cs.
|
virtual |
Returns a single object instance for each equal string.
Reimplemented in Lucene.Net.Util.SimpleStringInterner.
Definition at line 33 of file StringInterner.cs.
|
virtual |
Returns a single object instance for each equal string.
Definition at line 39 of file StringInterner.cs.