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 RecursiveSequentialSearch

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

public class RecursiveSequentialSearch
extends java.lang.Object

Constructor Summary
`RecursiveSequentialSearch()`

Method Summary
`static void` | `main(java.lang.String[] args)` test program
`static int` | `sequentialSearch(java.lang.Object[] b, java.lang.Object y)` Search the unordered array b for y.

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

Constructor Detail

### RecursiveSequentialSearch

    public RecursiveSequentialSearch()

Method Detail

### sequentialSearch

    public static int sequentialSearch(java.lang.Object[] b,
                                       java.lang.Object y)

  Search the unordered array b for y. Driver for true recursive method rSearch.
  Returns:
    position of y if found; -1 otherwise

### 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