eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Dolphin::SearchPolicy':

Home

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

Class: SearchPolicy (in Dolphin)


Inheritance:

   Object
   |
   +--Dolphin::SearchPolicy

Package:
stx:libcompat
Category:
Compatibility-Dolphin
Version:
rev: 1.3 date: 2016/08/11 13:24:31
user: stefan
file: Dolphin__SearchPolicy.st directory: libcompat
module: stx stc-classLibrary: libcompat

Description:


Just enough to make Spray using PluggableLookupTable 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.


Class protocol:

instance creation
o  caseInsensitive
self caseInsensitive compareSame:'hello' with:'Hello'.
self caseInsensitive compareSame:'hello1' with:'Hello2'.

self caseInsensitive hashFor:'hello'.
self caseInsensitive hashFor:'Hello'.


Instance protocol:

accessing
o  compareBlock

o  hashBlock

pluggable dictionary interface
o  compareSame: element1 with: element2

o  hashFor: aKey

private
o  caseInsensitive

o  caseInsensitiveCompare: a with: b

o  caseInsensitiveHashFor: aString



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 05:21:30 GMT