]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Variables/VariablesVector.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Variables / VariablesVector.java
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Variables/VariablesVector.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Variables/VariablesVector.java
deleted file mode 100644 (file)
index 6949eff..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/** @file\r
\r
- The file is used to define Package Dependencies Vector\r
\r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution.  The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- **/\r
-package org.tianocore.frameworkwizard.module.Identifications.Variables;\r
-\r
-import java.util.Vector;\r
-\r
-public class VariablesVector {\r
-\r
-    private Vector<VariablesIdentification> vVariables = new Vector<VariablesIdentification>();\r
-\r
-    public int findVariables(VariablesIdentification sfi) {\r
-        for (int index = 0; index < vVariables.size(); index++) {\r
-            if (vVariables.elementAt(index).equals(sfi)) {\r
-                return index;\r
-            }\r
-        }\r
-        return -1;\r
-    }\r
-\r
-    public int findVariables(String name) {\r
-        for (int index = 0; index < vVariables.size(); index++) {\r
-            if (vVariables.elementAt(index).getName().equals(name)) {\r
-                return index;\r
-            }\r
-        }\r
-        return -1;\r
-    }\r
-\r
-    public VariablesIdentification getVariables(int index) {\r
-        if (index > -1) {\r
-            return vVariables.elementAt(index);\r
-        } else {\r
-            return null;\r
-        }\r
-    }\r
-\r
-    public void addVariables(VariablesIdentification arg0) {\r
-        vVariables.addElement(arg0);\r
-    }\r
-\r
-    public void setVariables(VariablesIdentification arg0, int arg1) {\r
-        vVariables.setElementAt(arg0, arg1);\r
-    }\r
-\r
-    public void removeVariables(VariablesIdentification arg0) {\r
-        int index = findVariables(arg0);\r
-        if (index > -1) {\r
-            vVariables.removeElementAt(index);\r
-        }\r
-    }\r
-\r
-    public void removeVariables(int index) {\r
-        if (index > -1 && index < this.size()) {\r
-            vVariables.removeElementAt(index);\r
-        }\r
-    }\r
-\r
-    public Vector<VariablesIdentification> getvVariables() {\r
-        return vVariables;\r
-    }\r
-\r
-    public void setvVariables(Vector<VariablesIdentification> Variables) {\r
-        vVariables = Variables;\r
-    }\r
-\r
-    public Vector<String> getVariablesName() {\r
-        Vector<String> v = new Vector<String>();\r
-        for (int index = 0; index < this.vVariables.size(); index++) {\r
-            v.addElement(vVariables.get(index).getName());\r
-        }\r
-        return v;\r
-    }\r
-\r
-    public int size() {\r
-        return this.vVariables.size();\r
-    }\r
-    \r
-    public Vector<String> toStringVector(int index) {\r
-        Vector<String> v = new Vector<String>();\r
-        v.addElement(getVariables(index).getName());\r
-        v.addElement(getVariables(index).getGuid());\r
-        v.addElement(getVariables(index).getUsage());\r
-        return v;\r
-    }\r
-}\r