uk.org.retep.annotations.WriteLock类的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(168)

本文整理了Java中uk.org.retep.annotations.WriteLock类的一些代码示例,展示了WriteLock类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WriteLock类的具体详情如下:
包路径:uk.org.retep.annotations.WriteLock
类名称: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 );
}

相关文章

WriteLock类方法