Gemstone IO Library
Show/Hide TOC

# FileBackedHashSet T, TElem Compact Method

Defragments the item section of the hash set, which gets fragmented after removing items.

## Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.154 -- Release Build+690e585b1010bc9bfdc9c11ba61c54180863b212
C#
View Source Request Example

    public void Compact()

VB
View Source Request Example

    Public Sub Compact

C++
View Source Request Example

    public:
    void Compact()

JavaScript
View Source Request Example

    function Compact();

## See Also

#### Reference

FileBackedHashSetT, TElem Class
Gemstone.IO.Collections Namespace