Java Reference
In-Depth Information
Return Type
Name
Description
String
replaceAll
Replaces each substring of this String that matches the
(String, String)
given regular expression with the given replacement.
String
subString
Returns a portion of the String beginning at the index
(Integer, Integer)
defined by the first parameter, through the index
defined by the second parameter. If no second parame-
ter is provided, the remainder of the String is returned.
Boolean
endsWith (String)
Tests whether this String ends with the specified suffix.
Integer
asInteger ()
Returns an Integer object holding the value of the
specified String (from Java 1.5).
Boolean
contains (String)
Tests whether this String contains the specified
substring.
String
toFirstUpper ()
Converts the first character in this String to uppercase
using the rules of the default locale (from Java).
String
toFirstLower ()
Converts the first character in this String to lowercase
using the rules of the default locale (from Java).
String
replaceFirst
Replaces the first substring of this String that matches
(String, String)
the given regular expression with the given
replacement.
Boolean
startsWith (String)
Tests whether this String starts with the specified
prefix.
List
toCharList ()
Splits this String into a List[String] containing Strings
of length 1.
Boolean
matches (String)
Tells whether this String matches the given regular
expression (from Java 1.4).
The supertype of Integer is Real.
Table 14-5
Integer Operations
Return Type
Name
Description
Boolean
<= (Object)
Less than or equal to.
Integer
+ (Integer)
Add.
Integer
* (Integer)
Multiply.
Boolean
> (Object)
Greater than.
(continues)
 
Search WWH ::




Custom Search