|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasBandwidth
An object that has frequency bandwidth.
Version Info:
$Revision: 1158 $ |
$Date: 2008-03-14 09:26:16 -0600 (Fri, 14 Mar 2008) $ |
$Author: dharland $ (last person to modify) |
Method Summary | |
---|---|
Frequency |
getAllowableBandwidthClosestTo(Frequency desiredWidth)
Returns the allowable frequency that is closest to the parameter. |
Frequency |
getAllowableBandwidthFor(Frequency desiredWidth)
Returns the smallest allowable bandwidth that is greater than desiredWidth . |
SortedSet<Frequency> |
getAllowableBandwidths()
Returns the set of bandwidths to which this object may be set. |
Frequency |
getBandwidth()
Returns this object's bandwidth. |
Frequency |
getMaximumBandwidth()
Returns the largest bandwidth to which this object may be set. |
Frequency |
getMinimumBandwidth()
Returns the smallest bandwidth to which this object may be set. |
boolean |
hasDiscreteBandwidths()
Returns true if this object may be set only to pretermined bandwidths. |
Method Detail |
---|
Frequency getMinimumBandwidth()
Frequency getMaximumBandwidth()
boolean hasDiscreteBandwidths()
getMinimumBandwidth()
and getMaximumBandwidth()
.
If the returned value is true, the method
getAllowableBandwidths()
will give the set of predetermined
bandwidths.
SortedSet<Frequency> getAllowableBandwidths()
If the return value of hasDiscreteBandwidths()
is false
all frequencies in the range allowed by
getMinimumBandwidth()
and getMaximumBandwidth()
are
valid and this method will return an empty set. Otherwise it will
return the set of allowable bandwidths.
Frequency getAllowableBandwidthFor(Frequency desiredWidth)
desiredWidth
. If no allowable bandwidth is greater than
desiredWidth
, the maximum allowable bandwidth is returned.
desiredWidth
- a desired bandwidth for which an allowable bandwidth is sought.
desiredWidth
.Frequency getAllowableBandwidthClosestTo(Frequency desiredWidth)
desiredWidth
- a bandwidth for which the closest allowable bandwidth is desired.
If this value is below the minimum, the minimum allowable value
is returned. If it is above the maximum, the maximum is returned.
If this value is null, the minimum value is returned.
desiredWidth
.Frequency getBandwidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |