namespace Cobilas.Collections {
/// Represents a long, non-generic collection of objects that can be accessed individually by index.
public interface ILongList : ILongCollection {
/// Gets or sets the element at the specified index.
/// The zero-based index of the element to get or set.
object this[long index] { get; set; }
/// Gets a value indicating whether the has a fixed size.
bool IsFixedSize { get; }
/// Gets a value indicating whether the is read-only.
bool IsReadOnly { get; }
/// Adds an item to the .
/// The object to add to the .
/// The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
long Add(object value);
/// Removes all items from the .
void Clear();
/// Determines whether the contains a specific value.
/// The object to locate in the .
/// true if the Object is found in the ; otherwise, false.
bool Contains(object value);
/// Determines the index of a specific item in the .
/// The object to locate in the .
/// The index of value if found in the list; otherwise, -1.
long IndexOf(object value);
/// Inserts an item to the at the specified index.
/// The zero-based index at which value should be inserted.
/// The object to insert into the .
void Insert(long index, object value);
/// Removes the first occurrence of a specific object from the .
/// The object to remove from the .
void Remove(object value);
/// Removes the item at the specified index.
/// The zero-based index of the item to remove.
void RemoveAt(long index);
}
}