public static SingleItemSketch create ( final byte [ ] data , final long seed ) { if ( ( data == null ) || ( data . length == 0 ) ) { return null ; } return new SingleItemSketch ( hash ( data , seed ) [ 0 ] >>> 1 , seed ) ; }
Create this sketch with the given byte array and a seed . If the byte array is null or empty no create attempt is made and the method returns null .