netcom.mds
Class Demo

java.lang.Object
  extended bynetcom.mds.Demo

public class Demo
extends java.lang.Object

Title: Demo Class

Description: This is ONLY a Demo class used for internal testing It is not part of the final product

Copyright: Copyright (c) 2002

Company: NETCOM

See Also:
BloomFilter

Constructor Summary
Demo()
          Constructor, take no arguments but creates object variables
 
Method Summary
 void add(java.lang.String[] args)
          This method adds a string to the 'remote' bloom filter and updates the local filter
 void check(java.lang.String[] args)
          This method checks if a string is in the local bloom filter
 void exit(java.lang.String[] args)
          This method exits the program
static void foo(java.lang.String[] args)
           
 void help(java.lang.String[] args)
          This just displays the help menu
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Demo

public Demo()
Constructor, take no arguments but creates object variables

Method Detail

main

public static void main(java.lang.String[] args)

foo

public static void foo(java.lang.String[] args)

help

public void help(java.lang.String[] args)
This just displays the help menu


add

public void add(java.lang.String[] args)
This method adds a string to the 'remote' bloom filter and updates the local filter

Parameters:
args - command arguments, all words except the first one (the command call itself) are added

check

public void check(java.lang.String[] args)
This method checks if a string is in the local bloom filter

Parameters:
args - command arguments, all words except the first one (the command call itself) are combined

exit

public void exit(java.lang.String[] args)
This method exits the program

Parameters:
args - these are ignored