/[classpath]/classpath/java/net/InetAddress.java
ViewVC logotype

Diff of /classpath/java/net/InetAddress.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mkoch, Tue Mar 11 12:31:13 2003 UTC revision 1.17 by mkoch, Tue Mar 11 13:54:17 2003 UTC
# Line 388  public class InetAddress implements Seri Line 388  public class InetAddress implements Seri
388     *     *
389     * @param ipaddr The IP number of this address as an array of bytes     * @param ipaddr The IP number of this address as an array of bytes
390     */     */
391    //private    InetAddress (byte[]ipaddr)
   public InetAddress (byte[]ipaddr)  
392    {    {
393      this (ipaddr, null, null);      this (ipaddr, null, null);
394    }    }
# Line 402  public class InetAddress implements Seri Line 401  public class InetAddress implements Seri
401     * @param ipaddr The IP number of this address as an array of bytes     * @param ipaddr The IP number of this address as an array of bytes
402     * @param hostname The hostname of this IP address.     * @param hostname The hostname of this IP address.
403     */     */
404    //private    InetAddress (byte[]ipaddr, String hostname)
   public InetAddress (byte[]ipaddr, String hostname)  
405    {    {
406      this (ipaddr, hostname, null);      this (ipaddr, hostname, null);
407    }    }
# Line 418  public class InetAddress implements Seri Line 416  public class InetAddress implements Seri
416     * @param hostname_alias A backup hostname to use if hostname is null to     * @param hostname_alias A backup hostname to use if hostname is null to
417     * prevent reverse lookup failures     * prevent reverse lookup failures
418     */     */
419    //private    InetAddress (byte[]ipaddr, String hostname, String hostname_alias)
   public InetAddress (byte[]ipaddr, String hostname, String hostname_alias)  
420    {    {
421      addr = new byte[ipaddr.length];      addr = new byte[ipaddr.length];
422    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26