All Packages Class Hierarchy
Note that this method is identical in functionality to contains (which predates the Map interface).
This method is identical in functionality to the get method (which is part of the List interface).
equals
method.
index
, and testing for equality using
the equals
method.
index
.
This implementation returns size() == 0.
This implementation merely returns a list iterator over the list.
boolean
value from this random number generator's
sequence.
double
value between 0.0
and
1.0
from this random number generator's sequence.
float
value between 0.0
and 1.0
from this random
number generator's sequence.
double
value with mean 0.0
and standard
deviation 1.0
from this random number generator's sequence.
int
value from this random number generator's sequence.
long
value from this random number generator's sequence.
NoSuchElementException
with null
as its error message string.
NoSuchElementException
, saving a reference
to the error message string s for later retrieval by the
getMessage method.
key
to the specified
value
in this hashtable.
long
seed:
Used by method next to hold the state of the pseudorandom number generator.public Random(long seed) { setSeed(seed); }
This method is identical in functionality to the clear method (which is part of the List interface).
This method runs in linear time.
index
of this
vector to be the specified object.
long
seed.