![JAR search and dependency download from the Maven repository](/logo.png)
org.ggp.base.util.gdl.grammar.GdlNot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alloy-ggp-base Show documentation
Show all versions of alloy-ggp-base Show documentation
A modified version of the GGP-Base library for Alloy.
The newest version!
package org.ggp.base.util.gdl.grammar;
public final class GdlNot extends GdlLiteral
{
private static final long serialVersionUID = 1L;
private final GdlLiteral body;
private transient Boolean ground;
GdlNot(GdlLiteral body)
{
this.body = body;
ground = null;
}
public GdlLiteral getBody()
{
return body;
}
@Override
public boolean isGround()
{
if (ground == null)
{
ground = body.isGround();
}
return ground;
}
@Override
public String toString()
{
return "( not " + body + " )";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy