[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Selection.java,1.1,1.2
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-01-06 10:03:57
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20138/src/net/sourceforge/bprocessor/model Modified Files: Selection.java Log Message: Added a "contains" method to Selection Index: Selection.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Selection.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Selection.java 6 Jan 2006 09:59:23 -0000 1.1 --- Selection.java 6 Jan 2006 10:03:49 -0000 1.2 *************** *** 56,59 **** --- 56,68 ---- /** + * Return true if object is contained in this Selection + * @param object The object + * @return True if object is contained in this Selection + */ + public boolean contains(Object object) { + return selection.contains(object); + } + + /** * Clear the selection */ |