heap.justifiableheap

## Class RealHeapFactory

- java.lang.Object
- - heap.justifiableheap.RealHeapFactory

- All Implemented Interfaces:
    HeapFactory

      public class RealHeapFactory
      extends java.lang.Object
      implements HeapFactory

  Továrna na haldy.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private HeapTreeFactory` | `treeFactory` továrna na stromy

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RealHeapFactory(HeapTreeFactory aTreeFactory)` Vyrobí továrnu na haldy.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Heap` | `createHeap(int size)` Vyrobí haldu.

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

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

- - ### Field Detail

    - #### treeFactory

          private HeapTreeFactory treeFactory

      továrna na stromy

  - ### Constructor Detail

    - #### RealHeapFactory

          public RealHeapFactory(HeapTreeFactory aTreeFactory)

      Vyrobí továrnu na haldy.
      Parameters:
        `aTreeFactory` - továrna na haldové stromy

  - ### Method Detail

    - #### createHeap

          public Heap createHeap(int size)

      Description copied from interface: `HeapFactory`
      Vyrobí haldu.
      Specified by:
        `createHeap` in interface `HeapFactory`
      Parameters:
        `size` - požadovaná kapacita haldy
      Returns:
        halda