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

org.sirix.index.path.PCRValue Maven / Gradle / Ivy

package org.sirix.index.path;

import java.util.Collections;
import java.util.Set;

public class PCRValue {
  private final long mMaxPCR;

  private final Set mPCRs;

  private PCRValue(final long maxPCR, final Set pcrs) {
    mMaxPCR = maxPCR;
    mPCRs = pcrs;
  }

  public static final PCRValue getInstance(final long maxPCR, final Set pcrs) {
    return new PCRValue(maxPCR, pcrs);
  }

  public static final PCRValue getEmptyInstance() {
    return new PCRValue(0, Collections.emptySet());
  }

  public long getMaxPCR() {
    return mMaxPCR;
  }

  public Set getPCRs() {
    return mPCRs;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy