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

com.etsy.conjecture.data.InstanceInterface Maven / Gradle / Ivy

There is a newer version: 0.2.3
Show newest version
package com.etsy.conjecture.data;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface InstanceInterface> {

    public abstract String getId();

    public abstract T setId(String id);

    public abstract T addTerm(String term);

    public abstract T addTerm(String term, double featureWeight);

    public abstract T addTermWithNamespace(String term, String namespace);

    public abstract T addTermWithNamespace(String term, String namespace,
            double featureWeight);

    public abstract T addTerms(Collection terms, double featureWeight);

    public abstract T addTerms(Collection terms);

    public abstract T addTermsWithNamespace(Collection terms,
            String namespace, double featureWeight);

    public abstract T addTermsWithNamespace(Collection terms,
            String namespace);

    public abstract T addTerms(String[] terms, double featureWeight);

    public abstract T addTerms(String[] terms);

    public abstract T addTermsWithNamespace(String[] terms, String namespace,
            double featureWeight);

    public abstract T addTermsWithNamespace(String[] terms, String namespace);

    public abstract T addTermsWithWeights(Map termsWithWeights);

    public abstract T addTermsWithWeightsWithNamespace(
            Map termsWithWeights, String namespace);

    public abstract T addNumericArrayWithNamespace(double[] array,
            String namespace);

    public abstract T addNumericArray(double[] array);

    public abstract T addNumericArrayWithNamespace(Double[] array,
            String namespace);

    public abstract T addNumericArray(Double[] array);

    public abstract T addNumericArrayWithNamespace(List values,
            String namespace);

    public abstract T addNumericArray(List values);

    public abstract T setNumericArrayWithNamespace(double[] array,
            String namespace);

    public abstract T setNumericArray(double[] array);

    public abstract T setNumericArrayWithNamespace(Double[] array,
            String namespace);

    public abstract T setNumericArray(Double[] array);

    public abstract T setNumericArrayWithNamespace(List values,
            String namespace);

    public abstract T setNumericArray(List values);

    public abstract T addIdField(long id, double featureWeight);

    public abstract T addIdField(long id);

    public abstract T addIdFieldWithNamespace(long id, double featureWeight,
            String namespace);

    public abstract T addIdFieldWithNamespace(long id, String namespace);

    public abstract T addIdField(int id, double featureWeight);

    public abstract T addIdField(int id);

    public abstract T addIdFieldWithNamespace(int id, double featureWeight,
            String namespace);

    public abstract T addIdFieldWithNamespace(int id, String namespace);

    public abstract T addIds(long[] ids, double featureWeight);

    public abstract T addIds(long[] ids);

    public abstract T addIds(int[] ids, double featureWeight);

    public abstract T addIds(int[] ids);

    public abstract T addIds(Collection ids, double featureWeight);

    public abstract T addIds(Collection ids);

    public abstract T addIdsWithNamespace(long[] ids, double featureWeight,
            String namespace);

    public abstract T addIdsWithNamespace(long[] ids, String namespace);

    public abstract T addIdsWithNamespace(int[] ids, double featureWeight,
            String namespace);

    public abstract T addIdsWithNamespace(int[] ids, String namespace);

    public abstract T addIdsWithNamespace(Collection ids,
            double featureWeight, String namespace);

    public abstract T addIdsWithNamespace(Collection ids, String namespace);

    public abstract T setIdField(long id, double featureWeight);

    public abstract T setIdField(long id);

    public abstract T setIdFieldWithNamespace(long id, double featureWeight,
            String namespace);

    public abstract T setIdFieldWithNamespace(long id, String namespace);

    public abstract T setIdField(int id, double featureWeight);

    public abstract T setIdField(int id);

    public abstract T setIdFieldWithNamespace(int id, double featureWeight,
            String namespace);

    public abstract T setIdFieldWithNamespace(int id, String namespace);

    public abstract T setIds(long[] ids, double featureWeight);

    public abstract T setIds(long[] ids);

    public abstract T setIds(int[] ids, double featureWeight);

    public abstract T setIds(int[] ids);

    public abstract T setIds(Collection ids, double featureWeight);

    public abstract T setIds(Collection ids);

    public abstract T setIdsWithNamespace(long[] ids, double featureWeight,
            String namespace);

    public abstract T setIdsWithNamespace(long[] ids, String namespace);

    public abstract T setIdsWithNamespace(int[] ids, double featureWeight,
            String namespace);

    public abstract T setIdsWithNamespace(int[] ids, String namespace);

    public abstract T setIdsWithNamespace(Collection ids,
            double featureWeight, String namespace);

    public abstract T setIdsWithNamespace(Collection ids, String namespace);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy