Example usage for android.support.v4.util Preconditions checkArgument

List of usage examples for android.support.v4.util Preconditions checkArgument

Introduction

In this page you can find the example usage for android.support.v4.util Preconditions checkArgument.

Prototype

public static void checkArgument(boolean expression) 

Source Link

Usage

From source file:android.support.wear.widget.util.ArcSwipe.java

public ArcSwipe(Gesture gesture, RectF bounds) {
    Preconditions.checkArgument(bounds.height() == bounds.width());
    mGesture = gesture;
    mBounds = bounds;
}