From: villberg Date: Sat, 18 Oct 2014 19:01:00 +0000 (+0000) Subject: (refs #5418) Replace uses of HashMap with THashMap X-Git-Tag: v1.29.0~161 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=a6a95f93dd11c3fde33982303231fe357c6c0e8b;p=simantics%2Fsysdyn.git (refs #5418) Replace uses of HashMap with THashMap git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30450 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java index 7b6a68bc..5ba16968 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java @@ -11,10 +11,13 @@ *******************************************************************************/ package org.simantics.sysdyn.adapter; +import gnu.trove.map.hash.THashMap; + import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import org.simantics.databoard.Bindings; import org.simantics.db.ReadGraph; @@ -244,7 +247,7 @@ public class VariableRVIUtils { String currentFilter = filter[i].trim(); ArrayList tempResult = new ArrayList(); - HashMap sums = new HashMap(); + Map sums = new THashMap(); for(SysdynDataSet dataset : result) { String tempIndexes = dataset.name.substring(dataset.name.indexOf('[') + 1, dataset.name.indexOf(']')); String[] indexes = tempIndexes.split(",");