[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    Re: [collections] Generics/JDK 5
From:       Mauro Franceschini <mauro.franceschini () gmail ! com>
Date:       2005-03-31 7:26:35
Message-ID: 841196680503302326262f34bc () mail ! gmail ! com
[Download RAW message or body]

Hi Thomas.
I'm Mauro, the other developer on the project.
Maybe that the missing class is a my fault, because I forget to commit
the source file for the missing class.
This evening, I look at the project at my home and I try to solve the problem.

Regards.
Mauro.

On Wed, 30 Mar 2005 22:23:21 +0200, Thomas Klaeger <tomy@10a.ch> wrote:
> Hello Chris,
> 
> Thanks for your information. I got the source from the cvs on
> sourceforge, however to compile it is missing the class
> "net.sf.collections15.collection.AbstractCollectionDecorator".
> 
> I compared your adoption of the generics with what I've done and we've
> arrived at very similar solutions.
> 
> Just two points:
> 
> * you generified Closure, Factory and Predicate with the type variable
> "<E>", I would prefer to write the type variable as "<T>", like in
> "java.util.Comparator<T>". This is however mostly cosmetical.
> 
> * you generified the MultiMap to "public interface MultiMap <K, V>
> extends Map<K, V>", I would prefer "public interface MultiMap <K, V>
> extends Map<K, Collection<V>>" in accordance with the javadoc: "Defines
> a map that holds a collection of values against each key."
> 
> Regards,
> 
> Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic