All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jparams.store.memory.MemoryReferenceFactory Maven / Gradle / Ivy

There is a newer version: 3.1.4
Show newest version
package com.jparams.store.memory;

import com.jparams.store.reference.Reference;
import com.jparams.store.reference.ReferenceFactory;

/**
 * Factory for creating in memory references
 *
 * @param  value type
 */
public class MemoryReferenceFactory implements ReferenceFactory
{
    @Override
    public Reference createReference(final V obj)
    {
        return new MemoryReference<>(obj);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy