public final class IdentDescriptor 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>
Constructor and Description |
---|
IdentDescriptor(Object o)
Initializes a new
IdentDescriptor and provides minimal type translation
(from Integer to Long ). |
Modifier and Type | Method and Description |
---|---|
Class |
getType()
Returns the, possibly adjusted, type of the descriptor as one of the types internally supported by equations.
|
Object |
getValue()
Returns the value of the descriptor.
|
public IdentDescriptor(Object o)
IdentDescriptor
and provides minimal type translation
(from Integer
to Long
).o
- an object that represents a value for a variable referenceNullPointerException
- if "o" is nullIllegalArgumentException
- if "o" is not a Long
, Integer
,
Double
, Boolean
nor a String
public Class getType()
public Object getValue()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.