<commit_before>package ca.ualberta.cs.lonelytwitter;

import java.util.Date;

public class lonelyTweetModel
{
	private String text;
	private Date timestamp;
	//---------------------NOTE----------------------
	//private -only can see it in the current class.
	//.....    current class + package.
	//protected - class + + package.
	//public  -anywhere
	
	
	//right click the .java then click the source then click the setters and getter
	//have return type
	public String getText()
	{
	
		return text;
	}
	
	public void setText(String text)
	{
	
		this.text = text;
		// it pass an valuable which also called text.
		// "this" is a keyword the difference "String text" and "private String text"
	}
	
	public Date getTimestamp()
	{
	
		return timestamp;
	}
	
	public void setTimestamp(Date timestamp)
	{
	
		this.timestamp = timestamp;
	}
	
	
	//right click the .java then click the source then click Field
	//can only have one.
	public lonelyTweetModel(String text, Date timestamp)
	{
		//this(); run itself it can use for the recursion
		super();
		this.text = text;
		this.timestamp = timestamp;
	}
	
	
	public lonelyTweetModel(String text)
	{
		super();
		this.text = text;
		this.timestamp = new Date();
	}
	
}<commit_msg>the change after the break<commit_after>package ca.ualberta.cs.lonelytwitter;

import java.util.Date;

public abstract class lonelyTweetModel
{
	protected String text;
	protected Date timestamp;
	protected boolean important;
	//---------------------NOTE----------------------
	//private -only can see it in the current class.
	//.....    current class + package.
	//protected - class + + package.
	//public  -anywhere
	
	
	//right click the .java then click the source then click the setters and getter
	//have return type
	public String getText()
	{
	
		return text;
	}
	
	public abstract void setText(String text);

	
	
	public Date getTimestamp()
	{
	
		return timestamp;
	}
	
	
	
	public void setTimestamp(Date timestamp)
	{
	
		this.timestamp = timestamp;
	}
	
	
	//right click the .java then click the source then click Field
	//can only have one.
	public lonelyTweetModel(String text, Date timestamp)
	{
		//this(); run itself it can use for the recursion
		super();
		this.text = text;
		this.timestamp = timestamp;
	}
	
	
	public lonelyTweetModel(String text)
	{
		super();
		this.text = text;
		this.timestamp = new Date();
	}
	
	public boolean getImportant()
	{
		return important;
	}
	public abstract void setImportant(boolean important)throws Exception;
}
{'fraction_non_alphanumeric': 0.12680577849117175, 'fraction_numerical': 0.0, 'mean_word_length': 2.687869822485207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3104260', 'n_tokens_mistral': 807, 'n_tokens_neox': 733, 'n_words': 264}