Servertec containsKey( )
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
clear( )
clone( )
contains( )
containsKey( )
elements( )
get( )
Hashtable( )
isEmpty( )
keys( )
put( )
remove( )
size( )
toString( )

Internet
IO
JDBC
Number
Object
Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Returns whether the given object is a key in the specified hashtable.

Syntax

    containsKey( hashtable , key )
    hashtable.containsKey( key )

Parameters

    hashtable the hashtable object to search.
    key the key object to search for.

Returns

    boolean true if the specified key was found
    false if the key was not found

Example

    if ht.contains( key ) then
        println( key.toString( ) + " was found" )
    end
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005