velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Dellarroquelle" <rayu...@usa.net>
Subject get method of an unmodifiableList
Date Tue, 13 Aug 2002 15:07:34 GMT
Hello,

I noticed that when I call get(int) method of a java.util.List, it returns
the right object stored in it,
but when the get(int) method is called on a java.util.List returned by
Collections.unmodifiableList(java.util.List)
it returns nothing.
When I say "I call get(int)" I mean $myUnmodifiableList.get(0) inside a
Velocity Template file.

Is this the spected behavior?

Thanks,
Juan.


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message