eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Dolphin::PluggableLookupTable':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: PluggableLookupTable (in Dolphin)


Inheritance:

   Object
   |
   +--Collection
      |
      +--Set
         |
         +--Dictionary
            |
            +--PluggableDictionary
               |
               +--Dolphin::PluggableLookupTable

Package:
stx:libcompat
Category:
Compatibility-Dolphin
Version:
rev: 1.6 date: 2021/01/20 14:52:40
user: cg
file: Dolphin__PluggableLookupTable.st directory: libcompat
module: stx stc-classLibrary: libcompat

Description:


Just enough to make Spray happy ...

Dolphin compatibility class.
This may be required when existing code has to be ported to ST/X;
however, it may not be complete and more protocol may be added in the future.
The code here was created when public domain code (Manchester) had to
be ported to ST/X and missing classes/methods were encountered, and code added
by reasoning 'what the original class could probably do there'.

This is currently not used by ST/X itself.

This is an additional goody class; therefore:

THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.


Instance protocol:

accessing
o  searchPolicy: aSearchPolicy
set the value of the instance variable 'searchPolicy' (automatically generated)

private
o  hashFor: aKey
return aKeys hash value - must correspond to compareSame:with:


Examples:


|dict|

dict := PluggableLookupTable new searchPolicy: SearchPolicy caseInsensitive.
dict at:'abc'   put:1.
dict at:'hello' put:2.
dict at:'aBc'.    
dict at:'HELLO'


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Fri, 22 Nov 2024 00:21:44 GMT