Skip to content

Commit

Permalink
Test jvm default methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelCourtney committed Oct 10, 2024
1 parent 18c4cce commit 7526fe0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package gov.nasa.ammos.aerie.procedural.constraints;

import gov.nasa.ammos.aerie.procedural.timeline.Interval;
import gov.nasa.ammos.aerie.procedural.timeline.collections.Directives;
import gov.nasa.ammos.aerie.procedural.timeline.plan.Plan;
import gov.nasa.jpl.aerie.merlin.protocol.types.Duration;
import gov.nasa.jpl.aerie.merlin.protocol.types.SerializedValue;
import kotlin.NotImplementedError;
import kotlin.jvm.functions.Function1;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.time.Instant;

public class NotImplementedPlan implements Plan {
@NotNull
@Override
public Interval totalBounds() {
throw new NotImplementedError();
}

@NotNull
@Override
public Duration toRelative(@NotNull final Instant abs) {
throw new NotImplementedError();
}

@NotNull
@Override
public Instant toAbsolute(@NotNull final Duration rel) {
throw new NotImplementedError();
}

@NotNull
@Override
public <A> Directives<A> directives(
@Nullable final String type,
@NotNull final Function1<? super SerializedValue, ? extends A> deserializer)
{
throw new NotImplementedError();
}
}

This file was deleted.

0 comments on commit 7526fe0

Please sign in to comment.