C# Class gnu.inet.encoding.misc.HashSet

HashSet class.
Inheritance: System.Collections.ArrayList
显示文件 Open project: pexip/os-libidn Class Usage Examples

Public Methods

Method Description
Add ( System obj ) : bool

Adds a new element to the ArrayList if it is not already present.

AddAll ( System c ) : bool

Adds all the elements of the specified collection that are not present to the list.

Clone ( ) : Object

Returns a copy of the HashSet instance.

HashSet ( ) : System
HashSet ( System c ) : System
HashSet ( int capacity ) : System

Method Details

Add() public method

Adds a new element to the ArrayList if it is not already present.
public Add ( System obj ) : bool
obj System Element to insert to the ArrayList.
return bool

AddAll() public method

Adds all the elements of the specified collection that are not present to the list.
public AddAll ( System c ) : bool
c System Collection where the new elements will be added
return bool

Clone() public method

Returns a copy of the HashSet instance.
public Clone ( ) : Object
return System.Object

HashSet() public method

public HashSet ( ) : System
return System

HashSet() public method

public HashSet ( System c ) : System
c System
return System

HashSet() public method

public HashSet ( int capacity ) : System
capacity int
return System