scale.clef.expr
Class PositionRepeatOp

java.lang.Object
  extended by scale.clef.expr.PositionOp
      extended by scale.clef.expr.PositionRepeatOp

public class PositionRepeatOp
extends PositionOp

The PositionRepeatOp class specifies a repeat count for the next constant in an aggregation.

$Id: PositionRepeatOp.java,v 1.1 2005-03-14 22:28:57 burrill Exp $

Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
PositionRepeatOp(int count)
           
 
Method Summary
 boolean equivalent(java.lang.Object exp)
          Return true if the two expressions are equivalent.
 int getCount()
          Return the repeat count.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionRepeatOp

public PositionRepeatOp(int count)
Method Detail

getCount

public final int getCount()
Return the repeat count.


equivalent

public boolean equivalent(java.lang.Object exp)
Return true if the two expressions are equivalent.

Overrides:
equivalent in class PositionOp

toString

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