
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
java.util.List
```
public class NonGenericList implements List
```

Non generic list of objects
## Constructors

| Constructor | Description |
| --- | --- |
| [NonGenericList(List list)](#NonGenericList-java.util.List-) | Initializes a new instance of the  NonGenericList  class. |
## Methods

| Method | Description |
| --- | --- |
| [add(int index, Object element)](#add-int-java.lang.Object-) |  |
| [add(Object o)](#add-java.lang.Object-) |  |
| [addAll(int index, Collection c)](#addAll-int-java.util.Collection-) |  |
| [addAll(Collection c)](#addAll-java.util.Collection-) |  |
| [addItem(Object value)](#addItem-java.lang.Object-) | Adds an item to the  System.Collections.IList . |
| [clear()](#clear--) | Removes all items from the  System.Collections.IList . |
| [contains(Object value)](#contains-java.lang.Object-) | Determines whether the  System.Collections.IList  contains a specific value. |
| [containsAll(Collection c)](#containsAll-java.util.Collection-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | Gets the element at the specified index. |
| [getClass()](#getClass--) |  |
| [getList()](#getList--) |  |
| [hashCode()](#hashCode--) |  |
| [indexOf(Object value)](#indexOf-java.lang.Object-) | Determines the index of a specific item in the  System.Collections.IList . |
| [insertItem(int index, Object value)](#insertItem-int-java.lang.Object-) | Inserts an item to the  System.Collections.IList  at the specified index. |
| [isEmpty()](#isEmpty--) |  |
| [iterator()](#iterator--) | Returns an enumerator that iterates through a collection. |
| [lastIndexOf(Object o)](#lastIndexOf-java.lang.Object-) |  |
| [listIterator()](#listIterator--) |  |
| [listIterator(int index)](#listIterator-int-) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(int index)](#remove-int-) |  |
| [remove(Object o)](#remove-java.lang.Object-) |  |
| [removeAll(Collection c)](#removeAll-java.util.Collection-) |  |
| [removeAt(int index)](#removeAt-int-) | Removes the  System.Collections.IList  item at the specified index. |
| [removeItem(Object value)](#removeItem-java.lang.Object-) | Removes the first occurrence of a specific object from the  System.Collections.IList . |
| [retainAll(Collection c)](#retainAll-java.util.Collection-) |  |
| [set(int index, Object value)](#set-int-java.lang.Object-) | Sets the element at the specified index. |
| [size()](#size--) | Gets the number of elements contained in the  System.Collections.ICollection . |
| [subList(int fromIndex, int toIndex)](#subList-int-int-) |  |
| [toArray()](#toArray--) |  |
| [toArray(Object[] a)](#toArray-java.lang.Object---) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### NonGenericList(List list) {#NonGenericList-java.util.List-}
```
public NonGenericList(List list)
```


Initializes a new instance of the  NonGenericList  class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| list | java.util.List | The list - container of objects. |

### add(int index, Object element) {#add-int-java.lang.Object-}
```
public void add(int index, Object element)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| element | java.lang.Object |  |

### add(Object o) {#add-java.lang.Object-}
```
public boolean add(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
boolean
### addAll(int index, Collection c) {#addAll-int-java.util.Collection-}
```
public boolean addAll(int index, Collection c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| c | java.util.Collection |  |

**Returns:**
boolean
### addAll(Collection c) {#addAll-java.util.Collection-}
```
public boolean addAll(Collection c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection |  |

**Returns:**
boolean
### addItem(Object value) {#addItem-java.lang.Object-}
```
public int addItem(Object value)
```


Adds an item to the  System.Collections.IList .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Object | The  System.Object  to add to the  System.Collections.IList . |

**Returns:**
int - The position into which the new element was inserted.
### clear() {#clear--}
```
public void clear()
```


Removes all items from the  System.Collections.IList .

### contains(Object value) {#contains-java.lang.Object-}
```
public boolean contains(Object value)
```


Determines whether the  System.Collections.IList  contains a specific value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Object | The  System.Object  to locate in the  System.Collections.IList . |

**Returns:**
boolean - true if the  System.Object  is found in the  System.Collections.IList ; otherwise, false.
### containsAll(Collection c) {#containsAll-java.util.Collection-}
```
public boolean containsAll(Collection c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection |  |

**Returns:**
boolean
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### get(int index) {#get-int-}
```
public Object get(int index)
```


Gets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The index. |

**Returns:**
java.lang.Object - the element at the specified index.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getList() {#getList--}
```
public List getList()
```




**Returns:**
java.util.List
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOf(Object value) {#indexOf-java.lang.Object-}
```
public int indexOf(Object value)
```


Determines the index of a specific item in the  System.Collections.IList .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Object | The  System.Object  to locate in the  System.Collections.IList . |

**Returns:**
int - The index of  value  if found in the list; otherwise, -1.
### insertItem(int index, Object value) {#insertItem-int-java.lang.Object-}
```
public void insertItem(int index, Object value)
```


Inserts an item to the  System.Collections.IList  at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index at which  value  should be inserted. |
| value | java.lang.Object | The  System.Object  to insert into the  System.Collections.IList . |

### isEmpty() {#isEmpty--}
```
public boolean isEmpty()
```




**Returns:**
boolean
### iterator() {#iterator--}
```
public Iterator iterator()
```


Returns an enumerator that iterates through a collection.

**Returns:**
java.util.Iterator - An  System.Collections.IEnumerator  object that can be used to iterate through the collection.
### lastIndexOf(Object o) {#lastIndexOf-java.lang.Object-}
```
public int lastIndexOf(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
int
### listIterator() {#listIterator--}
```
public ListIterator<Object> listIterator()
```




**Returns:**
java.util.ListIterator<java.lang.Object>
### listIterator(int index) {#listIterator-int-}
```
public ListIterator<Object> listIterator(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
java.util.ListIterator<java.lang.Object>
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(int index) {#remove-int-}
```
public Object remove(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
java.lang.Object
### remove(Object o) {#remove-java.lang.Object-}
```
public boolean remove(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
boolean
### removeAll(Collection c) {#removeAll-java.util.Collection-}
```
public boolean removeAll(Collection c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection |  |

**Returns:**
boolean
### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```


Removes the  System.Collections.IList  item at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the item to remove. |

### removeItem(Object value) {#removeItem-java.lang.Object-}
```
public void removeItem(Object value)
```


Removes the first occurrence of a specific object from the  System.Collections.IList .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Object | The  System.Object  to remove from the  System.Collections.IList . |

### retainAll(Collection c) {#retainAll-java.util.Collection-}
```
public boolean retainAll(Collection c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection |  |

**Returns:**
boolean
### set(int index, Object value) {#set-int-java.lang.Object-}
```
public Object set(int index, Object value)
```


Sets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The index. |
| value | java.lang.Object |  |

**Returns:**
java.lang.Object
### size() {#size--}
```
public int size()
```


Gets the number of elements contained in the  System.Collections.ICollection .

**Returns:**
int
### subList(int fromIndex, int toIndex) {#subList-int-int-}
```
public List<Object> subList(int fromIndex, int toIndex)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fromIndex | int |  |
| toIndex | int |  |

**Returns:**
java.util.List<java.lang.Object>
### toArray() {#toArray--}
```
public Object[] toArray()
```




**Returns:**
java.lang.Object[]
### toArray(Object[] a) {#toArray-java.lang.Object---}
```
public Object[] toArray(Object[] a)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | java.lang.Object[] |  |

**Returns:**
java.lang.Object[]
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

