mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 09:16:20 +00:00
parent
e798fde189
commit
5dd8fe4cf1
@ -2,7 +2,7 @@ package trick.sie.utils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
@ -29,7 +29,7 @@ public class SieEnumeration implements Comparable<SieEnumeration>, Serializable
|
||||
public ArrayList<String> enumVals;
|
||||
|
||||
/** maps the labels to their corresponding values */
|
||||
public final HashMap<String, String> pairs;
|
||||
public final LinkedHashMap<String, String> pairs;
|
||||
|
||||
/** most recently parsed label */
|
||||
private String nextLabel;
|
||||
@ -52,7 +52,7 @@ public class SieEnumeration implements Comparable<SieEnumeration>, Serializable
|
||||
public SieEnumeration(String name) {
|
||||
this.name = name;
|
||||
enumVals = new ArrayList<String>();
|
||||
pairs = new HashMap<String, String>();
|
||||
pairs = new LinkedHashMap<String, String>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user