代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/240985/13183127
h queue.h
/*------------------------------------------------------------------------*/
/* */
/* QUEUE.H
www.eeworm.com/read/325486/13201339
java queue.java
// Introduced in Chapter 4
/** A first-in, first-out queue of Objects. */
public interface Queue {
/** Add target to the back of this Queue. */
public void add(E target);
/** Return true if
www.eeworm.com/read/240686/13204888
h queue.h
#ifndef QUEUE_CLASS
#define QUEUE_CLASS
#include
#include
#include "link.h"
template
class Queue
{
private:
// a linked list object to hold th
www.eeworm.com/read/138758/13216833
java queue.java
//: c11:Queue.java
// Making a queue from a LinkedList.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruceeckel
www.eeworm.com/read/325233/13216912
cs queue.cs
namespace mCore
{
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
www.eeworm.com/read/138758/13217638
java queue.java
//: c15:Queue.java
// Demonstration of Design by Contract (DBC) combined
// with white-box unit testing.
// {Depends: junit.jar}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.Br
www.eeworm.com/read/138638/13227301
h queue.h
/*
** Interface for a queue module
*/
#include
#define QUEUE_TYPE int /* Type of value in the queue */
/*
** create_queue
** Creates a queue. The argument indicates the maximu
www.eeworm.com/read/138638/13227310
c a_queue.c
/*
** A queue implemented with a static array. The array size can
** be adjusted only by changing the #define and recompiling
** the module.
*/
#include "queue.h"
#include
#include
www.eeworm.com/read/240060/13238436
txt queue.txt
#include
struct node
{
int val;
struct node* pNext;
};
class Queue
{
private:
struct node* pHead;
struct node* pTail;
public:
Queue()
{
pHead = NULL;
pTail =
www.eeworm.com/read/324562/13257941