What is the times() method?

I am currently going through the Java Tutorial. Under the section 揕ist Interface?br>

http://java.sun.com/docs/books/tutorial/collections/interfaces/list.html

I see a code sample ?br>a[i] = a[j].times(a[k]);

I interpret the right-hand side as calling the 搕imes?method of the object a[j]. Since the definition of the array 揳?is not present in the code snippet, I don抰 know it抯 type.

I have searched the Java API Specification and can see no method called 搕imes? Is there a standard method called 搕imes?or do we assume that 揳?is an array of some user declared class with method called 搕imes?

Dell

Message was edited by:

Dellboy

[674 byte] By [Dellboya] at [2007-11-26 18:39:53]
# 1
Never heard about it. May be some user defined method for multiplication (that's what the name suggests) of two array elements (assuming that a[] is numeric)
manuel.leiriaa at 2007-7-9 6:13:55 > top of Java-index,Java Essentials,New To Java...
# 2
> we assume that 揳?is an array of some user declared class with method called 搕imesYes
Peetzorea at 2007-7-9 6:13:55 > top of Java-index,Java Essentials,New To Java...