Revision: 7716
          http://svn.sourceforge.net/gate/?rev=7716&view=rev
Author:   ian_roberts
Date:     2006-10-18 05:32:39 -0700 (Wed, 18 Oct 2006)

Log Message:
-----------
Changed SimpleAnnotationSet to extend Set<Annotation> instead of just plain
Set.  This allows constructs like:

AnnotationSet as = ...
for(Annotation a : as) {
  ...
}

as well as making the code more self-documenting.

Methods which take or return Sets of annotation types have also been changed to
use Set<String> rather than plain Set.

This change is binary-compatible with the previous version as far as clients of
AnnotationSet are concerned, but alternative implementations of
AnnotationSet/extensions of AnnotationSetImpl will need to be updated.

Modified Paths:
--------------
    
gate/trunk/plugins/Montreal_Transducer/src/ca/umontreal/iro/rali/gate/annotation/NoDupAnnotationSetImpl.java
    gate/trunk/src/gate/SimpleAnnotationSet.java
    gate/trunk/src/gate/annotation/AnnotationSetImpl.java
    gate/trunk/src/gate/annotation/AnnotationSetImplOptimized.java
    gate/trunk/src/gate/annotation/DatabaseAnnotationSetImpl.java


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to