/*!
 * @author electricessence / https://github.com/electricessence/
 * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
 */

///<reference path="IReadOnlyCollection.d.ts"/>

interface ICollection<T> extends IReadOnlyCollection<T>
{
	add(entry:T): void;
	remove(entry:T, max?:number): number;  // Number of times removed.
	clear(): number;
	
	importEntries(entries:IEnumerableOrArray<T>):number;
	toArray():T[];
}
