Android APIs
public abstract @interface

IntRange

implements Annotation
android.support.annotation.IntRange

Class Overview

Denotes that the annotated element should be an int or long in the given range

Example:

@IntRange(from=0,to=255)
  public int getAlpha() {
      ...
  
 }

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation