/** * Add the argument and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param t element to add */ public void add(T t) { delegate.add(0, t); sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(Iterable<T> c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }
/** * Add the argument and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param t element to add */ public void add(T t) { delegate.add(0, t); sort(); }
/** * Add the argument and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param t element to add */ public void add(T t) { delegate.add(0, t); sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(@SuppressWarnings("unchecked") T... c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(Iterable<T> c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(@SuppressWarnings("unchecked") T... c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(Iterable<T> c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }
/** * Add the arguments and sort according to the PriorityCollectionSorting * value for the manager configuration. * * @param c list of elements to add */ public void add(@SuppressWarnings("unchecked") T... c) { int i = 0; for (T t : c) { delegate.add(i++, t); } sort(); }