public boolean isAccepted(ILicense license) { return accepted.contains(license.getUUID()); }
public boolean reject(ILicense license) { accepted.remove(license.getUUID()); updatePreferences(); return true; }
public boolean equals(Object obj) { if (obj == this) return true; if (obj == null) return false; if (obj instanceof ILicense) { ILicense other = (ILicense) obj; if (other.getUUID().equals(getUUID())) return true; } return false; }
public boolean accept(ILicense license) { accepted.add(license.getUUID()); updatePreferences(); return true; }