com.gc.iotools.stream.utils
Class ArrayTools

java.lang.Object
  extended by com.gc.iotools.stream.utils.ArrayTools

public final class ArrayTools
extends Object

Miscellaneous utilities for Arrays, i haven't found anywhere.

Since:
1.0.9
Author:
dvd.smnt

Method Summary
static int indexOf(byte[] src, byte[] contained)
          Find the index of the contained array in the src array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

indexOf

public static int indexOf(byte[] src,
                          byte[] contained)
Find the index of the contained array in the src array.

Parameters:
src - Source array.
contained -
Returns:
position of the contained array or -1 if not found.


Copyright © 2008-2009. All Rights Reserved.