19 lines
203 B
Java
Executable File
19 lines
203 B
Java
Executable File
class StoreSomethingParCon<A>
|
|
{
|
|
A something;
|
|
|
|
StoreSomethingParCon(A some)
|
|
{
|
|
something = some;
|
|
}
|
|
|
|
A get()
|
|
{
|
|
return something;
|
|
}
|
|
|
|
void set(A some)
|
|
{
|
|
something = some;
|
|
}
|
|
} |