Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | List of all members
Lucene.Net.Util.StringInterner Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

virtual System.String Lucene.Net.Util.StringInterner.Intern ( System.String  s)
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 System.String Lucene.Net.Util.StringInterner.Intern ( char[]  arr,
int  offset,
int  len 
)
virtual

Returns a single object instance for each equal string.

Definition at line 39 of file StringInterner.cs.


The documentation for this class was generated from the following file: