cfc1.equals(cfc2) should work, though I haven't tested.

cheers,
barneyb

On 10/17/05, Mark Mandel <[EMAIL PROTECTED]> wrote:
> All,
>
> I'm not sure if my mind is doing a complete blank on this or what...
> or if I just missed something really obvious.
>
> If i have 2 CFC instances, and I want to check if they are the same
> instance, is there an easy way to do this?
>
> Trying to write:
>
> if(oneCFC eq twoCFC)
>
> Produces an error, as you can only use the 'eq' operator on strings
> and numerics.
>
> To do this, I've been forced to utilise the
> java.lang.System.getIdetityHashCode() to determine if they are the
> same object, but this seems a little cludgy.
>
> Is there an easy option that I'm just not seeing?
>
> Cheers,
>
> Mark
>
> --
> E: [EMAIL PROTECTED]
> W: www.compoundtheory.com
> ICQ: 3094740
>
>


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.
b����.n�+�����qׯN�����r��zǧu�ޙ����qׯq�3�w��"�a{
+v˧���r��y��u�ڲ�^���y�h~�^zf��!B
�ⲻ�o �  �'{0q�3�w���v˩���y��UǢ�b�
0�����-�x�`�7���.��+��[�װ�Z�֦jG�����热�(�m����  
���ej{Zr������l��ny�ڂ���w^���v�r�z�����7��+-�Ưj)ZnW��0���j�!����o�}�^���Ήޢ�

Reply via email to