Tabnine Logo
OWLLiteralImplString.getLang
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Kernel (java.awt.image)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Join (org.hibernate.mapping)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now