Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
debug2479yclass IntegerStringFactory {
public static make(int value) {
new IntegerString(value);
}
private static class IntegerString {
private final int value;
private IntegerString(int value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}
}
String s = IntegerStringFactory.make(1).toString();
Related Rants

When you spend too much time doing JS...
I love my city but cmon developers 😂
So no odd numbers in a string then?
Only 10 kinds...
undefined
convert
string