de.tudarmstadt.ukp.clarin.webanno.model.Project.equals()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(127)

本文整理了Java中de.tudarmstadt.ukp.clarin.webanno.model.Project.equals()方法的一些代码示例,展示了Project.equals()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.equals()方法的具体详情如下:
包路径:de.tudarmstadt.ukp.clarin.webanno.model.Project
类名称:Project
方法名:equals

Project.equals介绍

暂无

代码示例

代码示例来源:origin: inception-project/inception

@Override
public boolean equals(Object o)
{
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  Index that = (Index) o;
  if (invalid != that.invalid) {
    return false;
  }
  return project != null ? project.equals(that.project) : that.project == null;
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-search-core

@Override
public boolean equals(Object o)
{
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  Index that = (Index) o;
  if (invalid != that.invalid) {
    return false;
  }
  return project != null ? project.equals(that.project) : that.project == null;
}

代码示例来源:origin: inception-project/inception

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  Task task = (Task) o;
  return user.equals(task.user) && project.equals(task.project);
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-scheduling

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  Task task = (Task) o;
  return user.equals(task.user) && project.equals(task.project);
}

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: webanno/webanno

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: webanno/webanno

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-search-core

public boolean isIndexInProgress(Project aProject)
{
  Validate.notNull(aProject, "Project cannot be null");
  
  return queue.stream().anyMatch(task -> aProject.equals(task.getProject())) ||
      consumer.getActiveTask().map(t -> aProject.equals(t.getProject())).orElse(false);
}

代码示例来源:origin: inception-project/inception

public boolean isIndexInProgress(Project aProject)
{
  Validate.notNull(aProject, "Project cannot be null");
  
  return queue.stream().anyMatch(task -> aProject.equals(task.getProject())) ||
      consumer.getActiveTask().map(t -> aProject.equals(t.getProject())).orElse(false);
}

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: webanno/webanno

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-search-core

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: webanno/webanno

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-model

else if (!project.equals(other.project)) {
  return false;

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

alStateModel.getObject().isSessionActive() && 
    eventState.getUser().equals(annotatorState.getUser()) && 
    eventState.getProject().equals(annotatorState.getProject())
) {
  SourceDocument document = eventState.getDocument();

代码示例来源:origin: inception-project/inception

alStateModel.getObject().isSessionActive() && 
    eventState.getUser().equals(annotatorState.getUser()) && 
    eventState.getProject().equals(annotatorState.getProject())
) {
  SourceDocument document = eventState.getDocument();

相关文章