PageBoxLib
Class RelayerKey

java.lang.Object
  extended byPageBoxLib.RelayerKey

public class RelayerKey
extends java.lang.Object

Key used in the relayers map of Relayer.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 10
Author:
Alexis Grandemange

Field Summary
private  java.lang.String downloadURL
          Repository URL
private  int hc
          HashCode
private  java.lang.String workDir
          Directory where XML and log files are defined
 
Constructor Summary
(package private) RelayerKey(java.lang.String downloadURL, java.lang.String workDir)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares the specified object with this key for equality.
 int hashCode()
          Returns the hash code value for this key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

downloadURL

private java.lang.String downloadURL
Repository URL


workDir

private java.lang.String workDir
Directory where XML and log files are defined


hc

private int hc
HashCode

Constructor Detail

RelayerKey

RelayerKey(java.lang.String downloadURL,
           java.lang.String workDir)
Constructor.

Parameters:
downloadURL - Repository URL
Method Detail

equals

public boolean equals(java.lang.Object o)
Compares the specified object with this key for equality.

Parameters:
o - object to be compared for equality with this map
Returns:
true if the specified object is equal to this map

hashCode

public int hashCode()
Returns the hash code value for this key.

Returns:
the hash code value for this key