This documentation is archived and is not being maintained.

HashSet Constructor (Collection)

Visual Studio 2005

Constructs a HashSet object, and initializes it with a collection.

Package: java.util

Assembly: vjslib (in vjslib.dll)


public java.util.HashSet(
    java.util.Collection c);

Parameters

c

The collection used to initialize the object.

Show: