Design-Patterns/real_world/iterator/src/org/tektutor/Channel.java
<filename>Design-Patterns/real_world/iterator/src/org/tektutor/Channel.javapackage org.tektutor;

public class Channel {
	private double frequency;
	private ChannelTypeEnum TYPE;
	
	public Channel(double freq, ChannelTypeEnum type){
		this.frequency=freq;
		this.TYPE=type;
	}

	public double getFrequency() {
		return frequency;
	}

	public ChannelTypeEnum getTYPE() {
		return TYPE;
	}
	
	
	public String toString(){
		return "Frequency="+this.frequency+", Type="+this.TYPE;
	}
}
