/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
+import java.util.Map;
+import java.util.Set;
import compbio.data.sequence.FastaSequence;
import compbio.data.sequence.JpredAlignment;
return "calculating consensus secondary structure prediction using JPred service";
}
- private static HashMap<String, String[]> jpredRowLabels = new HashMap<String, String[]>();
+ private static Map<String, String[]> jpredRowLabels = new HashMap<String, String[]>();
- private static HashSet<String> jpredRes_graph, jpredRes_ssonly;
+ private static final Set<String> jpredRes_graph;
+
+ private static final Set<String> jpredRes_ssonly;
+ static
{
- jpredRes_ssonly = new HashSet();
+ jpredRes_ssonly = new HashSet<String>();
jpredRes_ssonly.add("jnetpred".toLowerCase());
jpredRes_ssonly.add("jnetpssm".toLowerCase());
jpredRes_ssonly.add("jnethmm".toLowerCase());
- jpredRes_graph = new HashSet();
+ jpredRes_graph = new HashSet<String>();
jpredRes_graph.add("jnetconf".toLowerCase());
jpredRes_graph.add("jnet burial".toLowerCase());
}