Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SPIClassIterator<S>

    Helper class for loading SPI classes from classpath (META-INF files). This is a light impl of java.util.ServiceLoader but is guaranteed to be bug-free regarding classpath order and does not instantiate or initialize the classes found.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    object
    SPIClassIterator<S>
    Implements
    IEnumerable<Type>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class SPIClassIterator<S> : IEnumerable<Type>, IEnumerable
    Type Parameters
    Name Description
    S

    Methods

    Get()

    Helper class for loading SPI classes from classpath (META-INF files). This is a light impl of java.util.ServiceLoader but is guaranteed to be bug-free regarding classpath order and does not instantiate or initialize the classes found.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Declaration
    public static SPIClassIterator<S> Get()
    Returns
    Type Description
    SPIClassIterator<S>

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<Type> GetEnumerator()
    Returns
    Type Description
    IEnumerator<Type>

    An enumerator that can be used to iterate through the collection.

    Implements

    IEnumerable<T>
    IEnumerable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.