Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
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: