org.obolibrary.oboformat.model.Clause Maven / Gradle / Ivy
package org.obolibrary.oboformat.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.annotation.Nullable;
import org.obolibrary.oboformat.parser.OBOFormatConstants.OboFormatTag;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.collect.Sets;
/**
* Clause.
*/
public class Clause {
private static final Logger LOGGER = LoggerFactory.getLogger(Clause.class);
private static final Set trueValues = Sets.newHashSet(Boolean.TRUE, "true");
private static final Set falseValues = Sets.newHashSet(Boolean.FALSE, "false");
@Nullable
protected String tag;
protected List