Example usage for android.database DataSetObserver hashCode

List of usage examples for android.database DataSetObserver hashCode

Introduction

In this page you can find the example usage for android.database DataSetObserver hashCode.

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:com.fuzz.emptyhusk.looping.LoopingStateProxy.java

@Override
public void disassociateFrom(DataSetObserver observer) {
    Runnable removed = callbacks.remove(observer.hashCode());
    preferredMailThread.stopPosting(removed);
}

From source file:com.fuzz.emptyhusk.looping.LoopingStateProxy.java

@Override
public void associateWith(DataSetObserver observer) {
    Runnable runnable = new LoopingRunnable(observer);
    callbacks.put(observer.hashCode(), runnable);
    preferredMailThread.repost(runnable, DELAY_MILLIS);
}