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

## dataStructures
Class CircularWithHeader

    java.lang.Object
      |
      +--dataStructures.CircularWithHeader

public class CircularWithHeader
extends java.lang.Object

Field Summary
`protected dataStructures.ChainNode` | `headerNode`

Constructor Summary
`CircularWithHeader()` create a circular list that is empty

Method Summary
`int` | `indexOf(java.lang.Object theElement)`
`static void` | `main(java.lang.String[] args)` test program

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

Field Detail

### headerNode

    protected dataStructures.ChainNode headerNode

Constructor Detail

### CircularWithHeader

    public CircularWithHeader()

  create a circular list that is empty

Method Detail

### indexOf

    public int indexOf(java.lang.Object theElement)

  Returns:
    index of first occurrence of theElement, return -1 if theElement not in list

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