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.162 -- Release Build+612b38c46946e02c7bb632a77f8b03c5cf030041
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