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.158 -- Release Build+f7106cda20384a326bb8a47ce83b28923b71589b
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