📄 compression.java
字号:
package com.jr81.source.compression;
/*
* Compression.java
*
* Created on 01 Dec 2005
*
* Interface for any compression algorithm
*/
import java.io.* ;
/**
*
* @author Moshe Fresko
* @course Algorithmic Programming 1
* @exercise 2
*/
interface Compression
{
// Gets the input from the Input Stream
// and writes the encoded code into Output Stream
void compress(InputStream inp, OutputStream out) throws IOException ;
// Gets the already encoded input stream
// Decodes it and writes into output stream
void decompress(InputStream inp, OutputStream out) throws IOException ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -