Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## applications
Class Rank

    java.lang.Object
      |
      +--applications.Rank

public class Rank
extends java.lang.Object

Constructor Summary
`Rank()`

Method Summary
`static void` | `main(java.lang.String[] args)` test program
`static void` | `rank(java.lang.Comparable[] a, int[] r)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Rank

    public Rank()

Method Detail

### rank

    public static void rank(java.lang.Comparable[] a,
                            int[] r)

  Parameters:
    `a` - is the array of objects to be ranked
    `r` - is the array of computed ranks
  Throws:
    java.lang.IllegalArgumentException - when the length of r is smaller than that of a

### main

    public static void main(java.lang.String[] args)

  test program

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD