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

com.browseengine.bobo.facets.data.PrimitiveLongArrayWrapper Maven / Gradle / Ivy

Go to download

Bobo is a Faceted Search implementation written purely in Java, an extension of Apache Lucene

The newest version!
package com.browseengine.bobo.facets.data;

import java.util.Arrays;

public class PrimitiveLongArrayWrapper {
  public long[] data;

  public PrimitiveLongArrayWrapper(long[] data) {
    this.data = data;
  }

  @Override
  public boolean equals(Object other) {
    if (other instanceof PrimitiveLongArrayWrapper) {
      return Arrays.equals(data, ((PrimitiveLongArrayWrapper) other).data);
    }
    return false;
  }

  @Override
  public int hashCode() {
    return Arrays.hashCode(data);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy