heap.heaparray

## Class HeapArrayFactory

- java.lang.Object
- - heap.heaparray.HeapArrayFactory

- All Implemented Interfaces:
    HeapTreeFactory

      public class HeapArrayFactory
      extends java.lang.Object
      implements HeapTreeFactory

  Továrna na haldy implementované polem.

  Užití: instance této třídy lze používat v aplikacích.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HeapArrayFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `HeapTree` | `createHeapTree(int size)` Vyrobí haldový strom.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HeapArrayFactory

          public HeapArrayFactory()

  - ### Method Detail

    - #### createHeapTree

          public HeapTree createHeapTree(int size)

      Description copied from interface: `HeapTreeFactory`
      Vyrobí haldový strom.
      Specified by:
        `createHeapTree` in interface `HeapTreeFactory`
      Parameters:
        `size` - kapacita stromu, tj. maximální počet vrcholů
      Returns:
        haldový strrom