spis.Util.Func
Class IsDifferent

java.lang.Object
  extended byspis.Util.Func.IsDifferent
All Implemented Interfaces:
TestOfInt

public class IsDifferent
extends java.lang.Object
implements TestOfInt

Class Name : IsDifferent
Project ref : SPIS project
File name : IsDifferent.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : 10 mars 2004
Modification :

Description : tests whether an int is different from a reference value

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Field Summary
private  int refInt
          Reference integer
 
Constructor Summary
IsDifferent(int i)
          Default constructor with reference integer for comparisons
 
Method Summary
 boolean test(int n)
          tests equality of an integer with a reference integer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refInt

private int refInt
Reference integer

Constructor Detail

IsDifferent

public IsDifferent(int i)
Default constructor with reference integer for comparisons

Method Detail

test

public boolean test(int n)
tests equality of an integer with a reference integer

Specified by:
test in interface TestOfInt