LayerHashCalculator

Inheritance: java.lang.Object

public class LayerHashCalculator

Hash Calculator for PSD Layers. It can be used to found equals or different layers in different PSD files

Constructors

ConstructorDescription
LayerHashCalculator(Layer layer)Initializes a new instance of the LayerHashCalculator class.

Methods

MethodDescription
equals(Object arg0)
getBlendingHash()Gets the blending hash.
getChannelsHash()Gets the channels hash.
getClass()
getContentHash()Gets the content hash.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LayerHashCalculator(Layer layer)

public LayerHashCalculator(Layer layer)

Initializes a new instance of the LayerHashCalculator class.

Parameters:

ParameterTypeDescription
layerLayerThe layer.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBlendingHash()

public final int getBlendingHash()

Gets the blending hash.

Returns: int - Unique hash for Layer Blending Options

getChannelsHash()

public final int getChannelsHash()

Gets the channels hash.

Returns: int - Hash of all layer channels

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getContentHash()

public final int getContentHash()

Gets the content hash.

Returns: int - The hash of the significant parameters of layers. This hash is different for all types of layers

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int