Code example for List

Methods: addAll

     * @param collection 
     *            the collection of entities (<code>null</code> not permitted). 
    public void addAll(EntityCollection collection) {
     * Returns the last entity in the list with an area that encloses the 
     * specified coordinates, or <code>null</code> if there is no such entity. 
     * @param x 
     *            the x coordinate. 
     * @param y 
     *            the y coordinate. 
     * @return The entity (possibly <code>null</code>). 
    public ChartEntity getEntity(double x, double y) {
Connect your IDE to all the code out there  Get Codota for Java