*/
package jalview.io.packed;
-import jalview.api.FeatureColourI;
import jalview.datamodel.AlignmentI;
import jalview.io.AppletFormatAdapter;
import jalview.io.FileFormatI;
public Object[] getAlignment(JalviewDataset context,
Iterable<DataProvider> files) throws Exception
{
- List<Object> rslt = new ArrayList<Object>();
+ List<Object> rslt = new ArrayList<>();
if (context == null)
{
context = new JalviewDataset();
// if not, create one.
if (context.featureColours == null)
{
- context.featureColours = new HashMap<String, FeatureColourI>();
+ context.featureColours = new HashMap<>();
}
try
{
* would be created.
*
* @param args
+ * @j2sIgnore
*/
public static void main(String args[])
{
// make data providers from the set of keys/files
int i = 0;
- List<DataProvider> dp = new ArrayList<DataProvider>();
+ List<DataProvider> dp = new ArrayList<>();
while ((i + 1) < args.length)
{
String type = args[i++];