| Package | Description |
|---|---|
| org.onlab.util |
Miscellaneous domain-agnostic utilities.
|
| Modifier and Type | Method and Description |
|---|---|
default Bandwidth |
Bandwidth.add(Bandwidth value)
Returns a Bandwidth whose value is (this + value).
|
static Bandwidth |
Bandwidth.bps(double bps)
Creates a new instance with given bandwidth in bps.
|
static Bandwidth |
Bandwidth.bps(long bps)
Creates a new instance with given bandwidth in bps.
|
static Bandwidth |
Bandwidth.gbps(double gbps)
Creates a new instance with given bandwidth in Gbps.
|
static Bandwidth |
Bandwidth.gbps(long gbps)
Creates a new instance with given bandwidth in Gbps.
|
static Bandwidth |
Bandwidth.kbps(double kbps)
Creates a new instance with given bandwidth in Kbps.
|
static Bandwidth |
Bandwidth.kbps(long kbps)
Creates a new instance with given bandwidth in Kbps.
|
static Bandwidth |
Bandwidth.mbps(double mbps)
Creates a new instance with given bandwidth in Mbps.
|
static Bandwidth |
Bandwidth.mbps(long mbps)
Creates a new instance with given bandwidth in Mbps.
|
static Bandwidth |
Bandwidth.of(double v,
DataRateUnit unit)
Creates a new instance with given bandwidth.
|
static Bandwidth |
Bandwidth.of(long v,
DataRateUnit unit)
Creates a new instance with given bandwidth.
|
default Bandwidth |
Bandwidth.subtract(Bandwidth value)
Returns a Bandwidth whose value is (this - value).
|
| Modifier and Type | Method and Description |
|---|---|
default Bandwidth |
Bandwidth.add(Bandwidth value)
Returns a Bandwidth whose value is (this + value).
|
default int |
Bandwidth.compareTo(Bandwidth other) |
default Bandwidth |
Bandwidth.subtract(Bandwidth value)
Returns a Bandwidth whose value is (this - value).
|
Copyright © 2016. All rights reserved.