-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: None
-
Component/s: core-libs
-
generic
-
generic
A DESCRIPTION OF THE REQUEST :
The String class should support a static method like this:
public static hashCode(int start, int end)
{
...
}
JUSTIFICATION :
Currently you have to build sub strings to do this, which is expensive. Or you have to copy/paste the hashCode implementation from String class and implement it yourself.
The String class should support a static method like this:
public static hashCode(int start, int end)
{
...
}
JUSTIFICATION :
Currently you have to build sub strings to do this, which is expensive. Or you have to copy/paste the hashCode implementation from String class and implement it yourself.