Servertec | equals( )

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 Internet IO JDBC Number Object defined( ) equals( ) forName( ) getClass( ) getName( ) hashCode( ) instanceOf( ) isDate( ) isDouble( ) isInstance( ) isInteger( ) isLong( ) isNull( ) isObject( ) isString( ) newInstance( ) Object( ) toString( ) undefine( ) 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 specified objects are the same. #### Syntax equals( object1 , object1 ) object1.equals( object2 ) #### Parameters
object1 | the object to compare.
object2 | the object to compare to.
#### Returns
boolean | true if object1 is the same object as object2. false if object1 is not the same object as object2.
#### Example
    if obj1.equals( obj2 ) then
        print( "both objects are the same" )
    end
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005