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.178 -- Release Build+b3946162e2bd2f7852bcfab078c6dd8531382bfc
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