commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [NET] Better name for getAddressCountLong() ?
Date Thu, 02 Jan 2014 19:09:31 GMT
There was a problem [1] with the getAddressCount() method - it
returned an int, however the count of addresses could be larger than
To preserve binary compat, I added a new method

long getAddressCountLong()

However, I'm not entirely happy with the new name; it seems a bit long
and untidy.

Any suggestions for a new shorter name?

The method [original code: 2] returns the count of availalable
addresses for a given netmask.
[Optionally including the network and broadcast addresses]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message