gzz.slices
Class SliceVersion.Conn

java.lang.Object
  |
  +--gzz.slices.SliceVersion.Conn
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SliceVersion

public static class SliceVersion.Conn
extends java.lang.Object
implements java.io.Serializable

A serializable representation of a single ZZ connection. This refers to cells and dimensions as Strings.

All the ids are interned because we need fast comparison while building the diffs.

See Also:
Serialized Form

Field Summary
 java.lang.String dim
          The id of the connection's dimension.
 java.lang.String negside
          The negward side of the connection.
 java.lang.String posside
          The posward side of the connection.
 
Constructor Summary
SliceVersion.Conn(java.lang.String dim, java.lang.String negside, java.lang.String posside)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dim

public java.lang.String dim
The id of the connection's dimension.


negside

public java.lang.String negside
The negward side of the connection. For this cell, this is a posward connection.


posside

public java.lang.String posside
The posward side of the connection. For this cell, this is a negward connection.

Constructor Detail

SliceVersion.Conn

public SliceVersion.Conn(java.lang.String dim,
                         java.lang.String negside,
                         java.lang.String posside)
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object