Code example for Manifest

Methods: getMainAttributeshashCode

0
     
    private final String androidPackageVersionName;
     
    protected JogampVersion(String packageName, Manifest mf) {        
        this.packageName = packageName;
        this.mf = ( null != mf ) ? mf : new Manifest();
        this.hash = this.mf.hashCode();
        mainAttributes = this.mf.getMainAttributes();
        mainAttributeNames = mainAttributes.keySet();
        androidPackageVersionName = AndroidUtils.getPackageInfoVersionName(packageName); // null if !Android
    } 
 
    @Override 
    public final int hashCode() { 
        return hash;
    } 
 
    @Override 
    public final boolean equals(Object o) {
        if (o instanceof JogampVersion) {
Stop searching for code, let great code find you!  Add Codota to your java IDE