public boolean isEmpty(){ synchronized( mutex ) { return m.isEmpty(); } } public boolean containsKey( int key ) {
public boolean isEmpty() { return m.isEmpty(); } public boolean containsKey( int key ) { return m.containsKey( key ); }
private synchronized boolean isReadLockHeld() { return readLockHolders != null && !readLockHolders.isEmpty(); }
@Override public boolean isEmpty(){ synchronized( mutex ) { return m.isEmpty(); } } @Override
public boolean isEmpty(){ synchronized( mutex ) { return m.isEmpty(); } } public boolean containsKey( int key ) {
public boolean isEmpty() { return m.isEmpty(); } public boolean containsKey( int key ) { return m.containsKey( key ); }
public boolean isEmpty(){ synchronized( mutex ) { return m.isEmpty(); } } public boolean containsKey( int key ) {
public boolean isEmpty(){ synchronized( mutex ) { return m.isEmpty(); } } public boolean containsKey( int key ) {
@Override public boolean isEmpty() { return m.isEmpty(); } @Override
public boolean isEmpty() { return m.isEmpty(); } public boolean containsKey( int key ) { return m.containsKey( key ); }
public boolean isEmpty() { return m.isEmpty(); } public boolean containsKey( int key ) { return m.containsKey( key ); }
if(assigned.isEmpty()) { return ItemStack.EMPTY;
if (accessTimes.isEmpty()) { LOG.info("Skipping transit search since no transit stops were reached."); for (int target = 0; target < nonTransitTravelTimesToDestinations.length; target++) {
if (accessTimes.isEmpty()) { LOG.info("Skipping transit search since no transit stops were reached."); for (int target = 0; target < nonTransitTravelTimesToDestinations.length; target++) {
if (s1.turnRestrictions != null && s1.turnRestrictions.isEmpty()) s1.turnRestrictions = null;
if (s1.turnRestrictions != null && s1.turnRestrictions.isEmpty()) s1.turnRestrictions = null;