View Single Post
Old 12-14-2012, 12:38 AM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
You could create an array of int, and use a search on it:
PHP Code:
int[] iaCheck = new int[]{714212733384347);
if (
Arrays.binarySearch(iaCheckd) >= 0)
{
    
// is true.

This is similar to PHP:
PHP Code:
$iaCheck = array(714212733384347);
if (
array_search($d$iaCheck) !== false)
{

Fou-Lu is offline   Reply With Quote