Author: arminw
Date: Wed May 10 07:00:52 2006
New Revision: 405766
URL: http://svn.apache.org/viewcvs?rev=405766&view=rev
Log:
add constructors
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/IdentityArrayList.java
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/IdentityArrayList.java
URL:
http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/IdentityArrayList.java?rev=405766&r1=405765&r2=405766&view=diff
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/IdentityArrayList.java
(original)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/IdentityArrayList.java
Wed May 10 07:00:52 2006
@@ -1,6 +1,6 @@
package org.apache.ojb.broker.util;
-/* Copyright 2004-2005 The Apache Software Foundation
+/* Copyright 2004-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,16 +17,31 @@
import java.util.ArrayList;
import java.util.Iterator;
+import java.util.Collection;
/**
* Object identity based [EMAIL PROTECTED] java.util.List}, use <tt>"=="</tt>
instead of
* <tt>element_1.equals(element_2)</tt> to compare objects.
*
- * @author Guillaume Nodet
* @version $Id$
*/
public class IdentityArrayList extends ArrayList
{
+
+ public IdentityArrayList()
+ {
+ }
+
+ public IdentityArrayList(int initialCapacity)
+ {
+ super(initialCapacity);
+ }
+
+ public IdentityArrayList(Collection c)
+ {
+ super(c);
+ }
+
public boolean contains(Object elem)
{
return indexOf(elem) >= 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]