Codota Logo
openllet.core.datatypes.types.real
Code IndexAdd Codota to your IDE (free)

How to use openllet.core.datatypes.types.real

Best Java code snippets using openllet.core.datatypes.types.real (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: Galigator/openllet

@Override
public int compareTo(final Rational that)
{
  return compare(this, that);
}
origin: Galigator/openllet

@Override
protected IntegerInterval create(final Number lower, final Number upper)
{
  return new IntegerInterval(lower, upper);
}
origin: Galigator/openllet

@Override
public Datatype<?> getPrimitiveDatatype()
{
  return XSDDecimal.getInstance();
}
origin: Galigator/openllet

private OWLReal()
{
  super(ATermUtils.makeTermAppl(Namespaces.OWL + "real"));
  dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), ContinuousRealInterval.allReals());
}
origin: Galigator/openllet

@Override
public ATermAppl getCanonicalRepresentation(final ATermAppl input) throws InvalidLiteralException
{
  final String lexicalForm = getLexicalForm(input);
  fromLexicalForm(lexicalForm);
  return XSD_DECIMAL.getCanonicalRepresentation(ATermUtils.makeTypedLiteral(lexicalForm, XSD_DECIMAL.getName()));
}
origin: Galigator/openllet

public IntervalRelations compare(final ContinuousRealInterval other)
{
  return compare(this, other);
}
origin: Galigator/openllet

private static Rational rational(final Number a, final Number b)
{
  return new Rational(a, b);
}
origin: Galigator/openllet

private static Rational rational(final String s)
{
  return Rational.valueOf(s);
}
origin: Galigator/openllet

@Override
public Datatype<?> getPrimitiveDatatype()
{
  return OWLReal.getInstance();
}
origin: Galigator/openllet

private OWLReal()
{
  super(ATermUtils.makeTermAppl(Namespaces.OWL + "real"));
  dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), ContinuousRealInterval.allReals());
}
origin: Galigator/openllet

@Override
public ATermAppl getCanonicalRepresentation(final ATermAppl input) throws InvalidLiteralException
{
  final String lexicalForm = getLexicalForm(input);
  fromLexicalForm(lexicalForm);
  return XSD_DECIMAL.getCanonicalRepresentation(ATermUtils.makeTypedLiteral(lexicalForm, XSD_DECIMAL.getName()));
}
origin: Galigator/openllet

@Override
protected IntegerInterval create(final Number lower, final Number upper)
{
  return new IntegerInterval(lower, upper);
}
origin: Galigator/openllet

@Override
public Datatype<?> getPrimitiveDatatype()
{
  return XSDDecimal.getInstance();
}
origin: Galigator/openllet

@Override
public int compareTo(final Rational that)
{
  return compare(this, that);
}
origin: Galigator/openllet

@Override
public Datatype<?> getPrimitiveDatatype()
{
  return OWLReal.getInstance();
}
origin: Galigator/openllet

private OWLRational()
{
  super(ATermUtils.makeTermAppl(Namespaces.OWL + "rational"));
  _dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), ContinuousRealInterval.allReals());
}
origin: Galigator/openllet

public static IntegerInterval interval(final Integer l, final Integer u)
{
  return new IntegerInterval(l, u);
}
origin: Galigator/openllet

private OWLRational()
{
  super(ATermUtils.makeTermAppl(Namespaces.OWL + "rational"));
  _dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), ContinuousRealInterval.allReals());
}
origin: Galigator/openllet

/**
 * Private constructor forces use of {@link #getInstance()}
 */
private XSDDecimal()
{
  super(ATermUtils.makeTermAppl(Namespaces.XSD + "decimal"));
  dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), null);
}
origin: Galigator/openllet

/**
 * Private constructor forces use of {@link #getInstance()}
 */
private XSDDecimal()
{
  super(ATermUtils.makeTermAppl(Namespaces.XSD + "decimal"));
  dataRange = new RestrictedRealDatatype(this, IntegerInterval.allIntegers(), ContinuousRealInterval.allReals(), null);
}
openllet.core.datatypes.types.real

Most used classes

  • ContinuousRealInterval
    Title: owl:real Interval Description: An immutable interval representation supporting continuous
  • IntegerInterval
  • Rational
    Title: Rational Description: Object representation of rational numbers. Note: care should be ex
  • RestrictedRealDatatype
    Title: Restricted Real Datatype Description: A subset of the value space of owl:real. TODO add su
  • XSDByte
    Title: xsd:byte Description: Singleton implementation of xsd:byte datatype Copyright: Copyright
  • XSDInteger,
  • AbstractDerivedIntegerType,
  • OWLRational,
  • OWLReal,
  • RestrictedRealDatatype$1,
  • XSDInt,
  • XSDLong,
  • XSDNegativeInteger,
  • XSDNonNegativeInteger,
  • XSDNonPositiveInteger,
  • XSDPositiveInteger,
  • XSDShort,
  • XSDUnsignedByte,
  • XSDUnsignedInt
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now