public final class EquationUtil extends Object
Module: equations-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>equations-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
static String |
attribNameAsReference(String attribName)
Converts a bare name to a variable reference.
|
static long |
doubleToLong(double d)
Checked conversion of a double to a long following the Excel™ rules.
|
public static String attribNameAsReference(String attribName)
attribName
- the bare name that will be convertedpublic static long doubleToLong(double d)
d
- the number that will be convertedIllegalArgumentException
- if "d" is outside the range of a longCopyright 2011-2015 Cytoscape Consortium. All rights reserved.