com.google.bitcoin.core
Class InventoryItem

java.lang.Object
  extended by com.google.bitcoin.core.InventoryItem

public class InventoryItem
extends Object


Nested Class Summary
static class InventoryItem.Type
           
 
Field Summary
 Sha256Hash hash
           
 InventoryItem.Type type
           
 
Constructor Summary
InventoryItem(InventoryItem.Type type, Sha256Hash hash)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final InventoryItem.Type type

hash

public final Sha256Hash hash
Constructor Detail

InventoryItem

public InventoryItem(InventoryItem.Type type,
                     Sha256Hash hash)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2014. All rights reserved.