Class Hlavni

java.lang.Object
  extended by Hlavni

public class Hlavni
extends java.lang.Object

Write a description of class Hlavni here.

Version:
(a version number or a date)
Author:
(your name)

Constructor Summary
Hlavni()
           
 
Method Summary
 Uzel[] increaseArray(Uzel[] smallArray)
          Allocates bigger array and copies its contents in it
static void main(java.lang.String[] args)
           
 void swapArrays(Uzel[] first, Uzel[] second)
          Swaps two arrays.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hlavni

public Hlavni()
Method Detail

increaseArray

public Uzel[] increaseArray(Uzel[] smallArray)
Allocates bigger array and copies its contents in it

Returns:
New bigger array

main

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

swapArrays

public void swapArrays(Uzel[] first,
                       Uzel[] second)
Swaps two arrays. The first one must be equal or bigger than the second one.