THE PACKAGE JAVA.LANG
java.lang.String
20.12
ooffset+len
 is greater than the length of the
other
 argument.
There is some nonnegative integer
k
 less than
len
 such that:
this.charAt(toffset+k) != other.charAt(ooffset+k)
If
other
 is
null
, then a
NullPointerException
 is thrown.
20.12.19
public boolean regionMatches(boolean ignoreCase,
int toffset, String other, int ooffset, int len)
throws NullPointerException
A substring of this
String
 object is compared to a substring of the argument
other
. The result is
true
 if these substrings represent character sequences that
are the same, ignoring case if and only if
ignoreCase
 is true. The substring of
this
String
 object to be compared begins at index
toffset
 and has length
len
.
The substring of
other
 to be compared begins at index
ooffset
 and has length
len
. The result is
false
 if and only if at least one of the following is true:
toffset
 is negative.
ooffset
 is negative.
toffset+len
 is greater than the length of this
String
 object.
ooffset+len
 is greater than the length of the
other
 argument.
There is some nonnegative integer
k
 less than
len
 such that:
this.charAt(toffset+k) != other.charAt(ooffset+k)
ignoreCase
 is
true
 and there is some nonnegative integer
k
 less than
len
such that:
Character.toLowerCase(this.charAt(toffset+k)) !=
Character.toLowerCase(other.charAt(ooffset+k))
and
:
Character.toUpperCase(this.charAt(toffset+k)) !=
Character.toUpperCase(other.charAt(ooffset+k))
If
other
 is
null
, then a
NullPointerException
 is thrown.
539






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved