Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1229 connectés 

  FORUM HardWare.fr
  Programmation
  Java

  String -> boolean

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

String -> boolean

n°732983
souliane
Posté le 20-05-2004 à 20:55:33  profilanswer
 

Y'a t'il un moyen plus simple de convertie une chaine en booleen que (Integer.parseInt(string)==0)?false:true ?

mood
Publicité
Posté le 20-05-2004 à 20:55:33  profilanswer
 

n°732995
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 20-05-2004 à 21:19:02  profilanswer
 

Boolean.valueOf() [:halm]
La javadoc, c'est bien [:kiki]


Message édité par Taiche le 20-05-2004 à 21:19:24

---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Java

  String -> boolean

 

Sujets relatifs
problem conversion char* -> string sous visual .net[CGI]comment récupère t on les variables de la query string
Recherche de string ds un bloc mémoire sans type[C++]Fonction pour passer d'une string vers une var numérique ?
[java]Efficacité pour la lecture d'un fichier texte --> StringExpression reguliere checker si un string est borne par ','
execution de stringconvertir un double ou un float en string ou en char
Olevariant en string ?Question sur startWith de String
Plus de sujets relatifs à : String -> boolean


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR