ca.aura.algorithms.rank
Class Rank

java.lang.Object
  |
  +--ca.aura.algorithms.rank.Rank

public class Rank
extends java.lang.Object

Author:
aforward

Constructor Summary
Rank()
          default
Rank(int value)
          give it a value
 
Method Summary
 boolean equals(java.lang.Object obj)
          are they equals?
static int getMaximum()
          get the maximum rank value
static int getMinimum()
          get the minimum rank value
 int getRank()
          get the rank
static int getUnknown()
          get the unknown rank value
 boolean isUnknown()
          is the rank unknown?
protected  int normalize(int value)
          normalize the value
 java.lang.String toString()
          show the object as a string
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rank

public Rank()
default


Rank

public Rank(int value)
give it a value

Method Detail

isUnknown

public boolean isUnknown()
is the rank unknown?


getRank

public int getRank()
get the rank


equals

public boolean equals(java.lang.Object obj)
are they equals?

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
show the object as a string

Overrides:
toString in class java.lang.Object

getMinimum

public static int getMinimum()
get the minimum rank value


getMaximum

public static int getMaximum()
get the maximum rank value


getUnknown

public static int getUnknown()
get the unknown rank value


normalize

protected int normalize(int value)
normalize the value



Copyright © 2002 University of Ottawa. All Rights Reserved.