
Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Курсовая работа / InternetConnection / src / ic / core / IConnection
.java /*
* IConnection.java
*
* Created on April 22, 2007, 6:18 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package ic.core;
/**
*
* @author adm
*/
public class IConnection {
float speed = 0;
float monthFee = 0;
public enum ConnectionType { sattelite, ADSL, dialup, network};
ConnectionType conType;
/** Creates a new instance of IConnection */
public IConnection(float speed, float monthFee, ConnectionType ct) {
this.speed = speed;
this.monthFee = monthFee;
this.conType = ct;
}
public float getSpeed() {
return this.speed;
}
public float getMonthFee() {
return this.monthFee;
}
public ConnectionType getConnectionType() {
return this.conType;
}
}
* IConnection.java
*
* Created on April 22, 2007, 6:18 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package ic.core;
/**
*
* @author adm
*/
public class IConnection {
float speed = 0;
float monthFee = 0;
public enum ConnectionType { sattelite, ADSL, dialup, network};
ConnectionType conType;
/** Creates a new instance of IConnection */
public IConnection(float speed, float monthFee, ConnectionType ct) {
this.speed = speed;
this.monthFee = monthFee;
this.conType = ct;
}
public float getSpeed() {
return this.speed;
}
public float getMonthFee() {
return this.monthFee;
}
public ConnectionType getConnectionType() {
return this.conType;
}
}
Соседние файлы в папке core