tomtom41 It's not a bug, it's a feature | euh la je comprends pas un truc
Code :
- The method binarySearch(int[], int) is undefined for the type Mask
|
Code :
- import java.util.StringTokenizer;
- import java.util.Arrays;
- public class Mask extends AdrIP {
- (...)
- int[] val_mask = new int[] {128,192,224,240,248,252,254};
- nb = new Integer(st.nextToken()).intValue();
- if (binarySearch(val_mask,nb)>=0) (...)
|
vu que binarySearch est static ca devrait marcher non ![[:proy] [:proy]](https://forum-images.hardware.fr/images/perso/proy.gif) Message édité par tomtom41 le 08-03-2005 à 11:35:59
|