CloudletList (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.lists

## Class CloudletList

- java.lang.Object
- - org.cloudbus.cloudsim.lists.CloudletList

-     public class CloudletList
      extends Object

  CloudletList is a collection of operations on lists of Cloudlets.
  Since:
    CloudSim Toolkit 2.0
  Author:
    Anton Beloglazov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CloudletList()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends Cloudlet> T` | `getById(List<T> cloudletList, int id)` Gets the by id.
    `static <T extends Cloudlet> void` | `sort(List<T> cloudletList)` Sorts the Cloudlets in a list based on their lengths.

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

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

- - ### Constructor Detail

    - #### CloudletList

          public CloudletList()

  - ### Method Detail

    - #### getById

          public static <T extends Cloudlet> T getById(List<T> cloudletList,
                                       int id)

      Gets the by id.
      Parameters:
        `cloudletList` - the cloudlet list
        `id` - the id
      Returns:
        the by id

    - #### sort

          public static <T extends Cloudlet> void sort(List<T> cloudletList)

      Sorts the Cloudlets in a list based on their lengths.
      Parameters:
        `cloudletList` - the cloudlet list

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.