public class

NativeTypeIdProvider

extends AbstractTypeIdProvider
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.serialization.AbstractTypeIdProvider
     ↳ com.pnfsoftware.jeb.util.serialization.NativeTypeIdProvider

Class Overview

A standard provider for native Java types. Currently, this provider supports:

  • The 8 primitive types (boolean, byte, char, short, int, long, float, double) as well as their boxed versions
  • Object and String
  • The following list types: ArrayList, LinkedList
  • The following set types: HashSet, TreeSet
  • The following map types: HashMap, TreeMap, LinkedHashMap
Currently, serializing any other non-native type (or non @Ser type) will result in undefined behavior.

Summary

Public Methods
static ITypeIdProvider getInstance()
Protected Methods
void loadTypes(Map<Class<?>, Integer> map)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.serialization.AbstractTypeIdProvider
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.serialization.ITypeIdProvider

Public Methods

public static ITypeIdProvider getInstance ()

Protected Methods

protected void loadTypes (Map<Class<?>, Integer> map)