org.carrot2.util.attribute.constraint
Annotation Type IntModulo


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface IntModulo

Requires that the integer attribute value meets the condition: attributeValue % modulo() == offset().


Required Element Summary
 int modulo
          Modulo value.
 
Optional Element Summary
 int offset
          Offset value.
 

Element Detail

modulo

public abstract int modulo
Modulo value.

offset

public abstract int offset
Offset value.

Default:
0


Copyright (c) Dawid Weiss, Stanislaw Osinski