Package com.treemap

# Class SizeOrColorOrdering

java.lang.Object
com.treemap.SizeOrColorOrdering

All Implemented Interfaces:
  `Ordering`

public class SizeOrColorOrdering extends Object implements Ordering
Order nodes according to their size.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.treemap.Ordering

  `Ordering.SortOrder`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SizeOrColorOrdering()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MutableTreeMapNode[]`
  `sort(TreeMapModel model, MutableTreeMapNode[] nodes, Ordering.SortOrder sortOrder)`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### SizeOrColorOrdering

    public SizeOrColorOrdering()

- ## Method Details

  - ### sort

    public MutableTreeMapNode[] sort(TreeMapModel model, MutableTreeMapNode[] nodes, Ordering.SortOrder sortOrder)
    Specified by:
      `sort` in interface `Ordering`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`