/** {@inheritDoc} */ public boolean removeAll( short[] array ) { boolean changed = false; for ( int i = array.length; i-- > 0; ) { if ( remove(array[i]) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( Collection<?> collection ) { boolean changed = false; for ( Object element : collection ) { if ( element instanceof Short ) { short c = ( ( Short ) element ).shortValue(); if ( remove( c ) ) { changed = true; } } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( TShortCollection collection ) { boolean changed = false; TShortIterator iter = collection.iterator(); while ( iter.hasNext() ) { short element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }
if (overriddenTags != null) { for (OSMTag osmTag : overriddenTags) { tmp.remove(osmTag.getId());
if (overriddenTags != null) { for (OSMTag osmTag : overriddenTags) { tmp.remove(osmTag.getId());
/** {@inheritDoc} */ public boolean removeAll( short[] array ) { boolean changed = false; for ( int i = array.length; i-- > 0; ) { if ( remove(array[i]) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( short[] array ) { boolean changed = false; for ( int i = array.length; i-- > 0; ) { if ( remove(array[i]) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ @Override public boolean removeAll( short[] array ) { boolean changed = false; for ( int i = array.length; i-- > 0; ) { if ( remove(array[i]) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( short[] array ) { boolean changed = false; for ( int i = array.length; i-- > 0; ) { if ( remove(array[i]) ) { changed = true; } } return changed; }
public BroadcastEntry(Message message, TShortHashSet nodes) { this.message = message; this.nodes = nodes; this.nodes.remove(Comm.SERVER); // NOT TO SERVER LOG.debug("Awaiting ACKS for message {} from nodes {}", message, this.nodes); }
/** {@inheritDoc} */ public boolean removeAll( Collection<?> collection ) { boolean changed = false; for ( Object element : collection ) { if ( element instanceof Short ) { short c = ( ( Short ) element ).shortValue(); if ( remove( c ) ) { changed = true; } } } return changed; }
/** {@inheritDoc} */ @Override public boolean removeAll( Collection<?> collection ) { boolean changed = false; for ( Object element : collection ) { if ( element instanceof Short ) { short c = ( ( Short ) element ).shortValue(); if ( remove( c ) ) { changed = true; } } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( Collection<?> collection ) { boolean changed = false; for ( Object element : collection ) { if ( element instanceof Short ) { short c = ( ( Short ) element ).shortValue(); if ( remove( c ) ) { changed = true; } } } return changed; }
public BroadcastEntry(LineMessage message, Set<Short> nodes) { this.message = message; this.nodes = new TShortHashSet(nodes); this.nodes.remove(Comm.SERVER); // NOT TO SERVER LOG.debug("Awaiting ACKS for message {} from nodes {}", message, this.nodes); }
public synchronized boolean removeNode(short node) { nodes.remove(node); return nodes.isEmpty(); } }
public synchronized boolean removeNode(short node) { nodes.remove(node); return nodes.isEmpty(); } }
/** {@inheritDoc} */ public boolean removeAll( TShortCollection collection ) { boolean changed = false; TShortIterator iter = collection.iterator(); while ( iter.hasNext() ) { short element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( TShortCollection collection ) { boolean changed = false; TShortIterator iter = collection.iterator(); while ( iter.hasNext() ) { short element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( TShortCollection collection ) { boolean changed = false; TShortIterator iter = collection.iterator(); while ( iter.hasNext() ) { short element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ @Override public boolean removeAll( TShortCollection collection ) { boolean changed = false; TShortIterator iter = collection.iterator(); while ( iter.hasNext() ) { short element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }