| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ShiftMode>
scale.clef.expr.ShiftMode
public enum ShiftMode
This enum specifies the type of shift operation - logical left, arithmetic right, etc.
$Id$
 Copyright 2008 by the
 Scale Compiler Group,
 Department of Computer Science
 University of Massachusetts,
 Amherst MA. 01003, USA
 All Rights Reserved.
| Enum Constant Summary | |
|---|---|
| LeftThe shift is to the left with zero bit fill on the right. | |
| LeftRotateThe shift is to the left with bits shifted off the left side inserted on the right. | |
| RightRotateThe shift is to the right with bits shifted off the right side inserted on the left. | |
| SignedRightThe shift is to the righ with sign extension. | |
| UnsignedRightThe shift is to the righ with zero bit fill on the left. | |
| Method Summary | |
|---|---|
| static ShiftMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ShiftMode[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final ShiftMode SignedRight
public static final ShiftMode UnsignedRight
public static final ShiftMode Left
public static final ShiftMode LeftRotate
public static final ShiftMode RightRotate
| Method Detail | 
|---|
public static ShiftMode[] values()
for (ShiftMode c : ShiftMode.values()) System.out.println(c);
public static ShiftMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||