summaryrefslogtreecommitdiff
path: root/java-plan2/src/org/msgpack/impl/ObjectBuilder.java
blob: 326890340448b3fbfa7bbc5576e99ef5d3cf24ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.msgpack.impl;

public interface ObjectBuilder {
	public Object createNil();
	public Object createBoolean(boolean v);
	public Object createByte(byte v);
	public Object createShort(short v);
	public Object createInt(int v);
	public Object createLong(long v);
	public Object createFloat(float v);
	public Object createDouble(double v);
	public Object createRaw(byte[] b, int offset, int length);
	public ArrayBuilder createArray(int length);
	public MapBuilder createMap(int length);
}