1 2 3 4 5 6 7 8 9 10 
11 12 13 14 15 16 17 18 19 20 
21 22 23 24 25 26 27 28 29 30 
31 32 33 34 35 36 37 38 39 40 
41 42 43 44 45 46 47 48 49 50 
51 52 53 54 55 56 57 58 59 60 
61 62 63 64 65 66 67 68 69 70 
71 72 73 74 75 76 77 78 79 80 
81 82 83 84 85 86 87 88 
   
    
    | 
  
  
   
    
/* 
  JaVi - JavaVigenere -   A Java implementation of the Vigenere 
                                cryptographical  algorithm 
        Un'implementazione Java dell'algoritmo di 
                                Vigenere per la crittografia 
    Copyright (C) 2002 Pierre Blanc 
 
    http://it.geocities.com/teutoburgo                (italiano) 
    http://it.geocities.com/teutoburgo/indexEn.html   (english) 
 
 
    This program is free software; you can redistribute it and/or modify 
    it under the terms of the GNU General Public License as published by 
    the Free Software Foundation; either version 2 of the License. 
 
    This program is distributed in the hope that it will be useful, 
    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    GNU General Public License for more details. 
 
    You should have received a copy of the GNU General Public License 
    along with this program; if not, write to the Free Software 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    or go to      http://www.gnu.org/copyleft/gpl.html 
 
 
    Questo  programma è  software  libero; è  lecito redistribuirlo  o 
    modificarlo secondo i termini  della Licenza Pubblica Generica GNU 
    come è pubblicata dalla Free  Software Foundation, o la versione 2 
    della licenza. 
    Questo programma  è distribuito nella  speranza che sia  utile, ma 
    SENZA  ALCUNA GARANZIA;  senza  neppure la  garanzia implicita  di 
    NEGOZIABILITĄ  o di  APPLICABILITĄ PER  UN PARTICOLARE  SCOPO.  Si 
    veda la Licenza Pubblica Generica GNU per avere maggiori dettagli. 
 
    Questo  programma deve  essere  distribuito assieme  ad una  copia 
    della Licenza Pubblica Generica GNU;  in caso contrario, se ne può 
    ottenere  una scrivendo  alla Free  Software Foundation,  Inc., 59 
    Temple Place, Suite 330, Boston, MA 02111-1307 USA  oppure da 
    http://www.gnu.org/copyleft/gpl.html 
 
 
    Un grazie sentito a Roberto detto "Piano Man" per l'importante aiuto. 
 
 * Title:        JaVi BO<p> 
 * Copyright:    Copyright (c) 2002 Pierre Blanc<p> 
 * @author Pierre Blanc 
 * @version 0.8 
 */ 
 
package JaVi; 
 
/*Questa classe viene usata dall'oggetto Vigenere per contare le frequenze 
di una singola stringa 
 
This class is used by the Vigenere object in order to count the frequencies 
of a single string*/ 
 
public class FrequenzaNijk { 
 
  public FrequenzaNijk(){ 
  } 
 
  public FrequenzaNijk(String n, double f){ 
    nijk=n; 
    freq=f; 
  } 
 
  private String nijk; 
  private double freq; 
 
  public String getNijk(){ 
    return nijk; 
  } 
 
  public double getFreq(){ 
    return freq; 
  } 
 
  public void setNijk(String nijk){ 
    this.nijk=nijk; 
  } 
 
  public void setFreq(double freq){ 
    this.freq=freq; 
  } 
 
}
    
    |