
com.hazelcast.internal.serialization.impl.EmptyObjectDataOutput Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.internal.serialization.impl;
import com.hazelcast.nio.ObjectDataOutput;
import com.hazelcast.nio.serialization.Data;
import java.io.IOException;
import java.nio.ByteOrder;
final class EmptyObjectDataOutput implements ObjectDataOutput {
@Override
public void writeObject(Object object) throws IOException {
}
@Override
public void writeData(Data data) throws IOException {
}
@Override
public void write(int b) throws IOException {
}
@Override
public void write(byte[] b) throws IOException {
}
@Override
public void write(byte[] b, int off, int len) throws IOException {
}
@Override
public void writeBoolean(boolean v) throws IOException {
}
@Override
public void writeByte(int v) throws IOException {
}
@Override
public void writeShort(int v) throws IOException {
}
@Override
public void writeChar(int v) throws IOException {
}
@Override
public void writeInt(int v) throws IOException {
}
@Override
public void writeLong(long v) throws IOException {
}
@Override
public void writeFloat(float v) throws IOException {
}
@Override
public void writeDouble(double v) throws IOException {
}
@Override
public void writeBytes(String s) throws IOException {
}
@Override
public void writeChars(String s) throws IOException {
}
@Override
public void writeUTF(String s) throws IOException {
}
@Override
public void writeByteArray(byte[] value) throws IOException {
}
@Override
public void writeBooleanArray(boolean[] booleans) throws IOException {
}
@Override
public void writeCharArray(char[] chars) throws IOException {
}
@Override
public void writeIntArray(int[] ints) throws IOException {
}
@Override
public void writeLongArray(long[] longs) throws IOException {
}
@Override
public void writeDoubleArray(double[] values) throws IOException {
}
@Override
public void writeFloatArray(float[] values) throws IOException {
}
@Override
public void writeShortArray(short[] values) throws IOException {
}
@Override
public void writeUTFArray(String[] values) throws IOException {
}
@Override
public byte[] toByteArray() {
throw new UnsupportedOperationException();
}
public void close() throws IOException {
}
@Override
public ByteOrder getByteOrder() {
return ByteOrder.BIG_ENDIAN;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy