/QingTingFanBianYi/src/com/alibaba/fastjson/serializer/AtomicLongSerializer.java

https://gitlab.com/qt-prometheus/qt-prometheus · Java · 22 lines · 14 code · 4 blank · 4 comment · 0 complexity · 5840e6c3b185058abf3f7b51ba76e374 MD5 · raw file

  1. package com.alibaba.fastjson.serializer;
  2. import java.io.IOException;
  3. import java.lang.reflect.Type;
  4. import java.util.concurrent.atomic.AtomicLong;
  5. public class AtomicLongSerializer
  6. implements ObjectSerializer
  7. {
  8. public static final AtomicLongSerializer instance = new AtomicLongSerializer();
  9. public void write(JSONSerializer paramJSONSerializer, Object paramObject1, Object paramObject2, Type paramType)
  10. throws IOException
  11. {
  12. paramJSONSerializer.getWriter().writeLong(((AtomicLong)paramObject1).get());
  13. }
  14. }
  15. /* Location: C:\Users\User\dex2jar-2.0\dex\qting\classes-dex2jar.jar
  16. * Qualified Name: com.alibaba.fastjson.serializer.AtomicLongSerializer
  17. * JD-Core Version: 0.6.2
  18. */