mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-15 06:22:49 +00:00
Fix key profile order and clean up KeyProfileAdapter a bit
This commit is contained in:
parent
f26dfac1b6
commit
461f321626
7 changed files with 66 additions and 81 deletions
|
@ -49,6 +49,10 @@ public class Database {
|
|||
_entries.remove(entry);
|
||||
}
|
||||
|
||||
public void swapKeys(DatabaseEntry entry1, DatabaseEntry entry2) {
|
||||
Collections.swap(_entries, _entries.indexOf(entry1), _entries.indexOf(entry2));
|
||||
}
|
||||
|
||||
public List<DatabaseEntry> getKeys() {
|
||||
return Collections.unmodifiableList(_entries);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue