Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.util.Iterator;
import java.util.Vector;

public class Main {
    private static String reconstruireDonnee(Vector<Integer> vectBit) {
        String donnee = "";

        //On ajoute le nouvel encodage dans le String "ligne" vide ci-haut
        Iterator<Integer> it = vectBit.iterator();
        while (it.hasNext()) {
            donnee += it.next();
        }

        return donnee;
    }
}