это мой классHashtable "Нерешенные сборник" в Java
package main;
import java.util.Hashtable;
public class Information {
private final static String name = "Info Name";
private final static String direccion = "direction street number";
Hashtable<String,String> coordenates = new Hashtable<String,String>();
coordenates.put("lat", "36.564565465");
coordenates.put("lng", "64.584616511");
}
я узнал от oracle documentation
This example creates a hashtable of numbers. It uses the names of the numbers as keys:
Hashtable<String, Integer> numbers
= new Hashtable<String, Integer>();
numbers.put("one", 1);
numbers.put("two", 2);
numbers.put("three", 3);
To retrieve a number, use the following code:
Integer n = numbers.get("two");
if (n != null) {
System.out.println("two = " + n);
}
, что случилось с моим кодом ...
им с помощью Eclipse, для Java EE Developers, Java SE SDK 7 (1.7) на окнах 7 64 бит
спасибо!
Что текст ошибки компилятора? – EJP