[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: [computer-go] Chains and liberties



 
> But
> casts are very expensive. In Java 1.5, which I don't use yet, there are
> type-safe collections, but I understand from the documentation it just
> does
> the cast under the hood. (Swept under the carpet I call that.)
> 

I think you would have write your own versions. JAva ones ARE type safe as defined by OO jargon, but they generic, but still fully type safe, all objects know what they are . Hence there is no way aroud it. But I tought that 1.5 has templates like C++. That would address your problem.  It was in the proposals anyway. As I got rid of Java recently (bacj real programming languages :).) I did not follow through.

Petri Pitkänen
null

The wait is "Ogre"! Shrek "2sday" is here! Buy the Video or DVD to see tons of amazing extras including the Shrektastic mini-film "Far Far Away Idol"! Go to http://www.play.com/play247.asp?pa=sb&page=promo&r=R2&id=736&source=859

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/