using System.Collections.Generic;
namespace Cobilas.Collections.Generic {
/// Defines methods for manipulating Long generic collections.
/// The type of the elements in the collection.
public interface ILongCollection : IEnumerable {
/// Gets the number of elements contained in the .
long Count { get; }
/// Gets a value indicating whether the is read-only.
bool IsReadOnly { get; }
/// Adds an item to the .
/// The object to add to the .
void Add(T item);
/// Removes all items from the .
void Clear();
/// Determines whether the contains a specific value.
/// The object to locate in the .
/// true if item is found in the ; otherwise, false.
bool Contains(T item);
/// Copies the elements of the to an Array, starting at a particular Array index.
/// The one-dimensional Array that is the destination of the elements copied from . The Array must have zero-based indexing.
/// The zero-based index in array at which copying begins.
void CopyTo(T[] array, long arrayIndex);
/// Removes the first occurrence of a specific object from the .
/// The object to remove from the .
bool Remove(T item);
}
}