Package org.apache.storm.container.cgroup

# Class Device

java.lang.Object
org.apache.storm.container.cgroup.Device

public class Device extends Object
a class that represents a device in linux.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final int`
  `major`
  `final int`
  `minor`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Device(int major, int minor)`
  `Device(String str)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Field Details

  - ### major

    public final int major

  - ### minor

    public final int minor

- ## Constructor Details

  - ### Device

    public Device(int major, int minor)

  - ### Device

    public Device(String str)

- ## Method Details

  - ### toString

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

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`