Top Fields Constructors Methods
com.sun.star.lib.uno.environments.remote

public final Class ThreadId

extends Object
Class Inheritance
Imports
java.io.UnsupportedEncodingException, java.util.Arrays, java.util.concurrent.atomic.AtomicLong, com.sun.star.uno.UnoRuntime

Field Summary

Modifier and TypeField and Description
private static final AtomicLong
private int
private final byte[]
private static final String

Constructor Summary

AccessConstructor and Description
public
ThreadId(byte[] id)

Method Summary

Modifier and TypeMethod and Description
public static ThreadId
public boolean

Returns:

true if this object is the same as the obj argument; false otherwise.
equals
(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Indicates whether some other object is equal to this one.

public byte[]
public int

Returns:

a hash code value for this object.
hashCode
()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.

public String

Returns:

a string representation of the object.
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

countback to summary
private static final AtomicLong count
hashback to summary
private int hash
idback to summary
private final byte[] id
PREFIXback to summary
private static final String PREFIX

Constructor Detail

ThreadIdback to summary
public ThreadId(byte[] id)

Method Detail

createFreshback to summary
public static ThreadId createFresh()
equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Indicates whether some other object is equal to this one.

Parameters
obj:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
See Also
java.lang.Object#equals
getBytesback to summary
public byte[] getBytes()
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.

Returns:int

a hash code value for this object.

Annotations
@Override
See Also
java.lang.Object#hashCode
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
See Also
java.lang.Object#toString