C# (CSharp) Lucene.Net.Support Пространство имен

Пространства имен

Lucene.Net.Support.Compatibility

Классы

Имя Описание
AtomicInteger
AtomicLong
BaseBufferTestCase Base class for tests from JDK/nio/Basic.java
BaseBufferTestCase.NullWriter A simple writer that implements the null object pattern that we can swap in when verbosity is turned off.
BitSetSupport This class provides supporting methods of java.util.BitSet that are not present in System.Collections.BitArray.
Buffer Base class for ByteBuffer and LongBuffer (ported from Java)
BundleResourceManagerFactory This implementation of IResourceManagerFactory uses a convention to retrieve resources. In Java NLS, the convention is to use the same name for the resource key propeties and for the resource file names. This presents a problem for .NET because the resource generator already creates an internal class with the same name as the .resx file. To work around this, we use the convention of appending the suffix "Bundle" to the end of the type the resource key propeties are stored in. For example, if our constants are stored in a class named ErrorMessages, the type that will be looked up by this factory will be ErrorMessagesBundle (which is the name of the .resx file that should be added to your project). This implementation can be inherited to use a different convention or can be replaced to get the resources from an external source.
Character Mimics Java's Character class.
CharacterIterator
DataInputStream Java's DataInputStream is similar to .NET's BinaryReader. However, it reads using a modified UTF-8 format that cannot be read using BinaryReader. This is a port of DataInputStream that is fully compatible with Java's DataOutputStream.

Usage Note: Always favor BinaryReader over DataInputStream unless you specifically need the modified UTF-8 format and/or the ReadUTF(IDataInput) method.

DataOutputStream Java's DataOutputStream is similar to .NET's BinaryWriter. However, it writes in a modified UTF-8 format that cannot be read (or duplicated) using BinaryWriter. This is a port of DataOutputStream that is fully compatible with Java's DataInputStream.

Usage Note: Always favor BinaryWriter over DataOutputStream unless you specifically need the modified UTF-8 format and/or the WriteUTF(IDataOutput) method.

FileStreamExtensions
FileSupport Represents the methods to support some operations over files.
LimitedConcurrencyLevelTaskScheduler Provides a task scheduler that ensures a maximum concurrency level while running on top of the thread pool. Source: https://msdn.microsoft.com/en-us/library/system.threading.tasks.taskscheduler(v=vs.110).aspx
Number A simple class for number conversions.
NumberFormat
StreamUtils
StringBuilderExtensions
StringCharSequenceWrapper
TestByteBuffer
TestCloseableThreadLocal
TestDataInputStream
TestDataInputStream.MyInputStream
TestDataOutputStream
TestDataOutputStream.CounterOverflow
TestDataOutputStream.DummyFilterStream
TestDataOutputStream.F
TestDataOutputStream.Sink
TestIDisposable
TestLongBuffer Tests from JDK/nio/BasicLong.java
TestOldPatches
TestOldPatches.TestAnalyzer
TestOldPatches.TestTokenizer
TestSerialization
TestStringBuilderExtensions