@@ -555,11 +555,11 @@ private Object get(String key) {
555555 /**
556556 * Gets the String associated with a key
557557 *
558- * @param key A key string.
559- * @return A string which is the value.
560- * @throws JSONException if there is no string value for the key.
561558 * @webref jsonobject:method
562559 * @brief Gets the string associated with a key
560+ * @param key a key string
561+ * @return A string which is the value.
562+ * @throws JSONException if there is no string value for the key.
563563 */
564564 public String getString (String key ) {
565565 Object object = this .get (key );
@@ -573,12 +573,12 @@ public String getString(String key) {
573573 /**
574574 * Gets the int value associated with a key
575575 *
576- * @param key A key string.
577- * @return The integer value.
578- * @throws JSONException if the key is not found or if the value cannot
579- * be converted to an integer.
580576 * @webref jsonobject:method
581577 * @brief Gets the int value associated with a key
578+ * @param key a key string
579+ * @return The integer value.
580+ * @throws JSONException if the key is not found or if the value cannot
581+ * be converted to an integer.
582582 */
583583 public int getInt (String key ) {
584584 Object object = this .get (key );
@@ -613,7 +613,8 @@ public long getLong(String key) {
613613
614614 /**
615615 * @webref jsonobject:method
616- * @brief To come...
616+ * @brief Gets the float value associated with a key
617+ * @param key a key string
617618 */
618619 public float getFloat (String key ) {
619620 return (float ) getDouble (key );
@@ -642,11 +643,11 @@ public double getDouble(String key) {
642643 /**
643644 * Get the boolean value associated with a key.
644645 *
645- * @param key A key string.
646- * @return The truth.
647- * @throws JSONException if the value is not a Boolean or the String "true" or "false".
648646 * @webref jsonobject:method
649647 * @brief Gets the boolean value associated with a key
648+ * @param key a key string
649+ * @return The truth.
650+ * @throws JSONException if the value is not a Boolean or the String "true" or "false".
650651 */
651652 public boolean getBoolean (String key ) {
652653 Object object = this .get (key );
0 commit comments