Codota Logo
OWLLiteralImplString.getLang
Code IndexAdd Codota to your IDE (free)

How to use
getLang
method
in
uk.ac.manchester.cs.owl.owlapi.OWLLiteralImplString

Best Java code snippets using uk.ac.manchester.cs.owl.owlapi.OWLLiteralImplString.getLang (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.owlapi/owlapi-gwt-client-side-emul

private final int getHashCode(String lit) {
  int code = 277;
  code = code * 37 + getDatatype().hashCode();
  code = code * 37 + lit.hashCode() * 65536;
  if (hasLang()) {
    code = code * 37 + getLang().hashCode();
  }
  return code;
}
origin: owlcs/owlapi

@Override
public int initHashCode() {
  int hash = hashIndex();
  hash = OWLObject.hashIteration(hash, getDatatype().hashCode());
  hash = OWLObject.hashIteration(hash, getLiteral().hashCode() * 65536);
  return OWLObject.hashIteration(hash, getLang().hashCode());
}
origin: net.sourceforge.owlapi/owlapi-impl

@Override
public int initHashCode() {
  int hash = hashIndex();
  hash = OWLObject.hashIteration(hash, getDatatype().hashCode());
  hash = OWLObject.hashIteration(hash, getLiteral().hashCode() * 65536);
  return OWLObject.hashIteration(hash, getLang().hashCode());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public int initHashCode() {
  int hash = hashIndex();
  hash = OWLObject.hashIteration(hash, getDatatype().hashCode());
  hash = OWLObject.hashIteration(hash, getLiteral().hashCode() * 65536);
  return OWLObject.hashIteration(hash, getLang().hashCode());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public int initHashCode() {
  int hash = hashIndex();
  hash = OWLObject.hashIteration(hash, getDatatype().hashCode());
  hash = OWLObject.hashIteration(hash, getLiteral().hashCode() * 65536);
  return OWLObject.hashIteration(hash, getLang().hashCode());
}
origin: net.sourceforge.owlapi/owlapi-gwt-client-side-emul

@Override
public boolean equals(Object obj) {
  if (obj == null) {
    return false;
  }
  if (this == obj) {
    return true;
  }
  if (!(obj instanceof OWLLiteral)) {
    return false;
  }
  OWLLiteral other = (OWLLiteral) obj;
  return getLiteral().equals(other.getLiteral()) && getDatatype().equals(other.getDatatype())
    && getLang().equals(other.getLang());
}
origin: net.sourceforge.owlapi/owlapi-gwt-client-side-emul

protected int compareObjectOfSameType(OWLObject object) {
  OWLLiteral other = (OWLLiteral) object;
  int diff = getLiteral().compareTo(other.getLiteral());
  if (diff != 0) {
    return diff;
  }
  diff = getDatatype().compareTo(other.getDatatype());
  if (diff != 0) {
    return diff;
  }
  return getLang().compareTo(other.getLang());
}
uk.ac.manchester.cs.owl.owlapiOWLLiteralImplStringgetLang

Popular methods of OWLLiteralImplString

  • getLiteral
  • <init>
  • getDatatype
  • hashIndex
  • compareObjectOfSameType
  • getHashCode
  • hasLang
  • index

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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