Show / Hide Table of Contents

    Interface ISequenced<T>

    An editable collection maintaining a definite sequence order of the items.

    Implementations of this interface must compute the hash code and equality exactly as prescribed in the method definitions in order to be consistent with other collection classes implementing this interface. This interface is usually implemented by explicit interface implementation, not as ordinary virtual methods.

    Inherited Members
    ICollection<T>.ContainsSpeed
    ICollection<T>.Count
    ICollection<T>.IsReadOnly
    ICollection<T>.Add(T)
    ICollection<T>.CopyTo(T[], Int32)
    ICollection<T>.GetUnsequencedHashCode()
    ICollection<T>.UnsequencedEquals(ICollection<T>)
    ICollection<T>.Contains(T)
    ICollection<T>.ContainsCount(T)
    ICollection<T>.UniqueItems()
    ICollection<T>.ItemMultiplicities()
    ICollection<T>.ContainsAll(System.Collections.Generic.IEnumerable<T>)
    ICollection<T>.Find(T)
    ICollection<T>.FindOrAdd(T)
    ICollection<T>.Update(T)
    ICollection<T>.Update(T, T)
    ICollection<T>.UpdateOrAdd(T)
    ICollection<T>.UpdateOrAdd(T, T)
    ICollection<T>.Remove(T)
    ICollection<T>.Remove(T, T)
    ICollection<T>.RemoveAllCopies(T)
    ICollection<T>.RemoveAll(System.Collections.Generic.IEnumerable<T>)
    ICollection<T>.Clear()
    ICollection<T>.RetainAll(System.Collections.Generic.IEnumerable<T>)
    IExtensible<T>.AllowsDuplicates
    IExtensible<T>.EqualityComparer
    IExtensible<T>.DuplicatesByCounting
    IExtensible<T>.AddAll(System.Collections.Generic.IEnumerable<T>)
    IExtensible<T>.Check()
    IDirectedCollectionValue<T>.Backwards()
    IDirectedCollectionValue<T>.FindLast(Func<T, Boolean>, T)
    ICollectionValue<T>.ListenableEvents
    ICollectionValue<T>.ActiveEvents
    ICollectionValue<T>.CollectionChanged
    ICollectionValue<T>.CollectionCleared
    ICollectionValue<T>.ItemsAdded
    ICollectionValue<T>.ItemInserted
    ICollectionValue<T>.ItemsRemoved
    ICollectionValue<T>.ItemRemovedAt
    ICollectionValue<T>.IsEmpty
    ICollectionValue<T>.CountSpeed
    ICollectionValue<T>.ToArray()
    ICollectionValue<T>.Apply(Action<T>)
    ICollectionValue<T>.Exists(Func<T, Boolean>)
    ICollectionValue<T>.Find(Func<T, Boolean>, T)
    ICollectionValue<T>.All(Func<T, Boolean>)
    ICollectionValue<T>.Choose()
    ICollectionValue<T>.Filter(Func<T, Boolean>)
    IShowable.Show(System.Text.StringBuilder, Int32, IFormatProvider)
    IDirectedEnumerable<T>.Direction
    Namespace: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public interface ISequenced<T> : ICollection<T>, IExtensible<T>, System.Collections.Generic.ICollection<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    GetSequencedHashCode()

    The hashcode is defined as

    h(...h(h(h(x1),x2),x3),...,xn)
    for

    h(a,b)=CONSTANT*a+b
    and the x's the hash codes of the items of

    this collection.

    Declaration
    int GetSequencedHashCode()
    Returns
    Type Description
    System.Int32

    The sequence order hashcode of this collection.

    | Improve this Doc View Source

    SequencedEquals(ISequenced<T>)

    Compare this sequenced collection to another one in sequence order.

    Declaration
    bool SequencedEquals(ISequenced<T> otherCollection)
    Parameters
    Type Name Description
    ISequenced<T> otherCollection

    The sequenced collection to compare to.

    Returns
    Type Description
    System.Boolean

    True if this collection and that contains equal (according to this collection's itemequalityComparer) in the same sequence order.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)