Package com.treemap

# Class DepthFactory

java.lang.Object
com.treemap.DepthFactory

public class DepthFactory extends Object
Factory class for accessing predefined depth schemes.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Depth`
  `INFINITE`
  Indicates that no limit to the depth of the display.
  `static final Depth`
  `ONE`
  `static final Depth`
  `TWO`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(Depth entry)`
  `Depth`
  `get(String name)`
  `Depth`
  `getDefault()`
  `List<Depth>`
  `getDepths()`
  `static DepthFactory`
  `getInstance()`

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

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

- ## Field Details

  - ### INFINITE

    public static final Depth INFINITE
    Indicates that no limit to the depth of the display.

  - ### ONE

    public static final Depth ONE

  - ### TWO

    public static final Depth TWO

- ## Method Details

  - ### getInstance

    public static DepthFactory getInstance()

  - ### add

    public void add(Depth entry)

  - ### getDefault

    public Depth getDefault()

  - ### getDepths

    public List<Depth> getDepths()

  - ### get

    public Depth get(String name)