From d1a67ae9a7a42adb518343f6a3e8d049cf024b8b Mon Sep 17 00:00:00 2001 From: Luc Dartois <luc.dartois@u-pec.fr> Date: Wed, 12 Feb 2025 16:40:13 +0100 Subject: [PATCH] Update TP/TP3.md --- TP/TP3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TP/TP3.md b/TP/TP3.md index 6eb19c4..fcbfca4 100644 --- a/TP/TP3.md +++ b/TP/TP3.md @@ -14,7 +14,7 @@ Pour utiliser une LinkedList en tant que file FIFO, vous pouvez utiliser les mé ``` public boolean isEmpty() : Returns true if this collection contains no elements. Integer remove() : Retrieves and removes the head (first element) of this list. -boolean offer(E e) : Adds the specified element as the tail (last element) of this list. +boolean offer(int i) : Adds the specified element i as the tail (last element) of this list. ``` **Question :**