Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ public ValueType getValueType()
return ValueType.BOOLEAN;
}

@Override
public ImmutableBooleanValue asBooleanValue()
{
return this;
}

@Override
public ImmutableBooleanValue immutableValue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package org.msgpack.value.impl;

import org.msgpack.core.MessagePacker;
import org.msgpack.value.ImmutableNumberValue;
import org.msgpack.value.ImmutableFloatValue;
import org.msgpack.value.Value;
import org.msgpack.value.ValueType;
Expand Down Expand Up @@ -52,6 +53,18 @@ public ImmutableDoubleValueImpl immutableValue()
return this;
}

@Override
public ImmutableNumberValue asNumberValue()
{
return this;
}

@Override
public ImmutableFloatValue asFloatValue()
{
return this;
}

@Override
public byte toByte()
{
Expand Down