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

com.github.ddth.queue.impl.BaseUniversalInmemQueue Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.github.ddth.queue.impl;

/**
 * Base class for universal in-memory queue implementations.
 * 
 * @author Thanh Nguyen 
 * 
 * @param 
 * @since 0.4.0
 */
public class BaseUniversalInmemQueue extends InmemQueue {

    public BaseUniversalInmemQueue() {
    }

    public BaseUniversalInmemQueue(int boundary) {
        super(boundary);
    }

    /**
     * {@inheritDoc}
     */
    @SuppressWarnings("unchecked")
    @Override
    public T take() {
        return (T) super.take();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy