cz.cuni.jagrlib.piece
Class VEFDS.AttrKey

java.lang.Object
  extended by cz.cuni.jagrlib.piece.VEFDS.AttrKey
Enclosing class:
VEFDS

protected static class VEFDS.AttrKey
extends java.lang.Object

Attribute key - [ entity, context, ident ] compound. Used in attribute lookup (hashing).


Field Summary
 int context
          Context identifier or Brep.NULL if shared.
 int entity
          Entity identifier (Brep.SCENE to Brep.SOLID).
protected static int HASH_CONTEXT
          Hash-coefficient for context.
protected static int HASH_ENTITY
          Hash-coefficient for entity.
 java.lang.String name
          Attribute identifier.
 
Constructor Summary
VEFDS.AttrKey()
           
VEFDS.AttrKey(int where, int ctx, java.lang.String ident)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HASH_ENTITY

protected static final int HASH_ENTITY
Hash-coefficient for entity.

See Also:
Constant Field Values

HASH_CONTEXT

protected static final int HASH_CONTEXT
Hash-coefficient for context.

See Also:
Constant Field Values

entity

public int entity
Entity identifier (Brep.SCENE to Brep.SOLID).


context

public int context
Context identifier or Brep.NULL if shared.


name

public java.lang.String name
Attribute identifier.

Constructor Detail

VEFDS.AttrKey

public VEFDS.AttrKey()

VEFDS.AttrKey

public VEFDS.AttrKey(int where,
                     int ctx,
                     java.lang.String ident)
Method Detail

equals

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

hashCode

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