本文整理了Java中uk.org.retep.annotations.WriteLock
类的一些代码示例,展示了WriteLock
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WriteLock
类的具体详情如下:
包路径:uk.org.retep.annotations.WriteLock
类名称:WriteLock
暂无
代码示例来源:origin: uk.org.retep.xmpp.server/multiUserChat
/**
* {@inheritDoc}
*/
@WriteLock
@Override
public void setRole( final Role role )
{
this.role = role == null ? Role.NONE : role;
}
代码示例来源:origin: uk.org.retep.xmpp.server/multiUserChat
@WriteLock
public void setJid( final JID jid )
{
this.jid = jid;
}
代码示例来源:origin: uk.org.retep.xmpp.server/multiUserChat
@WriteLock
@Override
public void setMaxRoomsReturned( final int maxRoomsReturned )
{
this.maxRoomsReturned = maxRoomsReturned;
}
}
代码示例来源:origin: uk.org.retep.xmpp.server/multiUserChat
/**
* {@inheritDoc}
*/
@WriteLock
@Override
public void setAffiliation( final Affiliation affiliation )
{
this.affiliation = affiliation == null ? Affiliation.NONE : affiliation;
}
代码示例来源:origin: uk.org.retep.xmpp.server/multiUserChat
/**
* {@inheritDoc}
*/
@WriteLock
@Override
public void setNickname( final String nickname )
{
this.nickname = nickname;
}
代码示例来源:origin: uk.org.retep.tools/xml
@WriteLock
public void setTriggerRootNode( boolean triggerRootNode )
{
this.triggerRootNode = triggerRootNode;
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public boolean remove( final Object o )
{
return deque.remove( o );
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public E removeFirst()
{
return deque.removeFirst();
}
代码示例来源:origin: uk.org.retep.tools/collections
/**
* {@inheritDoc}
*/
@Override
@WriteLock
public void clear()
{
set.clear();
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public void remove()
{
it.remove();
}
};
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public boolean removeAll( final Collection<?> c )
{
return list.removeAll( c );
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public boolean offer( final E e )
{
return queue.offer( e );
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public E poll()
{
return queue.poll();
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public E remove()
{
return queue.remove();
}
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public void remove()
{
it.remove();
}
};
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public E pollFirst()
{
return deque.pollFirst();
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public E pop()
{
return deque.pop();
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public void push( E e )
{
deque.push( e );
}
代码示例来源:origin: uk.org.retep.tools/collections
@Override
@WriteLock
public void remove()
{
it.remove();
}
};
代码示例来源:origin: uk.org.retep.tools/collections
/**
* {@inheritDoc}
*/
@Override
@WriteLock
public boolean retainAll( Collection<?> c )
{
return set.retainAll( c );
}
内容来源于网络,如有侵权,请联系作者删除!