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

com.xiongyingqi.common.logic.config.constants.LogicalOperation Maven / Gradle / Ivy

The newest version!
package com.xiongyingqi.common.logic.config.constants;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author xiongyingqi
 * @since 20171018//
 */
public enum LogicalOperation {
  AND("and"),
  OR("or"),
  NOT("not"),
  XOR("xor"), // 异或
  XNOR("xnor"), // 同或
  ;
  private String name;

  LogicalOperation(String name) {
    this.name = name;
  }

  @JsonValue
  public String getName() {
    return name;
  }

  @JsonValue
  public void setName(String name) {
    this.name = name;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy