gudii9
asked on
queue and deque interfaces
Hi,
What is differnece, dimilary, uses, disadvantages of
queue and deque interfaces. Please adviss
What is differnece, dimilary, uses, disadvantages of
queue and deque interfaces. Please adviss
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A deque does more than a queue, so it would be a generalization of a queue.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I suppose it can be a matter of perspective.
More generalization from the outside requires more specialization on the inside, and vice versa.
The General Theory of Relativity is more widely applicable than the Special Theory of Relativity, but less widely understood.
More generalization from the outside requires more specialization on the inside, and vice versa.
The General Theory of Relativity is more widely applicable than the Special Theory of Relativity, but less widely understood.
ASKER
More generalization from the outside requires more specialization on the inside, and vice versa.
The General Theory of Relativity is more widely applicable than the Special Theory of Relativity, but less widely understood.
can you please elaborate on this. I think i did not get this.
General Relativity is applicable in more general situations.
Special Relativity is only be applicable in more specialized situations.
If Special Relativity is applicable to a situation, then General Relativity is also applicable.
On the other hand, in terms of who can apply it:
Special Relativity can be applied by more people and is more generally well known.
General Relativity can only be applied by people who have mastered more special knowledge.
If a person understands General Relativity, then they also understand Special Relativity.
The former point of view is the one from which I would call a deque more general than a queue.
Special Relativity is only be applicable in more specialized situations.
If Special Relativity is applicable to a situation, then General Relativity is also applicable.
On the other hand, in terms of who can apply it:
Special Relativity can be applied by more people and is more generally well known.
General Relativity can only be applied by people who have mastered more special knowledge.
If a person understands General Relativity, then they also understand Special Relativity.
The former point of view is the one from which I would call a deque more general than a queue.
Thanx 4 axxepting
ASKER
i thought otherway where deque is specialization of queue.
As deque has better features though more recent addition to java. Please advise