org.smpp.util.Queue Maven / Gradle / Ivy
/*
* Copyright (c) 1996-2001
* Logica Mobile Networks Limited
* All rights reserved.
*
* This software is distributed under Logica Open Source License Version 1.0
* ("Licence Agreement"). You shall use it and distribute only in accordance
* with the terms of the License Agreement.
*
*/
package org.smpp.util;
import java.util.LinkedList;
import java.util.ListIterator;
import org.smpp.SmppObject;
/**
* Implements fifo style queue with removal of specified element from inside of
* the queue.
*
* @author Logica Mobile Networks SMPP Open Source Team
* @version $Revision: 1.1 $
*/
public class Queue extends SmppObject {
private int maxQueueSize = 0;
private LinkedList