MCPcopy Index your code
hub / github.com/processing/processing / removeIndex

Method removeIndex

java/libraries/net/src/processing/net/Server.java:136–146  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

134
135
136 protected void removeIndex(int index) {
137 synchronized (clientsLock) {
138 clientCount--;
139 // shift down the remaining clients
140 for (int i = index; i < clientCount; i++) {
141 clients[i] = clients[i + 1];
142 }
143 // mark last empty var for garbage collection
144 clients[clientCount] = null;
145 }
146 }
147
148
149 protected void disconnectAll() {

Callers 3

disconnectMethod · 0.95
availableMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected