mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 04:31:58 +00:00
Added AS3 Natural sorting of packages and script
This commit is contained in:
@@ -26,6 +26,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
import natorder.NaturalOrderComparator;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -37,9 +38,9 @@ public class AS3Package extends AS3ClassTreeItem {
|
||||
|
||||
public String packageName;
|
||||
|
||||
private final Map<String, AS3Package> subPackages = new TreeMap<>();
|
||||
private final Map<String, AS3Package> subPackages = new TreeMap<>(new NaturalOrderComparator());
|
||||
|
||||
private final Map<String, ScriptPack> scripts = new TreeMap<>();
|
||||
private final Map<String, ScriptPack> scripts = new TreeMap<>(new NaturalOrderComparator());
|
||||
|
||||
private List<AS3Package> sortedPackages;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user