]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Ppis/PpisVector.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Ppis / PpisVector.java
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Ppis/PpisVector.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Ppis/PpisVector.java
deleted file mode 100644 (file)
index 9c6f343..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.Ppis;\r
-\r
-import java.util.Vector;\r
-\r
-public class PpisVector {\r
-\r
-    private Vector<PpisIdentification> vPpis = new Vector<PpisIdentification>();\r
-\r
-    public int findPpis(PpisIdentification sfi) {\r
-        for (int index = 0; index < vPpis.size(); index++) {\r
-            if (vPpis.elementAt(index).equals(sfi)) {\r
-                return index;\r
-            }\r
-        }\r
-        return -1;\r
-    }\r
-\r
-    public int findPpis(String name) {\r
-        for (int index = 0; index < vPpis.size(); index++) {\r
-            if (vPpis.elementAt(index).getName().equals(name)) {\r
-                return index;\r
-            }\r
-        }\r
-        return -1;\r
-    }\r
-\r
-    public PpisIdentification getPpis(int index) {\r
-        if (index > -1) {\r
-            return vPpis.elementAt(index);\r
-        } else {\r
-            return null;\r
-        }\r
-    }\r
-\r
-    public void addPpis(PpisIdentification arg0) {\r
-        vPpis.addElement(arg0);\r
-    }\r
-\r
-    public void setPpis(PpisIdentification arg0, int arg1) {\r
-        vPpis.setElementAt(arg0, arg1);\r
-    }\r
-\r
-    public void removePpis(PpisIdentification arg0) {\r
-        int index = findPpis(arg0);\r
-        if (index > -1) {\r
-            vPpis.removeElementAt(index);\r
-        }\r
-    }\r
-\r
-    public void removePpis(int index) {\r
-        if (index > -1 && index < this.size()) {\r
-            vPpis.removeElementAt(index);\r
-        }\r
-    }\r
-\r
-    public Vector<PpisIdentification> getvPpis() {\r
-        return vPpis;\r
-    }\r
-\r
-    public void setvPpis(Vector<PpisIdentification> Ppis) {\r
-        vPpis = Ppis;\r
-    }\r
-\r
-    public Vector<String> getPpisName() {\r
-        Vector<String> v = new Vector<String>();\r
-        for (int index = 0; index < this.vPpis.size(); index++) {\r
-            v.addElement(vPpis.get(index).getName());\r
-        }\r
-        return v;\r
-    }\r
-\r
-    public int size() {\r
-        return this.vPpis.size();\r
-    }\r
-    \r
-    public Vector<String> toStringVector(int index) {\r
-        Vector<String> v = new Vector<String>();\r
-        v.addElement(getPpis(index).getName());\r
-        v.addElement(getPpis(index).getType());\r
-        v.addElement(getPpis(index).getUsage());\r
-        return v;\r
-    }\r
-}\r