Code example for List

Methods: iterator

0
     * Returns an iterator for the entities in the collection. 
     *  
     * @return An iterator. 
     */ 
    public Iterator iterator() {
        return this.entities.iterator();
    } 
 
    /** 
     * Tests this object for equality with an arbitrary object. 
     * 
     * @param obj  the object to test against (<code>null</code> permitted). 
     * 
     * @return A boolean. 
     */ 
    public boolean equals(Object obj) {
        if (obj == this) {
            return true; 
        } 
        if (obj instanceof StandardEntityCollection) {
            StandardEntityCollection that = (StandardEntityCollection) obj;