2025-12-18 12:34:39 +01:00
|
|
|
package fr.iutfbleau.sae.mhuffman;
|
|
|
|
|
|
2025-12-15 20:14:12 +01:00
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
public class CanonicalCode{
|
|
|
|
|
private Map<Character,Integer> codeLenghts;
|
2025-12-18 12:34:39 +01:00
|
|
|
private Map<Character,Integer> canonicalCodes;
|
2025-12-15 20:14:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getCode(){
|
|
|
|
|
// à changer selon le contexte !
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getLength(){
|
|
|
|
|
// à changer selon le contexte ! encore une fois !!
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2025-12-18 12:34:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|