Example #1
0
        public bool setHuff()
        {
            bool answer = false;

            if (comp == null || comp.GetType() != typeof(HuffmanCompressor))
            {
                comp = new HuffmanCompressor();
            }
            if (comp != null)
            {
                answer = true;
            }
            return(answer);
        }
Example #2
0
 public Compressor()
 {
     comp = null;
 }