org.obolibrary.oboformat.model.Clause Maven / Gradle / Ivy
package org.obolibrary.oboformat.model;
import java.util.ArrayList;
import java.util.Arrays;
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;
/**
* Clause.
*/
public class Clause {
private static final Logger LOGGER = LoggerFactory.getLogger(Clause.class);
private static final Set> trueValues = new HashSet<>(Arrays.asList(Boolean.TRUE, "true"));
private static final Set> falseValues = new HashSet<>(Arrays.asList(Boolean.FALSE, "false"));
@Nullable
protected String tag;
protected List