LATEST VERSION: 8.2.8 - CHANGELOG
Pivotal GemFire® v8.2

Java to .NET Type Mapping Table

Java to .NET Type Mapping Table

The following table provides a mapping between Java and .NET types.

Table 1. Java types and.NET types
Java Type .NET Type

instances of PdxSerializable

.NET class of same name

instances of PdxInstance

.NET class of same name

instances serialized by a PdxSerializer

.NET class of same name

java.lang.Byte

System.SByte

java.lang.Boolean

System.Boolean

java.lang.Character

System.Char

java.lang.Short

System.Int16

java.lang.Integer

System.Int32

java.lang.Long

System.Int64

java.lang.Float

System.Float

java.lang.Double

System.Double

java.lang.String

System.String

java.util.Date

System.DateTime

byte[]

System.Byte[]

boolean[]

System.Boolean[]

char[]

System.Char[]

short[]

System.Int16[]

int[]

System.Int32[]

long[]

System.Int64[]

float[]

System.Float[]

double[]

System.Double[]

String[]

System.String[]

byte[][]

System.Byte[][]

Object[]

system.Collections.Generic.List<Object>

java.util.HashMap

System.Collections.Generics.IDictionary<Object, Object>

java.util.Hashtable

System.Collections.Hashtable

java.util.ArrayList

System.Collections.Generic.IList<Object>

java.util.Vector

Collections.ArrayList

java.util.HashSet

CacheableHashSet

java.util.LinkedHashSet

CacheableLinkedHashSet