From: Ewald A. <mo...@ew...> - 2002-12-28 10:57:29
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, > I do not know C++ iterators, so I do not exactly understand your comment. Simply speaking, in C++ iterator are some kind of intelligent pointers and if you work on a sequence your need one to "point" to the beginning and one to "point" to the end. While processing the "cursor" iterator is incremented and the end is reached when cursor==end is true. There is nothing like an end() method. > values indexed by key. List is conceptually like an array, accessed > through in index. A Set is a collection which holds only one of each > value. So if I got this right, a list expectation is to enforce presence *and* order whereas a set just checks presence? I am also not yet sure about ReturnObjectList. I assume it is intended to hold values returned by a single method. This way it only holds values of the same type, e.g. a sequence of characters to simulate a file stream. There are some more files in the dynamic subdirectory. ExpectedCall.java, ExpectedReturn.java or Mock.java for example. Are they of general use? I must admit I don't understand the purpose of them. Maybe it all relies too much on the reflection api to make use of it. BTW: in the meanwhile cvs is rather complete (as far as I can say yet) and compiles cleanly on my side. bye Ewald - -- Ewald Arnold, Germany mailto:ewald at ewald-arnold dot de mobil/sms:+49-162-8001240 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+DBTkXyQcrD0ZXUYRAtrRAJ9zPMSSf+zy+bcTENwul2fioNdu9ACeKsWR tjVHyTZBRvs75GbM/vd2ZCQ= =OsEt -----END PGP SIGNATURE----- |