net.sf.magicproject.operation
Interface IdOperations


public interface IdOperations

Author:
Fabrice Daugan

Field Summary
static int ABSTRACT_VALUE
          Indentify a couple : register name + index.
static int ADD
          The addition : To get the sum value of a list or add two values.
static int ADD_ROUNDED
          The add the rounded division/2
static int ADD_TRUNCATED
          The truncated division/2
static int AND
          The binary and operation
static int AND_NOT
           
static int ANY
          This operation is only there to enable operation comparaison.
static int BASE_REGISTER_INT_VALUE
          Indentify a couple : register name + index withoutusing register modifiers.
static int BIT_COUNT
           
static int CARD_COLORS
           
static int CARD_TYPES
           
static int CLEAR
          The reset
For target-list : 'clear' operation clear the current target list.
static int COLLAPSE_COMBAT
          
For target-list : 'collapse-combat' operation is called to group natively defending/attacking card.
static int COUNTER
          added abstract operation to represent final value.
static int DECK_COUNTER
           
static int DECREMENT
           
static int DIV_ROUNDED
          The rounded division
static int DIV_TRUNCATED
          The truncated division
static int FILTER
          
For target-list :'filter' operation remove all targets making true the specified test.
static int FIRST
          To get the first element of a list
There is no associated Operation, target-list and int-list use this operation as id only.
static int HIGHEST_AMONG
           
static int IF_THEN_ELSE
          There is no associated Operation.
static int INCREMENT
           
static int INDEX_OF
          To get the first index of an element
There is no associated Operation, target-list and int-list use this operation as id only.
static int INDEX_OF_SAVED_LIST
           
static int INT_LIST
           
static int INT_VALUE
          added abstract operation to represent final value.
static int LAST
          To get the last element of a list
There is no associated Operation, target-list and int-list use this operation as id only.
static int LAST_INDEX_OF
          To get the last index of an element.
static int LOAD
          
For target-list : 'load' operation load a target list saved at the specified list-index.
static int LOWEST_AMONG
           
static int MANA_PAID
           
static int MAX
          To get the greater element from the two given values
static int MAXIMUM
          To get the maximum value of values within a list.
static int MIN
          To get the smaller element from the two given values
static int MINIMUM
          To get the minimum value of values within a list.
static int MINUS
           
static int MULT
          The multiplication
static int NEGATIVE
           
static int OBJECT_VALUE
           
static java.lang.String[] OPERATION_NAMES
          The operation names
static int[] OPERATION_VALUES
          The operation values
static int OR
          The binary or operation
static int POSITION
           
static int REF_VALUE
          The reference value.
static int REGISTER_ACCESS
          Indentify a couple : register name + index.
static int REMOVE
          The soustraction.
static int REMOVE_FIRST
          
For target-list : 'remove-first' operation remove the first target from the current list.
static int REMOVE_LAST
          
For target-list : 'remove-last' operation remove the last target from the current list.
static int REMOVE_QUEUE
          
For target-list : 'remove-queue' operation remove all targets but the first one from the current list.
static int REMOVE_TAIL
          
For target-list : 'remove-tail' operation remove all targets but the last one from the current list.
static int SAVE
          
For target-list : 'save' operation ajoute la liste de cibles courante dans la liste des listes de cibles sauvegardees.
static int SET
          The affectation
static int SIZE
          To get the size of a list.
static int STRING_METHOD
           
static int TARGET_LIST
           
static int TEST_ON
           
static int TO_CODE
           
static int TO_INDEX
           
static int XOR
          The xor operation
 

Field Detail

ADD

static final int ADD
The addition : To get the sum value of a list or add two values.

See Also:
Add, IntList, TargetList, Constant Field Values

MINUS

static final int MINUS
See Also:
IntList, TargetList, Remove, Constant Field Values

SET

static final int SET
The affectation

See Also:
Set, Constant Field Values

CLEAR

static final int CLEAR
The reset
For target-list : 'clear' operation clear the current target list. If 'list-index' is specified, the target list saved at this index is cleared.

See Also:
Clear, Constant Field Values

MULT

static final int MULT
The multiplication

See Also:
Mult, Constant Field Values

INT_VALUE

static final int INT_VALUE
added abstract operation to represent final value.
This value does not appear in the available operators.

See Also:
IntValue, Constant Field Values

AND

static final int AND
The binary and operation

See Also:
Add, Constant Field Values

OR

static final int OR
The binary or operation

See Also:
Or, Constant Field Values

REF_VALUE

static final int REF_VALUE
The reference value.
There is no associated Operation.

See Also:
ReferenceValue, Constant Field Values

BASE_REGISTER_INT_VALUE

static final int BASE_REGISTER_INT_VALUE
Indentify a couple : register name + index withoutusing register modifiers.
There is no associated Operation.

See Also:
BaseRegisterIntValue, Constant Field Values

XOR

static final int XOR
The xor operation

See Also:
Xor, Constant Field Values

DIV_TRUNCATED

static final int DIV_TRUNCATED
The truncated division

See Also:
DivTruncated, Constant Field Values

DIV_ROUNDED

static final int DIV_ROUNDED
The rounded division

See Also:
DivRounded, Constant Field Values

ADD_ROUNDED

static final int ADD_ROUNDED
The add the rounded division/2

See Also:
AddHalfRounded, Constant Field Values

ADD_TRUNCATED

static final int ADD_TRUNCATED
The truncated division/2

See Also:
AddHalfTruncated, Constant Field Values

COUNTER

static final int COUNTER
added abstract operation to represent final value. This value does not appear in the available operators.
There is no associated Operation.

See Also:
Counter, Constant Field Values

ANY

static final int ANY
This operation is only there to enable operation comparaison.

See Also:
Any, Constant Field Values

REMOVE_LAST

static final int REMOVE_LAST

For target-list : 'remove-last' operation remove the last target from the current list. If 'list-index' is specified, the last target is removed from target list saved at this index.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

REMOVE_FIRST

static final int REMOVE_FIRST

For target-list : 'remove-first' operation remove the first target from the current list. If 'list-index' is specified, the first target is removed from target list saved at this index.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

REMOVE_TAIL

static final int REMOVE_TAIL

For target-list : 'remove-tail' operation remove all targets but the last one from the current list. If 'list-index' is specified, all targets but the last are removed from target list saved at this index.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

REMOVE_QUEUE

static final int REMOVE_QUEUE

For target-list : 'remove-queue' operation remove all targets but the first one from the current list. If 'list-index' is specified, all targets but the first are removed from target list saved at this index.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

COLLAPSE_COMBAT

static final int COLLAPSE_COMBAT

For target-list : 'collapse-combat' operation is called to group natively defending/attacking card. Would be removed later. The 'list-index' is required.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
TargetList, Constant Field Values

SAVE

static final int SAVE

For target-list : 'save' operation ajoute la liste de cibles courante dans la liste des listes de cibles sauvegardees. Si 'index' et 'target' sont specifies, cette cible sera inseree a l'index specifie. Si 'list-index', 'target' et 'index' sont specifies, la cible est inseree a cet index dans la liste sauvegardee a 'list-index'.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

LOAD

static final int LOAD

For target-list : 'load' operation load a target list saved at the specified list-index.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

FILTER

static final int FILTER

For target-list :'filter' operation remove all targets making true the specified test. If 'list-index' is specified, this operation is applied on the saved list at 'list-index'.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

REGISTER_ACCESS

static final int REGISTER_ACCESS
Indentify a couple : register name + index.

See Also:
Constant Field Values

REMOVE

static final int REMOVE
The soustraction.
For target-list : 'remove' operation remove from the current target list, the one placed at the specified index. If a target is specified, it would be removed from the current list of target. If 'list-index' is specified this operation is applied on the list saved at this index. If 'list-index' is specified but neither 'index' neither 'target', the saved list at this index is removed from the saved lists.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

LAST_INDEX_OF

static final int LAST_INDEX_OF
To get the last index of an element.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

MINIMUM

static final int MINIMUM
To get the minimum value of values within a list.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

MAXIMUM

static final int MAXIMUM
To get the maximum value of values within a list.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

SIZE

static final int SIZE
To get the size of a list.
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

FIRST

static final int FIRST
To get the first element of a list
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

LAST

static final int LAST
To get the last element of a list
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

INT_LIST

static final int INT_LIST
See Also:
IntList, Constant Field Values

TARGET_LIST

static final int TARGET_LIST
See Also:
TargetList, Constant Field Values

INDEX_OF_SAVED_LIST

static final int INDEX_OF_SAVED_LIST
See Also:
IndexOfSavedList, Constant Field Values

INDEX_OF

static final int INDEX_OF
To get the first index of an element
There is no associated Operation, target-list and int-list use this operation as id only.

See Also:
IntList, TargetList, Constant Field Values

MIN

static final int MIN
To get the smaller element from the two given values

See Also:
Min, Constant Field Values

MAX

static final int MAX
To get the greater element from the two given values

See Also:
Max, Constant Field Values

IF_THEN_ELSE

static final int IF_THEN_ELSE
There is no associated Operation.

See Also:
IfThenElse, Constant Field Values

AND_NOT

static final int AND_NOT
See Also:
AndNot, Constant Field Values

POSITION

static final int POSITION
See Also:
Position, Constant Field Values

BIT_COUNT

static final int BIT_COUNT
See Also:
BitCount, Constant Field Values

CARD_COLORS

static final int CARD_COLORS
See Also:
CardColors, Constant Field Values

HIGHEST_AMONG

static final int HIGHEST_AMONG
See Also:
HighestAmong, Constant Field Values

LOWEST_AMONG

static final int LOWEST_AMONG
See Also:
LowestAmong, Constant Field Values

STRING_METHOD

static final int STRING_METHOD
See Also:
StringMethod, Constant Field Values

OBJECT_VALUE

static final int OBJECT_VALUE
See Also:
ObjectValue, Constant Field Values

CARD_TYPES

static final int CARD_TYPES
See Also:
CardTypes, Constant Field Values

MANA_PAID

static final int MANA_PAID
See Also:
Constant Field Values

ABSTRACT_VALUE

static final int ABSTRACT_VALUE
Indentify a couple : register name + index.

See Also:
Constant Field Values

TEST_ON

static final int TEST_ON
See Also:
Constant Field Values

TO_INDEX

static final int TO_INDEX
See Also:
Constant Field Values

TO_CODE

static final int TO_CODE
See Also:
Constant Field Values

NEGATIVE

static final int NEGATIVE
See Also:
Constant Field Values

DECREMENT

static final int DECREMENT
See Also:
Constant Field Values

INCREMENT

static final int INCREMENT
See Also:
Constant Field Values

DECK_COUNTER

static final int DECK_COUNTER
See Also:
Constant Field Values

OPERATION_NAMES

static final java.lang.String[] OPERATION_NAMES
The operation names


OPERATION_VALUES

static final int[] OPERATION_VALUES
The operation values



Copyright © 2003-2007 Magic-Project. All Rights Reserved.