IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
java.util.ListWrapper< T > Class Template Reference
Inheritance diagram for java.util.ListWrapper< T >:
java.util.CollectionWrapper< T > java.lang.IterableWrapper< T >

Public Member Functions

 ListWrapper (List list)
 Initializes a new instance.
 
int IndexOf (T item)
 
void Insert (int index, T item)
 
void RemoveAt (int index)
 
- Public Member Functions inherited from java.util.CollectionWrapper< T >
 CollectionWrapper (Collection collection)
 Initializes a new instance.
 
void Add (T item)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
- Public Member Functions inherited from java.lang.IterableWrapper< T >
 IterableWrapper (Iterable iterable)
 Initializes a new instance.
 
IEnumerator< T > GetEnumerator ()
 Returns an enumerator that wraps the given iterable.
 

Properties

this[int index] [get, set]
 
- Properties inherited from java.util.CollectionWrapper< T >
int Count [get]
 
bool IsReadOnly [get]
 

Detailed Description

Definition at line 7 of file ListWrapper.cs.

Constructor & Destructor Documentation

◆ ListWrapper()

Initializes a new instance.

Parameters
list
Exceptions
ArgumentNullException

Definition at line 17 of file ListWrapper.cs.

17 :
18 base(list)
19 {
20 _list = list ?? throw new ArgumentNullException(nameof(list));
21 }

Member Function Documentation

◆ IndexOf()

int java.util.ListWrapper< T >.IndexOf ( T item)

◆ Insert()

void java.util.ListWrapper< T >.Insert ( int index,
T item )

◆ RemoveAt()

void java.util.ListWrapper< T >.RemoveAt ( int index)

Property Documentation

◆ this[int index]

T java.util.ListWrapper< T >.this[int index]
getset

Definition at line 24 of file ListWrapper.cs.

25 {
26 get => (T)_list.get(index);
27 set => _list.set(index, value);
28 }

The documentation for this class was generated from the following file: