Class SliceValueConsumer
- java.lang.Object
-
- com.alibaba.fastjson2.support.airlift.SliceValueConsumer
-
- All Implemented Interfaces:
ValueConsumer
public class SliceValueConsumer extends Object implements ValueConsumer
-
-
Field Summary
Fields Modifier and Type Field Description io.airlift.slice.Sliceslice
-
Constructor Summary
Constructors Constructor Description SliceValueConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(boolean val)voidaccept(byte[] bytes, int off, int len)voidaccept(int value)voidaccept(long value)voidaccept(Number val)voidaccept(String val)voidaccept(List array)voidaccept(Map object)voidacceptNull()
-
-
-
Method Detail
-
accept
public void accept(byte[] bytes, int off, int len)- Specified by:
acceptin interfaceValueConsumer
-
acceptNull
public void acceptNull()
- Specified by:
acceptNullin interfaceValueConsumer
-
accept
public void accept(int value)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(boolean val)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(long value)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(Number val)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(String val)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(Map object)
- Specified by:
acceptin interfaceValueConsumer
-
accept
public void accept(List array)
- Specified by:
acceptin interfaceValueConsumer
-
-