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.165 -- Release Build+90e70fb13a8ed8f84b5b4dc8e65afc7c596c977f
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