|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Stores Keys
Field Summary | |
---|---|
Naanou.Common.KeyContainer[] | _data |
int | _defaultCapacity |
int | _size |
Constructor Summary | |
---|---|
Collection() Constructor |
|
Collection(Naanou.Common.KeyStorage.Collection x) Constructor |
|
Collection(Naanou.Common.KeyContainer[] x) Constructor |
Property Summary | |
---|---|
int |
Count
Gets number of elements contained in list |
Naanou.Common.KeyContainer |
Item[int index] Gets or sets a value at an index |
Method Summary | |
---|---|
int |
Add(Naanou.Common.KeyContainer x) Adds new item |
void |
AddRange(Naanou.Common.KeyContainer[] x) Adds a range of items |
void |
AddRange(Naanou.Common.KeyStorage.Collection x) Adds a collection of items |
void |
Clear() Clears all data |
bool |
Contains(Naanou.Common.KeyContainer x) Does the list contain an item? |
void |
CopyTo(Naanou.Common.KeyContainer[] array, int index) Copies contents of list to an array |
void | EnsureCapacity(int capacity) |
Naanou.Common.KeyStorage.Enumerator |
GetEnumerator() Gets enumerator |
object | ICloneable.Clone() |
void | ICollection.CopyTo(System.Array array, int index) |
System.Collections.IEnumerator | IEnumerable.GetEnumerator() |
int | IList.Add(object val) |
bool | IList.Contains(object x) |
int | IList.IndexOf(object x) |
void | IList.Insert(int index, object x) |
void | IList.Remove(object x) |
void | IList.RemoveAt(int index) |
int |
IndexOf(Naanou.Common.KeyContainer x) Gets the index of an item |
void |
Insert(int index, Naanou.Common.KeyContainer x) Inserts an item at a particular index |
void |
Remove(Naanou.Common.KeyContainer x) Removes an item |
void |
SetCapacity(int capacity) Sets the capacity of list |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private Naanou.Common.KeyContainer[] _data
private int _defaultCapacity
private int _size
Constructor Detail |
---|
public Collection()
Constructor
public Collection(Naanou.Common.KeyStorage.Collection x)
Constructor
public Collection(Naanou.Common.KeyContainer[] x)
Constructor
Property Detail |
---|
public int Count
Gets number of elements contained in list
public Naanou.Common.KeyContainer this[int index]
Gets or sets a value at an index
Method Detail |
---|
public int Add(Naanou.Common.KeyContainer x)
Adds new item
Parameters:
x
- Itempublic void AddRange(Naanou.Common.KeyContainer[] x)
Adds a range of items
Parameters:
x
- Rangepublic void AddRange(Naanou.Common.KeyStorage.Collection x)
Adds a collection of items
Parameters:
x
- public void Clear()
Clears all data
public bool Contains(Naanou.Common.KeyContainer x)
Does the list contain an item?
Parameters:
x
- Item to findpublic void CopyTo(Naanou.Common.KeyContainer[] array, int index)
Copies contents of list to an array
Parameters:
array
- Arrayindex
- Index to start inserting fromprivate void EnsureCapacity(int capacity)
public Naanou.Common.KeyStorage.Enumerator GetEnumerator()
Gets enumerator
Returns:
private object ICloneable.Clone()
private void ICollection.CopyTo(System.Array array, int index)
private System.Collections.IEnumerator IEnumerable.GetEnumerator()
private int IList.Add(object val)
private bool IList.Contains(object x)
private int IList.IndexOf(object x)
private void IList.Insert(int index, object x)
private void IList.Remove(object x)
private void IList.RemoveAt(int index)
public int IndexOf(Naanou.Common.KeyContainer x)
Gets the index of an item
Parameters:
x
- Itempublic void Insert(int index, Naanou.Common.KeyContainer x)
Inserts an item at a particular index
Parameters:
index
- Indexx
- Itempublic void Remove(Naanou.Common.KeyContainer x)
Removes an item
Parameters:
x
- Item to removepublic void SetCapacity(int capacity)
Sets the capacity of list
Parameters:
capacity
-
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |