All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spreadsheet.mapper.w2o.param.BooleanParam Maven / Gradle / Ivy

The newest version!
package spreadsheet.mapper.w2o.param;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 * the boolean additional param
 * 

* Created by hanwen on 2017/1/23. */ public class BooleanParam implements AdditionalParam { private Set supportedTrue = new HashSet<>(); private Set supportedFalse = new HashSet<>(); public Set getSupportedTrue() { return supportedTrue; } public Set getSupportedFalse() { return supportedFalse; } public BooleanParam supportedTrue(String... supportedTrue) { if (supportedTrue == null) { return this; } Collections.addAll(this.supportedTrue, supportedTrue); return this; } public BooleanParam supportedFalse(String... supportedFalse) { if (supportedFalse == null) { return this; } Collections.addAll(this.supportedFalse, supportedFalse); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy