pl.edu.pjwstk.yaod.store.defaultstore.transientstore
Class TransientBlockID

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.store.AbstractBlockID
        |
        +--pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockID
              |
              +--pl.edu.pjwstk.yaod.store.defaultstore.transientstore.TransientBlockID
All Implemented Interfaces:
java.io.Serializable

public class TransientBlockID
extends BlockID

See Also:
Serialized Form

Constructor Summary
TransientBlockID(short store, short block)
           
 
Method Summary
 boolean equals(java.lang.Object par)
           
 short getBlockID()
           
 int hashCode()
           
 short sizeOf()
          Zwraca dlugosc identyfikatora bloku po jego zserializowaniu.
 byte[] toByteArray()
          Serializuje identyfikator bloku.
 
Methods inherited from class pl.edu.pjwstk.yaod.store.AbstractBlockID
getStoreID, setStoreID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientBlockID

public TransientBlockID(short store,
                        short block)
Method Detail

getBlockID

public short getBlockID()

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractBlockID
Following copied from class: pl.edu.pjwstk.yaod.store.AbstractBlockID
Parameters:
paramName - comments
Returns:
comments
Throws:
XxxxxxException - if ...

toByteArray

public byte[] toByteArray()
Description copied from class: BlockID
Serializuje identyfikator bloku.
Overrides:
toByteArray in class BlockID
Following copied from class: pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockID
Returns:
zserializowany identyfikator bloku.

sizeOf

public short sizeOf()
Description copied from class: BlockID
Zwraca dlugosc identyfikatora bloku po jego zserializowaniu.
Overrides:
sizeOf in class BlockID
Following copied from class: pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockID
Returns:
dlugosc identyfikatora bloku.

equals

public boolean equals(java.lang.Object par)
Overrides:
equals in class AbstractBlockID
Following copied from class: pl.edu.pjwstk.yaod.store.AbstractBlockID
Parameters:
paramName - comments
Returns:
comments
Throws:
XxxxxxException - if ...