congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IConstant.isSystem
Code IndexAdd Tabnine to your IDE (free)

How to use
isSystem
method
in
jscl.math.function.IConstant

Best Java code snippets using jscl.math.function.IConstant.isSystem (Showing top 6 results out of 315)

origin: org.solovyev.android/calculatorpp-core

  @Override
  public boolean isInCategory(@Nonnull IConstant var) {
    return var.isSystem();
  }
},
origin: org.solovyev.android/calculatorpp-core

  @Override
  public boolean isInCategory(@Nonnull IConstant var) {
    return !var.isSystem();
  }
};
origin: org.solovyev.android/calculatorpp-core

@Override
public String getDescription(@Nonnull String mathEntityName) {
  final IConstant var = get(mathEntityName);
  if (var != null && !var.isSystem()) {
    return var.getDescription();
  } else {
    return super.getDescription(mathEntityName);
  }
}
origin: org.solovyev.android/calculatorpp-core

public void copy(@Nonnull MathEntity o) {
  if (o instanceof IConstant) {
    final IConstant that = ((IConstant) o);
    this.name = that.getName();
    this.value = that.getValue();
    this.description = that.getDescription();
    this.system = that.isSystem();
    if (that.isIdDefined()) {
      this.id = that.getId();
    }
  } else {
    throw new IllegalArgumentException("Trying to make a copy of unsupported type: " + o.getClass());
  }
}
origin: org.solovyev.android/calculatorpp-core

@Nonnull
public static Set<Constant> getNotSystemConstants(@Nonnull Generic expression) {
  final Set<Constant> notSystemConstants = new HashSet<Constant>();
  for (Constant constant : expression.getConstants()) {
    IConstant var = Locator.getInstance().getEngine().getVarsRegistry().get(constant.getName());
    if (var != null && !var.isSystem() && !var.isDefined()) {
      notSystemConstants.add(constant);
    }
  }
  return notSystemConstants;
}
origin: org.solovyev.android/calculatorpp-core

public Builder(@Nonnull IConstant iConstant) {
  this.name = iConstant.getName();
  this.value = iConstant.getValue();
  this.system = iConstant.isSystem();
  this.description = iConstant.getDescription();
  if (iConstant.isIdDefined()) {
    this.id = iConstant.getId();
  }
}
jscl.math.functionIConstantisSystem

Popular methods of IConstant

  • getDescription
  • getDoubleValue
  • getName
  • getValue
  • getId
  • isDefined
  • isIdDefined
  • toJava

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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