Class IdentDescriptor


public final class IdentDescriptor extends Object
Used to hold a current value for an equation's variable reference.

Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Module: equations-api

To use this in your app, include the following dependency in your POM:

  • Constructor Details

    • IdentDescriptor

      public IdentDescriptor(Object o)
      Initializes a new IdentDescriptor and provides minimal type translation (from Integer to Long).
      o - an object that represents a value for a variable reference
      NullPointerException - if "o" is null
      IllegalArgumentException - if "o" is not a Long, Integer, Double, Boolean nor a String
  • Method Details

    • getType

      public Class getType()
      Returns the, possibly adjusted, type of the descriptor as one of the types internally supported by equations.
      the (translated) type of the descriptor
    • getValue

      public Object getValue()
      Returns the value of the descriptor.
      the (translated) value of the descriptor