| Package | Description |
|---|---|
| org.atlasapi.util |
| Modifier and Type | Method and Description |
|---|---|
static <U> GroupLock<U> |
GroupLock.fromComparator(Comparator<? super U> comparator)
Creates a new lock which uses the ordering of the provided comparator to
determine the order in which locks on the value are acquired.
|
static <C extends Comparable<? super C>> |
GroupLock.natural()
Creates a new lock which uses the natural ordering of the value type to
determine the order in which locks on the value are acquired.
|
Copyright © 2014. All rights reserved.