tango.util.container.Slink

License:

BSD style: see license.txt

Version:

Apr 2008: Initial release

Authors:

Kris

Since:

0.99.7

Based upon Doug Lea's Java collection package
alias int KeyDummy ΒΆ
Slink instances provide standard linked list next-fields, and support standard operations upon them. Slink structures are pure implementation tools, and perform no argument checking, no result screening, and no synchronization. They rely on user-level classes (see HashSet, for example) to do such things.
Still, Slink is made `public' so that you can use it to build other kinds of containers Note that when K is specified, support for keys are enabled. When Identity is stipulated as 'true', those keys are compared using an identity-comparison instead of equality (using 'is'). Similarly, if HashCache is set true, an additional attribute is create in order to retain the hash of K