Hi,
i try to find a java system class, which is able to store 2 or even better 3 values. Something like:
The problem is, that i can´t use my own class, so it must be a system class. Does anyone know a likewise class ?
Thanks in advance
Chris
i try to find a java system class, which is able to store 2 or even better 3 values. Something like:
Code:
public class NameIdPair
{
private int id;
private String name;
public void setId( int id );
public int getId();
public void setName( String name );
public String getName();
}
The problem is, that i can´t use my own class, so it must be a system class. Does anyone know a likewise class ?
Thanks in advance
Chris