mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 18:26:42 +00:00
change types to map interface, remove unused import
This commit is contained in:
parent
4958c3d9a0
commit
7b3839f046
@ -4,7 +4,7 @@ import net.simon987.server.assembly.instruction.*;
|
||||
import net.simon987.server.logging.LogManager;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Set;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Default instruction set for the CPU
|
||||
@ -14,12 +14,12 @@ public class DefaultInstructionSet implements InstructionSet {
|
||||
/**
|
||||
* Map of instructions, stored in opcode : Instruction format
|
||||
*/
|
||||
private HashMap<Integer, Instruction> instructionMap = new HashMap<>(32);
|
||||
private Map<Integer, Instruction> instructionMap = new HashMap<>(32);
|
||||
|
||||
/**
|
||||
* Map of aliasses, stored in mnemonic : Instruction format
|
||||
*/
|
||||
private HashMap<String, Instruction> aliasesMap = new HashMap<>(16);
|
||||
private Map<String, Instruction> aliasesMap = new HashMap<>(16);
|
||||
|
||||
private Instruction defaultInstruction;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user