Added marshaller for longs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1881 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -77,6 +77,13 @@ public class ValueMarshaller
|
||||
}
|
||||
});
|
||||
|
||||
// and longs
|
||||
_parsers.put(Long.TYPE, new Parser() {
|
||||
public Object parse (String source) throws Exception {
|
||||
return Long.valueOf(source);
|
||||
}
|
||||
});
|
||||
|
||||
// and floats
|
||||
_parsers.put(Float.TYPE, new Parser() {
|
||||
public Object parse (String source) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user