示例#1
0
        public static JavaInstance CreateInstance(Java java, RAMSettings settings)
        {
            JavaInstance instance = new JavaInstance();

            instance.settings  = settings;
            instance.java      = java;
            instance.arguments = new ArgumentInfo();
            return(instance);
        }
示例#2
0
 public static JavaInstance CreateInstance(Java java, int maxRAM, int minRAM) => CreateInstance(java, RAMSettings.New(maxRAM, minRAM));