Here you can find the source of randomCSeq()
public static Long randomCSeq()
//package com.java2s; //License from project: Open Source License public class Main { /**/*w w w . ja v a2s .co m*/ * Generates a random long number **/ public static Long randomCSeq() { int cseq = (new Random()).nextInt(); if (cseq < 0) cseq = -cseq; return new Long(cseq); } }