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 ConvertString

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

public class ConvertString
extends java.lang.Object

Constructor Summary
`ConvertString()`

Method Summary
`static int` | `integer(java.lang.String s)` covert string s into an integer that depends on all characters of s
`static void` | `main(java.lang.String[] args)` test program
`static long` | `threeToLong(java.lang.String s)` covert characters 0, 1, and 2 of s to a long

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

Constructor Detail

### ConvertString

    public ConvertString()

Method Detail

### threeToLong

    public static long threeToLong(java.lang.String s)

  covert characters 0, 1, and 2 of s to a long
  Throws:
    StringIndexOutOfBoundsException - when s has fewer than three characters

### integer

    public static int integer(java.lang.String s)

  covert string s into an integer that depends on all characters of s

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