MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / get_processID

Method get_processID

src/main/java/exitcode/Apps.java:170–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 public static int get_processID() {
171 int id_number = 1;
172 Set<Integer> keys = Apps.apps.keySet();
173 while (keys.contains(id_number)) {
174 for(Integer key: keys){
175 if (key.equals(id_number)) {
176 id_number++;
177 }
178 }
179 }
180 return id_number;
181 }
182
183 public static void preLogoutkill() {
184 //Pid stuff

Callers 1

spawnWindowMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected