org.n0pe.asadmin.AsAdminCmdList Maven / Gradle / Ivy
/**
* asadmin-glassfish-plugin : a maven plugin for glassfish administratives tasks
*
* Copyright (C) 2008 Paul Merlin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package org.n0pe.asadmin;
import java.util.ArrayList;
/**
* An ArrayList containing IAsCommands.
* Generics in maven ?
*
* @author Paul Merlin
*/
public class AsAdminCmdList
extends ArrayList {
private static final long serialVersionUID = 1L;
/**
* AsAdminCmdList CTOR.
*/
public AsAdminCmdList() {
super();
}
public boolean add(IAsAdminCmd e) {
return super.add(e);
}
public void add(int index, IAsAdminCmd element) {
super.add(index, element);
}
public boolean contains(IAsAdminCmd o) {
return super.contains(o);
}
public int indexOf(IAsAdminCmd o) {
return super.indexOf(o);
}
public int lastIndexOf(IAsAdminCmd o) {
return super.lastIndexOf(o);
}
public boolean remove(IAsAdminCmd o) {
return super.remove(o);
}
public IAsAdminCmd set(int index, IAsAdminCmd element) {
return (IAsAdminCmd) super.set(index, element);
}
public IAsAdminCmd[] toArray(IAsAdminCmd[] a) {
return (IAsAdminCmd[]) super.toArray(a);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy