public class Channel extends Object implements Comparable<Channel>
Channel
.Modifier and Type | Field and Description |
---|---|
static SortedMap<Integer,SortedSet<Channel>> |
MAP
|
Constructor and Description |
---|
Channel(String map,
int number,
int frequency)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Channel that) |
boolean |
equals(Object object) |
int |
getFrequency() |
String |
getMapName() |
int |
getNumber() |
int |
hashCode() |
String |
toString() |
public String getMapName()
Channel
map name.public int getFrequency()
Channel
(digital center) frequency.public int compareTo(Channel that)
compareTo
in interface Comparable<Channel>
Copyright © 2015–2020 Allen D. Ball. All rights reserved.