ShardMap.tryGetShard(ShardLocation location, ReferenceObjectHelper<Shard> shard) Method

Definition

Tries to obtains the shard for the specified location.

public final boolean tryGetShard(ShardLocation location, ReferenceObjectHelper<Shard> shard)

Parameters

location
ShardLocation

Location of the shard.

shard
ReferenceObjectHelper<Shard>

Shard which has the specified location.

Returns

final boolean

true if shard with specified location is found, false otherwise.

Applies to