
net.sf.mmm.util.Conjunction Maven / Gradle / Ivy
The newest version!
/* $Id: Conjunction.java 364 2007-11-06 22:41:51Z hohwille $
* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util;
/**
* A conjunction represents a function that maps a list of boolean arguments to
* one boolean result.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
*/
public enum Conjunction {
/**
* This conjunction is true
if and only if all arguments are
* true
.
*/
AND,
/**
* This conjunction is true
if and only if at least one
* argument is true
.
*/
OR,
/**
* This is the negation of {@link #AND}. It is only true
if at
* least one argument is false
.
*/
NAND,
/**
* This is the negation of {@link #OR}. It is only true
if all
* arguments are false
.
*/
NOR
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy