Lightning browser with I2P configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

57 lines
929 B

package acr.browser.barebones.databases;
public class HistoryItem {
//private variables
private int _id;
private String _url;
private String _title;
// Empty constructor
public HistoryItem(){
}
// constructor
public HistoryItem(int id, String url, String title){
this._id = id;
this._url = url;
this._title = title;
}
// constructor
public HistoryItem(String url, String title){
this._url = url;
this._title = title;
}
// getting ID
public int getID(){
return this._id;
}
// setting id
public void setID(int id){
this._id = id;
}
// getting name
public String getUrl(){
return this._url;
}
// setting name
public void setUrl(String url){
this._url = url;
}
// getting phone number
public String getTitle(){
return this._title;
}
// setting phone number
public void setTitle(String title){
this._title = title;
}
}