Hi -
I am in the process of making CircularLocations more compatible with the
biojava 1.2 api. I have made good progress but I have run aground with
LocationTools.handleDecorations() which doesn't.
Is this method intended as a hospital pass? or should it be used by
decorated methods when performing logical operations?
In biojava 1.1 the old CircularRangeLocation and CircularPointLocation
classes implemented the old requirements for Union/Intersection methods
etc, is there any reason why these could not be used in LocationTools.
Also would the LocationTools.isDecorated() method be more efficient if it
had the following signature
protected static boolean isDecorated(Location loc){
return (loc instanceof AbstractLocationDecorator);
}
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schreiber Ph: 64 3 4797875
Rm 218 email [EMAIL PROTECTED]
Department of Biochemistry email [EMAIL PROTECTED]
University of Otago
PO Box 56
Dunedin
New Zealand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Biojava-l mailing list - [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l