org.codehaus.aspectwerkz
Class IndexTuple

java.lang.Object
  extended byorg.codehaus.aspectwerkz.IndexTuple
All Implemented Interfaces:
java.io.Serializable

public class IndexTuple
extends java.lang.Object
implements java.io.Serializable

A tuple with two indexes describing the aspect and a method (advice or introduced).

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
IndexTuple(int aspectIndex, int methodIndex)
          Creates a new index tuple.
 
Method Summary
 int getAspectIndex()
          Return the aspect index.
 int getMethodIndex()
          Return the method index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTuple

public IndexTuple(int aspectIndex,
                  int methodIndex)
Creates a new index tuple.

Parameters:
aspectIndex - the aspect index
methodIndex - the method index
Method Detail

getAspectIndex

public int getAspectIndex()
Return the aspect index.

Returns:
the aspect index

getMethodIndex

public int getMethodIndex()
Return the method index.

Returns:
the method index


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.