Package system.diagnostics
Class ProcessThreadCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.collections.ReadOnlyCollectionBase
-
- system.diagnostics.ProcessThreadCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class ProcessThreadCollection extends ReadOnlyCollectionBase
The base .NET class managing System.Diagnostics.ProcessThreadCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.ProcessThreadCollection
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Diagnostics.ProcessThreadCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description ProcessThreadCollection()ProcessThreadCollection(java.lang.Object instance)Internal constructor.ProcessThreadCollection(ProcessThread[] processThreads)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(ProcessThread thread)static ProcessThreadCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoProcessThreadCollection, a cast assert is made to check if types are compatible.booleanContains(ProcessThread thread)voidCopyTo(ProcessThread[] array, int index)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintIndexOf(ProcessThread thread)voidInsert(int index, ProcessThread thread)voidRemove(ProcessThread thread)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.collections.ReadOnlyCollectionBase
getCount
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.ProcessThreadCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessThreadCollection
public ProcessThreadCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ProcessThreadCollection
public ProcessThreadCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ProcessThreadCollection
public ProcessThreadCollection(ProcessThread[] processThreads) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classReadOnlyCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classReadOnlyCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classReadOnlyCollectionBase- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classReadOnlyCollectionBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classReadOnlyCollectionBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classReadOnlyCollectionBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ProcessThreadCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoProcessThreadCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ProcessThreadCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(ProcessThread thread) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public int Add(ProcessThread thread) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
IndexOf
public int IndexOf(ProcessThread thread) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
CopyTo
public void CopyTo(ProcessThread[] array, int index) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
Insert
public void Insert(int index, ProcessThread thread) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
Remove
public void Remove(ProcessThread thread) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
-