Example usage for org.apache.commons.vfs FileObject hashCode

List of usage examples for org.apache.commons.vfs FileObject hashCode

Introduction

In this page you can find the example usage for org.apache.commons.vfs FileObject hashCode.

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:com.thinkberg.moxo.dav.lock.Lock.java

public Lock(FileObject object, String type, String scope, Object owner, int depth, long timeout) {
    this.object = object;
    this.type = type;
    this.scope = scope;
    this.owner = owner;
    this.depth = depth;
    this.timeout = timeout;

    this.token = "opaquelocktoken:" + Integer.toHexString(object.hashCode());
}