Class ProcessModelState.InstantAdapter

java.lang.Object
com.google.gson.TypeAdapter<Instant>
neqsim.process.processmodel.lifecycle.ProcessModelState.InstantAdapter
Enclosing class:
ProcessModelState

private static class ProcessModelState.InstantAdapter extends com.google.gson.TypeAdapter<Instant>
Instant type adapter for Gson.
Version:
1.0
Author:
ESOL
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, Instant value)
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InstantAdapter

      private InstantAdapter()
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, Instant value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<Instant>
      Throws:
      IOException
    • read

      public Instant read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<Instant>
      Throws:
      IOException