田源
2024-12-12 c94eaa728f9d68a872d904823c964e5d5810f202
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.vci.client.omd.versionrule.pubimpl;
 
import java.util.ArrayList;
 
import com.vci.client.omd.versionrule.itf.InterVer;
 
public class InterVerManager {
    private static InterVerManager interManager= null;
    private ArrayList<InterVer> interVerList = new ArrayList<InterVer>();
    
    private InterVerManager(){
        
    }
    
    public static InterVerManager getInstance(){
        if(interManager == null){
            interManager = new InterVerManager();
        }
        return interManager;
    }
    
    public void registerInter(InterVer interVer){
        interVerList.add(interVer);
    }
    
    public ArrayList<InterVer> getInterVerList(){
        return interVerList;
    }
}