misc
Class NoSwap

java.lang.Object
  |
  +--misc.NoSwap

public class NoSwap
extends java.lang.Object


Constructor Summary
NoSwap()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void swap(int x, int y)
          Swap the integers x and y
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSwap

public NoSwap()
Method Detail

swap

public static void swap(int x,
                        int y)
Swap the integers x and y

main

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