Class NetArrayList
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetArrayList
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class NetArrayList extends NetObject
The base .NET class managing System.Collections.ArrayList, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. ExtendsNetObject
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
static java.lang.String
assemblyShortName
static java.lang.String
className
static JCType
classType
-
Constructor Summary
Constructors Constructor Description NetArrayList()
NetArrayList(int capacity)
NetArrayList(java.lang.Object instance)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
Add(NetObject value)
int
BinarySearch(NetObject value)
static NetArrayList
castFrom(IJCOBridgeReflected from)
NetObject
Clone()
boolean
Contains(NetObject item)
static NetArrayList
FixedSize(NetArrayList list)
int
getCapacity()
int
getCount()
boolean
getIsFixedSize()
boolean
getIsReadOnly()
boolean
getIsSynchronized()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetArrayList
GetRange(int index, int count)
NetObject
getSyncRoot()
int
IndexOf(NetObject value)
int
IndexOf(NetObject value, int startIndex)
int
IndexOf(NetObject value, int startIndex, int count)
void
Insert(int index, NetObject value)
int
LastIndexOf(NetObject value)
int
LastIndexOf(NetObject value, int startIndex)
int
LastIndexOf(NetObject value, int startIndex, int count)
static NetArrayList
ReadOnly(NetArrayList list)
void
Remove(NetObject obj)
void
RemoveAt(int index)
void
RemoveRange(int index, int count)
static NetArrayList
Repeat(NetObject value, int count)
void
Reverse()
void
Reverse(int index, int count)
void
setCapacity(int Capacity)
static NetArrayList
Synchronized(NetArrayList list)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
- See Also:
- Constant Field Values
-
classType
public static JCType classType
-
-
Constructor Detail
-
NetArrayList
public NetArrayList(java.lang.Object instance) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
NetArrayList
public NetArrayList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
NetArrayList
public NetArrayList(int capacity) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
castFrom
public static NetArrayList castFrom(IJCOBridgeReflected from) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public int Add(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BinarySearch
public int BinarySearch(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clone
public NetObject Clone() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Contains
public boolean Contains(NetObject item) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FixedSize
public static NetArrayList FixedSize(NetArrayList list) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(NetObject value, int startIndex) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(NetObject value, int startIndex, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Insert
public void Insert(int index, NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LastIndexOf
public int LastIndexOf(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LastIndexOf
public int LastIndexOf(NetObject value, int startIndex) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ReadOnly
public static NetArrayList ReadOnly(NetArrayList list) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Remove
public void Remove(NetObject obj) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RemoveRange
public void RemoveRange(int index, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Repeat
public static NetArrayList Repeat(NetObject value, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Reverse
public void Reverse() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Reverse
public void Reverse(int index, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Synchronized
public static NetArrayList Synchronized(NetArrayList list) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LastIndexOf
public int LastIndexOf(NetObject value, int startIndex, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRange
public NetArrayList GetRange(int index, int count) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCapacity
public int getCapacity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCapacity
public void setCapacity(int Capacity) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsFixedSize
public boolean getIsFixedSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsSynchronized
public boolean getIsSynchronized() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSyncRoot
public NetObject getSyncRoot() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-