49 lines
631 B
Java
49 lines
631 B
Java
package pm.j4.petroleum.modules.base;
|
|
|
|
/**
|
|
* The type String writable.
|
|
*
|
|
* @param <T> the type parameter
|
|
*/
|
|
public class StringWritable<T extends Comparable<T>> {
|
|
/**
|
|
* The Value.
|
|
*/
|
|
public T value;
|
|
|
|
/**
|
|
* Gets type.
|
|
*
|
|
* @return the type
|
|
*/
|
|
public String getType() {
|
|
return "";
|
|
}
|
|
|
|
/**
|
|
* Gets value.
|
|
*
|
|
* @return the value
|
|
*/
|
|
public T getValue() {
|
|
return this.value;
|
|
}
|
|
|
|
/**
|
|
* Gets string value.
|
|
*
|
|
* @return the string value
|
|
*/
|
|
public String getStringValue() {
|
|
return "";
|
|
}
|
|
|
|
/**
|
|
* To string value.
|
|
*
|
|
* @param value the value
|
|
*/
|
|
public void toStringValue(String value) {
|
|
}
|
|
}
|