add toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f633bcf7f
commit
fc65ecbb81
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/CollectionIntCollection.java,v 1.2 2003/01/07 00:59:51 rwaldhoff Exp $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2003/01/07 00:59:51 $
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/CollectionIntCollection.java,v 1.3 2003/01/07 01:34:07 rwaldhoff Exp $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2003/01/07 01:34:07 $
|
||||
*
|
||||
* ====================================================================
|
||||
*
|
||||
|
@ -68,7 +68,7 @@ import java.util.Collection;
|
|||
* {@link java.util.Collection Collection} to the
|
||||
* {@link IntCollection} interface.
|
||||
*
|
||||
* @version $Revision: 1.2 $ $Date: 2003/01/07 00:59:51 $
|
||||
* @version $Revision: 1.3 $ $Date: 2003/01/07 01:34:07 $
|
||||
* @author Rodney Waldhoff
|
||||
*/
|
||||
public class CollectionIntCollection implements IntCollection {
|
||||
|
@ -108,6 +108,10 @@ public class CollectionIntCollection implements IntCollection {
|
|||
return _collection.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return _collection.toString();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return _collection.isEmpty();
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntCollectionCollection.java,v 1.3 2003/01/07 00:59:51 rwaldhoff Exp $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2003/01/07 00:59:51 $
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntCollectionCollection.java,v 1.4 2003/01/07 01:34:07 rwaldhoff Exp $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2003/01/07 01:34:07 $
|
||||
*
|
||||
* ====================================================================
|
||||
*
|
||||
|
@ -69,7 +69,7 @@ import java.util.Iterator;
|
|||
* Adapts an {@link IntCollection} to the
|
||||
* {@link java.util.Collection Collection} interface.
|
||||
*
|
||||
* @version $Revision: 1.3 $ $Date: 2003/01/07 00:59:51 $
|
||||
* @version $Revision: 1.4 $ $Date: 2003/01/07 01:34:07 $
|
||||
* @author Rodney Waldhoff
|
||||
*/
|
||||
public class IntCollectionCollection implements Collection {
|
||||
|
@ -117,6 +117,10 @@ public class IntCollectionCollection implements Collection {
|
|||
return _collection.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return _collection.toString();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return _collection.isEmpty();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue