All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sourcegraph.scip_semanticdb.ResultIds Maven / Gradle / Ivy

There is a newer version: 0.10.3
Show newest version
package com.sourcegraph.scip_semanticdb;

/** Utility to deal with a group of IDs for a result set, definition result and reference result. */
public class ResultIds {
  public final int resultSet;
  public final int definitionResult;
  public final int referenceResult;

  public ResultIds(int resultSet, int definitionResult, int referenceResult) {
    this.resultSet = resultSet;
    this.definitionResult = definitionResult;
    this.referenceResult = referenceResult;
  }

  public boolean isDefinitionDefined() {
    return definitionResult > 0;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy