本文整理汇总了C#中java类的典型用法代码示例。如果您正苦于以下问题:C# java类的具体用法?C# java怎么用?C# java使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
java类属于命名空间,在下文中一共展示了java类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::net.sf.robocode.security.HiddenAccess.staticClass = @__class;
global::net.sf.robocode.security.HiddenAccess.j4n_dispatch0 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "dispatch", "(Lrobocode/Event;Lrobocode/robotinterfaces/IBasicRobot;Lnet/sf/robocode/peer/IRob" +
"otStatics;Ljava/awt/Graphics2D;)V");
global::net.sf.robocode.security.HiddenAccess.j4n_init1 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "init", "()V");
global::net.sf.robocode.security.HiddenAccess.j4n_cleanup2 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "cleanup", "()V");
global::net.sf.robocode.security.HiddenAccess.j4n_update3 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "update", "(Lrobocode/Bullet;DDLjava/lang/String;Z)V");
global::net.sf.robocode.security.HiddenAccess.j4n_initContainer4 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "initContainer", "()V");
global::net.sf.robocode.security.HiddenAccess.j4n_robocodeMain5 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "robocodeMain", "([Ljava/lang/String;)V");
global::net.sf.robocode.security.HiddenAccess.j4n_isCriticalEvent6 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "isCriticalEvent", "(Lrobocode/Event;)Z");
global::net.sf.robocode.security.HiddenAccess.j4n_setEventTime7 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "setEventTime", "(Lrobocode/Event;J)V");
global::net.sf.robocode.security.HiddenAccess.j4n_setEventPriority8 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "setEventPriority", "(Lrobocode/Event;I)V");
global::net.sf.robocode.security.HiddenAccess.j4n_setDefaultPriority9 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "setDefaultPriority", "(Lrobocode/Event;)V");
global::net.sf.robocode.security.HiddenAccess.j4n_getSerializationType10 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "getSerializationType", "(Lrobocode/Event;)B");
global::net.sf.robocode.security.HiddenAccess.j4n_createSpecification11 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "createSpecification", "(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/la" +
"ng/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Strin" +
"g;)Lrobocode/control/RobotSpecification;");
global::net.sf.robocode.security.HiddenAccess.j4n_getFileSpecification12 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "getFileSpecification", "(Lrobocode/control/RobotSpecification;)Ljava/lang/Object;");
global::net.sf.robocode.security.HiddenAccess.j4n_getRobotTeamName13 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "getRobotTeamName", "(Lrobocode/control/RobotSpecification;)Ljava/lang/String;");
global::net.sf.robocode.security.HiddenAccess.j4n_setTeamId14 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "setTeamId", "(Lrobocode/control/RobotSpecification;Ljava/lang/String;)V");
global::net.sf.robocode.security.HiddenAccess.j4n_createStatus15 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "createStatus", "(DDDDDDDDDDDDIIIIJ)Lrobocode/RobotStatus;");
global::net.sf.robocode.security.HiddenAccess.j4n_createRules16 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "createRules", "(IIIDJZI)Lrobocode/BattleRules;");
global::net.sf.robocode.security.HiddenAccess.j4n_isSafeThread17 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "isSafeThread", "()Z");
global::net.sf.robocode.security.HiddenAccess.j4n_initContainerForRobotEngine18 = @__env.GetStaticMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "initContainerForRobotEngine", "(Ljava/io/File;Lrobocode/control/events/IBattleListener;)V");
global::net.sf.robocode.security.HiddenAccess.j4n__ctorHiddenAccess19 = @__env.GetMethodID(global::net.sf.robocode.security.HiddenAccess.staticClass, "<init>", "()V");
}
开发者ID:NotBobTheBuilder,项目名称:robocode,代码行数:26,代码来源:HiddenAccess.generated.cs
示例2: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::[email protected]__IVersionManagerBase.staticClass = @__class;
global::[email protected]__IVersionManagerBase.j4n_getVersion0 = @__env.GetMethodID(global::[email protected]__IVersionManagerBase.staticClass, "getVersion", "()Ljava/lang/String;");
global::[email protected]__IVersionManagerBase.j4n_getVersionAsInt1 = @__env.GetMethodID(global::[email protected]__IVersionManagerBase.staticClass, "getVersionAsInt", "()I");
global::[email protected]__IVersionManagerBase.j4n_getVersionN2 = @__env.GetMethodID(global::[email protected]__IVersionManagerBase.staticClass, "getVersionN", "()Ljava/lang/String;");
global::[email protected]__IVersionManagerBase.j4n_isLastRunVersionChanged3 = @__env.GetMethodID(global::[email protected]__IVersionManagerBase.staticClass, "isLastRunVersionChanged", "()Z");
}
开发者ID:Inzaghi2012,项目名称:robocode,代码行数:7,代码来源:IVersionManagerBase.generated.cs
示例3: fromPrivateFile
public static global::android.gesture.GestureLibrary fromPrivateFile(android.content.Context arg0, java.lang.String arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.gesture.GestureLibraries._m2.native == global::System.IntPtr.Zero)
global::android.gesture.GestureLibraries._m2 = @__env.GetStaticMethodIDNoThrow(global::android.gesture.GestureLibraries.staticClass, "fromPrivateFile", "(Landroid/content/Context;Ljava/lang/String;)Landroid/gesture/GestureLibrary;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.gesture.GestureLibraries.staticClass, global::android.gesture.GestureLibraries._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.gesture.GestureLibrary;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:GestureLibraries.cs
示例4: readEvents
public static void readEvents(int[] arg0, java.util.Collection arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.util.EventLog._m5.native == global::System.IntPtr.Zero)
global::android.util.EventLog._m5 = @__env.GetStaticMethodIDNoThrow(global::android.util.EventLog.staticClass, "readEvents", "([ILjava/util/Collection;)V");
@__env.CallStaticVoidMethod(android.util.EventLog.staticClass, global::android.util.EventLog._m5, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:EventLog.cs
示例5: fromFile
public static global::android.gesture.GestureLibrary fromFile(java.io.File arg0)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.gesture.GestureLibraries._m1.native == global::System.IntPtr.Zero)
global::android.gesture.GestureLibraries._m1 = @__env.GetStaticMethodIDNoThrow(global::android.gesture.GestureLibraries.staticClass, "fromFile", "(Ljava/io/File;)Landroid/gesture/GestureLibrary;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.gesture.GestureLibraries.staticClass, global::android.gesture.GestureLibraries._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.gesture.GestureLibrary;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:GestureLibraries.cs
示例6: getCacheFile
public static global::android.webkit.CacheManager.CacheResult getCacheFile(java.lang.String arg0, java.util.Map arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.webkit.CacheManager._m4.native == global::System.IntPtr.Zero)
global::android.webkit.CacheManager._m4 = @__env.GetStaticMethodIDNoThrow(global::android.webkit.CacheManager.staticClass, "getCacheFile", "(Ljava/lang/String;Ljava/util/Map;)Landroid/webkit/CacheManager$CacheResult;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.webkit.CacheManager.staticClass, global::android.webkit.CacheManager._m4, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.webkit.CacheManager.CacheResult;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:CacheManager.cs
示例7: decodeFileDescriptor
public static global::android.graphics.Bitmap decodeFileDescriptor(java.io.FileDescriptor arg0)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.graphics.BitmapFactory._m9.native == global::System.IntPtr.Zero)
global::android.graphics.BitmapFactory._m9 = @__env.GetStaticMethodIDNoThrow(global::android.graphics.BitmapFactory.staticClass, "decodeFileDescriptor", "(Ljava/io/FileDescriptor;)Landroid/graphics/Bitmap;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.graphics.Bitmap>(@__env.CallStaticObjectMethod(android.graphics.BitmapFactory.staticClass, global::android.graphics.BitmapFactory._m9, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.graphics.Bitmap;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:BitmapFactory.cs
示例8: BattleCompletedEvent
public BattleCompletedEvent(global::java.lang.Object par0, java.lang.Object[] par1) :
base(((global::net.sf.jni4net.jni.JNIEnv)(null))) {
global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.ThreadEnv;
using(new global::net.sf.jni4net.jni.LocalFrame(@__env, 14)){
@__env.NewObject(global::robocode.control.events.BattleCompletedEvent.staticClass, global::robocode.control.events.BattleCompletedEvent.j4n__ctorBattleCompletedEvent3, this, global::net.sf.jni4net.utils.Convertor.ParStrongCp2J(par0), global::net.sf.jni4net.utils.Convertor.ParArrayStrongCp2J(@__env, par1));
}
}
开发者ID:hgzapata,项目名称:robocode,代码行数:7,代码来源:BattleCompletedEvent.generated.cs
示例9: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::[email protected]__IHostingRobotProxy.staticClass = @__class;
global::[email protected]__IHostingRobotProxy.j4n_cleanup0 = @__env.GetMethodID(global::[email protected]__IHostingRobotProxy.staticClass, "cleanup", "()V");
global::[email protected]__IHostingRobotProxy.j4n_startRound1 = @__env.GetMethodID(global::[email protected]__IHostingRobotProxy.staticClass, "startRound", "(Lnet/sf/robocode/peer/ExecCommands;Lrobocode/RobotStatus;)V");
global::[email protected]__IHostingRobotProxy.j4n_forceStopThread2 = @__env.GetMethodID(global::[email protected]__IHostingRobotProxy.staticClass, "forceStopThread", "()V");
global::[email protected]__IHostingRobotProxy.j4n_waitForStopThread3 = @__env.GetMethodID(global::[email protected]__IHostingRobotProxy.staticClass, "waitForStopThread", "()V");
}
开发者ID:EamonnACI,项目名称:ACI-SpaceRace,代码行数:7,代码来源:IHostingRobotProxy.generated.cs
示例10: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::robocode.control.RobotResults.staticClass = @__class;
global::robocode.control.RobotResults._getRobot0 = @__env.GetMethodID(global::robocode.control.RobotResults.staticClass, "getRobot", "()Lrobocode/control/RobotSpecification;");
global::robocode.control.RobotResults._convertResults1 = @__env.GetStaticMethodID(global::robocode.control.RobotResults.staticClass, "convertResults", "([Lrobocode/BattleResults;)[Lrobocode/control/RobotResults;");
global::[email protected]__ctorRobotResults2 = @__env.GetMethodID(global::robocode.control.RobotResults.staticClass, "<init>", "(Lrobocode/control/RobotSpecification;Lrobocode/BattleResults;)V");
global::[email protected]__ctorRobotResults3 = @__env.GetMethodID(global::robocode.control.RobotResults.staticClass, "<init>", "(Lrobocode/control/RobotSpecification;Ljava/lang/String;IDDDDDDDIII)V");
}
开发者ID:jccjames422,项目名称:SRE-RoboCode,代码行数:7,代码来源:RobotResults.generated.cs
示例11: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::robocode.control.events.BattleStartedEvent.staticClass = @__class;
global::robocode.control.events.BattleStartedEvent.j4n_getBattleRules0 = @__env.GetMethodID(global::robocode.control.events.BattleStartedEvent.staticClass, "getBattleRules", "()Lrobocode/BattleRules;");
global::robocode.control.events.BattleStartedEvent.j4n_isReplay1 = @__env.GetMethodID(global::robocode.control.events.BattleStartedEvent.staticClass, "isReplay", "()Z");
global::robocode.control.events.BattleStartedEvent.j4n_getRobotsCount2 = @__env.GetMethodID(global::robocode.control.events.BattleStartedEvent.staticClass, "getRobotsCount", "()I");
global::robocode.control.events.BattleStartedEvent.j4n__ctorBattleStartedEvent3 = @__env.GetMethodID(global::robocode.control.events.BattleStartedEvent.staticClass, "<init>", "(Lrobocode/BattleRules;IZ)V");
}
开发者ID:EamonnACI,项目名称:ACI-SpaceRace,代码行数:7,代码来源:BattleStartedEvent.generated.cs
示例12: put
public virtual java.nio.ByteBuffer put(java.nio.ByteBuffer src)
{
if (src == this)
{
throw new System.ArgumentException("src == this");
}
int srcByteCount = src.remaining();
if (srcByteCount > remaining())
{
throw new java.nio.BufferOverflowException();
}
if (src.isDirect()) {
throw new System.InvalidOperationException();
}
byte[] srcObject = java.nio.NioUtils.unsafeArray(src);
int srcOffset = src.position();
if (!src.isDirect())
{
srcOffset += java.nio.NioUtils.unsafeArrayOffset(src);
}
java.nio.ByteBuffer dst = this;
if (dst.isDirect()) {
throw new System.InvalidOperationException();
}
byte[] dstObject = java.nio.NioUtils.unsafeArray(dst);
int dstOffset = dst.position();
if (!dst.isDirect())
{
dstOffset += java.nio.NioUtils.unsafeArrayOffset(dst);
}
System.Array.Copy(srcObject, srcOffset, dstObject, dstOffset, srcByteCount);
src.position(src.limit());
dst.position(dst.position() + srcByteCount);
return this;
}
开发者ID:hakeemsm,项目名称:XobotOS,代码行数:35,代码来源:ByteBuffer.cs
示例13: createVideoThumbnail
public static global::android.graphics.Bitmap createVideoThumbnail(java.lang.String arg0, int arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.media.ThumbnailUtils._m0.native == global::System.IntPtr.Zero)
global::android.media.ThumbnailUtils._m0 = @__env.GetStaticMethodIDNoThrow(global::android.media.ThumbnailUtils.staticClass, "createVideoThumbnail", "(Ljava/lang/String;I)Landroid/graphics/Bitmap;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.graphics.Bitmap>(@__env.CallStaticObjectMethod(android.media.ThumbnailUtils.staticClass, global::android.media.ThumbnailUtils._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.graphics.Bitmap;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:ThumbnailUtils.cs
示例14: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::robocode.control.BattlefieldSpecification.staticClass = @__class;
global::robocode.control.BattlefieldSpecification._getWidth0 = @__env.GetMethodID(global::robocode.control.BattlefieldSpecification.staticClass, "getWidth", "()I");
global::robocode.control.BattlefieldSpecification._getHeight1 = @__env.GetMethodID(global::robocode.control.BattlefieldSpecification.staticClass, "getHeight", "()I");
global::[email protected]__ctorBattlefieldSpecification2 = @__env.GetMethodID(global::robocode.control.BattlefieldSpecification.staticClass, "<init>", "(II)V");
global::[email protected]__ctorBattlefieldSpecification3 = @__env.GetMethodID(global::robocode.control.BattlefieldSpecification.staticClass, "<init>", "()V");
}
开发者ID:jccjames422,项目名称:SRE-RoboCode,代码行数:7,代码来源:BattlefieldSpecification.generated.cs
示例15: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::org.drools.util.OSGiLocator.staticClass = @__class;
global::org.drools.util.OSGiLocator._register0 = @__env.GetStaticMethodID(global::org.drools.util.OSGiLocator.staticClass, "register", "(Ljava/lang/String;Ljava/util/concurrent/Callable;)V");
global::org.drools.util.OSGiLocator._unregister1 = @__env.GetStaticMethodID(global::org.drools.util.OSGiLocator.staticClass, "unregister", "(Ljava/lang/String;Ljava/util/concurrent/Callable;)V");
global::org.drools.util.OSGiLocator._locate2 = @__env.GetStaticMethodID(global::org.drools.util.OSGiLocator.staticClass, "locate", "(Ljava/lang/String;)Ljava/lang/Class;");
global::org.drools.util.OSGiLocator._locateAll3 = @__env.GetStaticMethodID(global::org.drools.util.OSGiLocator.staticClass, "locateAll", "(Ljava/lang/String;)Ljava/util/List;");
}
开发者ID:maxim-ge,项目名称:gmp-lessons,代码行数:7,代码来源:OSGiLocator.generated.cs
示例16: writeEvent
public static int writeEvent(int arg0, java.lang.String arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::android.util.EventLog._m2.native == global::System.IntPtr.Zero)
global::android.util.EventLog._m2 = @__env.GetStaticMethodIDNoThrow(global::android.util.EventLog.staticClass, "writeEvent", "(ILjava/lang/String;)I");
return @__env.CallStaticIntMethod(android.util.EventLog.staticClass, global::android.util.EventLog._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:EventLog.cs
示例17: getInstance
public static global::java.security.cert.CertificateFactory getInstance(java.lang.String arg0)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::java.security.cert.CertificateFactory._m0.native == global::System.IntPtr.Zero)
global::java.security.cert.CertificateFactory._m0 = @__env.GetStaticMethodIDNoThrow(global::java.security.cert.CertificateFactory.staticClass, "getInstance", "(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.security.cert.CertificateFactory.staticClass, global::java.security.cert.CertificateFactory._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.security.cert.CertificateFactory;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:CertificateFactory.cs
示例18: checkPermission
public static void checkPermission(java.security.Permission arg0)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::java.security.AccessController._m0.native == global::System.IntPtr.Zero)
global::java.security.AccessController._m0 = @__env.GetStaticMethodIDNoThrow(global::java.security.AccessController.staticClass, "checkPermission", "(Ljava/security/Permission;)V");
@__env.CallStaticVoidMethod(java.security.AccessController.staticClass, global::java.security.AccessController._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:AccessController.cs
示例19: InitJNI
private static void InitJNI(global::net.sf.jni4net.jni.JNIEnv @__env, java.lang.Class @__class) {
global::java.lang.StringBuffer.staticClass = @__class;
global::[email protected]__ctorStringBuffer0 = @__env.GetMethodID(global::java.lang.StringBuffer.staticClass, "<init>", "(I)V");
global::[email protected]__ctorStringBuffer1 = @__env.GetMethodID(global::java.lang.StringBuffer.staticClass, "<init>", "(Ljava/lang/String;)V");
global::[email protected]__ctorStringBuffer2 = @__env.GetMethodID(global::java.lang.StringBuffer.staticClass, "<init>", "(Ljava/lang/CharSequence;)V");
global::[email protected]__ctorStringBuffer3 = @__env.GetMethodID(global::java.lang.StringBuffer.staticClass, "<init>", "()V");
}
开发者ID:koush,项目名称:jni4net.n,代码行数:7,代码来源:StringBuffer.generated.cs
示例20: doPrivileged
public static global::java.lang.Object doPrivileged(java.security.PrivilegedExceptionAction arg0, java.security.AccessControlContext arg1)
{
global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
if (global::java.security.AccessController._m4.native == global::System.IntPtr.Zero)
global::java.security.AccessController._m4 = @__env.GetStaticMethodIDNoThrow(global::java.security.AccessController.staticClass, "doPrivileged", "(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;");
return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.security.AccessController.staticClass, global::java.security.AccessController._m4, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.lang.Object;
}
开发者ID:JeroMiya,项目名称:androidmono,代码行数:7,代码来源:AccessController.cs
注:本文中的java类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论