FileBackedHashSetT Class

Represents a lookup table backed by a file, with very little memory overhead.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.128 -- Release Build+2960d3f3619fdc53cad514a51817286dcfb19027
public sealed class FileBackedHashSet<T> : FileBackedHashSet<T, Object>
Inheritance
Object    FileBackedHashSetT, Object    FileBackedHashSetT

Type Parameters

T
The type of the items in the lookup table.

Constructors

FileBackedHashSetT Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(IEnumerableT) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(IEqualityComparerT) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(String) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(IEnumerableT, IEqualityComparerT) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(String, IEnumerableT) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(String, IEqualityComparerT) Creates a new instance of the FileBackedHashSetT class.
FileBackedHashSetT(String, IEnumerableT, IEqualityComparerT) Creates a new instance of the FileBackedHashSetT class.

Properties

CacheSize Gets or sets the size of the cache used to store data from the file in memory.
(Inherited from FileBackedHashSetT, TElem)
Count Gets the number of elements contained in the FileBackedHashSetT.
(Inherited from FileBackedHashSetT, TElem)
DefaultSignature Gets the default signature used by the FileBackedHashSetT if no user-defined signature is supplied.
(Inherited from FileBackedHashSetT, TElem)
FilePath Gets or sets the path to the file backing this hash set.
(Inherited from FileBackedHashSetT, TElem)
FragmentationCount Gets the number of operations that fragment the lookup table that have occurred since the last time the lookup table was compacted.
(Inherited from FileBackedHashSetT, TElem)
IsReadOnly Gets a value indicating whether the FileBackedHashSetT is read-only.
(Inherited from FileBackedHashSetT, TElem)
Signature Gets or sets the signature of the file backing the lookup table.
(Inherited from FileBackedHashSetT, TElem)

Methods

Add Adds an element to the current set and returns a value to indicate if the element was successfully added.
(Inherited from FileBackedHashSetT, TElem)
Clear Removes all items from the FileBackedHashSetT.
(Inherited from FileBackedHashSetT, TElem)
Close Closes the file backing this hash set.
(Inherited from FileBackedHashSetT, TElem)
Compact Defragments the item section of the hash set, which gets fragmented after removing items.
(Inherited from FileBackedHashSetT, TElem)
Contains Determines whether the FileBackedHashSetT contains a specific value.
(Inherited from FileBackedHashSetT, TElem)
CopyTo Copies the elements of the FileBackedHashSetT to an Array, starting at a particular Array index.
(Inherited from FileBackedHashSetT, TElem)
Dispose Releases all the resources used by the FileBackedHashSetT object.
(Inherited from FileBackedHashSetT, TElem)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExceptWith Removes all elements in the specified collection from the current set.
(Inherited from FileBackedHashSetT, TElem)
GetEnumerator Returns an enumerator that iterates through the collection.
(Inherited from FileBackedHashSetT, TElem)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IntersectWith Modifies the current set so that it contains only elements that are also in a specified collection.
(Inherited from FileBackedHashSetT, TElem)
IsProperSubsetOf Determines whether the current set is a proper (strict) subset of a specified collection.
(Inherited from FileBackedHashSetT, TElem)
IsProperSupersetOf Determines whether the current set is a proper (strict) superset of a specified collection.
(Inherited from FileBackedHashSetT, TElem)
IsSubsetOf Determines whether a set is a subset of a specified collection.
(Inherited from FileBackedHashSetT, TElem)
IsSupersetOf Determines whether the current set is a superset of a specified collection.
(Inherited from FileBackedHashSetT, TElem)
Open Opens the file backing this hash set.
(Inherited from FileBackedHashSetT, TElem)
OpenRead Opens the file backing this hash set in read-only mode.
(Inherited from FileBackedHashSetT, TElem)
Overlaps Determines whether the current set overlaps with the specified collection.
(Inherited from FileBackedHashSetT, TElem)
Remove Removes the first occurrence of a specific object from the FileBackedHashSetT.
(Inherited from FileBackedHashSetT, TElem)
RemoveWhere Removes all elements that match the conditions defined by the specified predicate from a FileBackedHashSetT collection.
(Inherited from FileBackedHashSetT, TElem)
SetEquals Determines whether the current set and the specified collection contain the same elements.
(Inherited from FileBackedHashSetT, TElem)
SymmetricExceptWith Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
(Inherited from FileBackedHashSetT, TElem)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UnionWith Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.
(Inherited from FileBackedHashSetT, TElem)

See Also