This class tests and illustrates the use of the HashedList class. Tests are in three parts.
Top
Top
Top
The first section tests the methods that are present in the Collection interface. All of the optional methods of that interface are supported. This involves tests of the HashedClass interface directly.
The second set of tests uses the Cursor returned by the GetCursor() method and tests the standard Cursor methods to display and remove rows from the HashedList.
The third set of tests tests the extended capabilities of the HashedListCursor to add rows to the table, and to work as a cursor to move in a non-linear fashion through the list.
There is as yet no testing that the HashedList fails appropriately and gracefully.
The following tables list the members exposed by HashedListTester.
Public Constructors
Name | Description | |
---|---|---|
![]() | HashedListTester | Initializes a new instance of the |
Public Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified |
![]() | GetHashCode | Serves as a hash function for a particular type. |
![]() | GetType | Gets the |
![]() ![]() | show | |
![]() | Test | |
![]() | TestCollection | |
![]() | TestCursor | |
![]() | TestHashedList | |
![]() | TestIterator | |
![]() | ToString | Returns a |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an |
![]() | MemberwiseClone | Creates a shallow copy of the current |