/******************************************************************************* * Copyright (c) 2013 Imperial College London. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Raul Castro Fernandez - initial design and implementation ******************************************************************************/ package uk.ac.imperial.lsds.seep.comm.serialization.serializers; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.serializers.CollectionSerializer; import java.util.ArrayList; import java.util.Collection; public class ArrayListSerializer extends CollectionSerializer { @Override public Collection create(Kryo kryo, Input input, Class<Collection> type) { return new ArrayList(); } }