com.rapidminer.operator.ports.metadata
Class MDInteger

java.lang.Object
  extended by com.rapidminer.operator.ports.metadata.MDNumber<java.lang.Integer>
      extended by com.rapidminer.operator.ports.metadata.MDInteger
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MDNumber<java.lang.Integer>>

public class MDInteger
extends MDNumber<java.lang.Integer>

Author:
Simon Fischer
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.ports.metadata.MDNumber
MDNumber.Relation
 
Constructor Summary
MDInteger()
          This constructor will build a unkown number
MDInteger(int i)
           
MDInteger(MDInteger integer)
           
 
Method Summary
 MDInteger add(java.lang.Integer add)
           
 void add(MDInteger add)
           
 MDInteger copy()
           
 MDInteger multiply(double factor)
           
 MDInteger subtract(int subtrahend)
           
 java.lang.String toString()
           
 
Methods inherited from class com.rapidminer.operator.ports.metadata.MDNumber
compareTo, equals, getNumber, getRelation, getValue, increaseByUnknownAmount, isAtLeast, isAtMost, isKnown, reduceByUnknownAmount, setNumber, setUnkown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDInteger

public MDInteger()
This constructor will build a unkown number


MDInteger

public MDInteger(int i)

MDInteger

public MDInteger(MDInteger integer)
Method Detail

add

public MDInteger add(java.lang.Integer add)
Specified by:
add in class MDNumber<java.lang.Integer>

add

public void add(MDInteger add)

multiply

public MDInteger multiply(double factor)
Specified by:
multiply in class MDNumber<java.lang.Integer>

subtract

public MDInteger subtract(int subtrahend)

copy

public MDInteger copy()
Specified by:
copy in class MDNumber<java.lang.Integer>

toString

public java.lang.String toString()
Overrides:
toString in class MDNumber<java.lang.Integer>


Copyright © 2001-2009 by Rapid-I