📄 binaryinputfilter.java
字号:
/*================= * Copyright (C) 2001 Todd Kaplan * * Lisys is a program that monitors TCP SYN packets to detect network * traffic anomalies. * * Licensed under the GNU General Public License (GPL), version 2 or * higher. Please see the COPYING and PATENT files included with the * Lisys distribution, which can be found at: * * http://www.cs.unm.edu/~judd/lisys/ * * Also, the current text of the GPL can be found at: * * http://www.gnu.org/copyleft/gpl.html * * Note that Lisys has NO WARRANTY! *=================*/package edu.unm.cs.lisys.detection.bif;import edu.unm.cs.lisys.util.*;import edu.unm.cs.lisys.detection.bip.*;import java.util.*;/**========== * BinaryInputFilter.java * An interface for specifying a permutation class for binary input * patterns. * * Here are the people who have worked on this code in the order they * have worked on it: * @author Todd Kaplan <kaplan@cs.unm.edu> * @author Justin Balthrop <judd@cs.unm.edu> *==========*/public interface BinaryInputFilter{ /**========== * constructFilter: * Given a random number and a length, construct a class to do * * some sort of permutation on a BIP. * * @param random a radnom number generator * @param length the length of the BIPs to be filtered *==========*/ public BinaryInputFilter constructFilter(KnuthRandom random, int length); /**========== * filter: * Does the filtering. * * @param bip the bip to be filtered *==========*/ public BinaryInputPattern filter(BinaryInputPattern bip); /**========== * toString: * The string representation *==========*/ public String toString();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -