mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 17:11:20 -08:00
Merge remote-tracking branch 'gui/main' into merge-gui-and-server
This commit is contained in:
commit
ae94de39b1
430 files changed
+44297
-50
No files matched your search
@@ -0,0 +1,41 @@
|
||||
package io.eiren.util.collections;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
||||
/**
|
||||
* FastList that performs Remove-At-Swap on stanard remove() operations.
|
||||
*
|
||||
* <p>
|
||||
* Remove operations breaks ordering of this list
|
||||
*
|
||||
* @author Rena
|
||||
*
|
||||
* @param <E>
|
||||
*/
|
||||
public class RemoveAtSwapFastList<E> extends FastList<E> {
|
||||
|
||||
public RemoveAtSwapFastList(int capacity) {
|
||||
super(capacity);
|
||||
}
|
||||
|
||||
public RemoveAtSwapFastList() {
|
||||
}
|
||||
|
||||
public RemoveAtSwapFastList(Collection<E> source) {
|
||||
super(source);
|
||||
}
|
||||
|
||||
public RemoveAtSwapFastList(E[] source) {
|
||||
super(source);
|
||||
}
|
||||
|
||||
public RemoveAtSwapFastList(E source) {
|
||||
super(source);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void removeInternal(int i) {
|
||||
super.removeAtSwapInternal(i);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user