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

ai.stapi.graphoperations.graphLanguage.graphDescription.graphDescriptionBuilder.specificDescriptionBuilders.positive.NullSpecificDescriptionBuilder Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package ai.stapi.graphoperations.graphLanguage.graphDescription.graphDescriptionBuilder.specificDescriptionBuilders.positive;

import ai.stapi.graphoperations.graphLanguage.graphDescription.GraphDescription;
import ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.NullGraphDescription;
import java.util.List;

public class NullSpecificDescriptionBuilder extends AbstractPositiveDescriptionBuilder {

  @Override
  public NullGraphDescription build() {
    return new NullGraphDescription();
  }

  @Override
  public boolean represents(GraphDescription graphDescription) {
    return graphDescription instanceof NullGraphDescription;
  }

  @Override
  public NullSpecificDescriptionBuilder setValues(GraphDescription graphDescription) {
    return new NullSpecificDescriptionBuilder();
  }

  @Override
  public NullGraphDescription copyWithNewChildren(
      GraphDescription graphDescription,
      List newChildren
  ) {
    return new NullGraphDescription();
  }

  @Override
  public NullSpecificDescriptionBuilder getCopy() {
    return new NullSpecificDescriptionBuilder();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy