Proposition pour générer les codes

This commit is contained in:
2025-12-15 20:55:24 +01:00
parent aed7f1c731
commit bee235255e
2 changed files with 20 additions and 2 deletions
@@ -1,5 +1,5 @@
public class HuffmanNode{
private int value;
private char value;
private int frequence;
private HuffmanNode left;
@@ -7,7 +7,7 @@ public class HuffmanNode{
public HuffmanNode(int v,int f){
public HuffmanNode(char v,int f){
this.value = v;
this.frequence = f;
this.right = null;