GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `PValueResult` is not exported · Issue #233 · scijava/scijava

PValueResult is not exported #233

New issue
Copy link
New issue
Copy link
Open
Open
PValueResult is not exported#233
Copy link

Description

@ctrueden
ctrueden
opened on May 31, 2024
Issue body actions

The DefaultPValue op returns a PValueResult object, which is a struct consisting of Double pValue, Double colocValue, double[] colocValuesArray. The class has no fancy logic, it's just a data container. Unfortunately, the PValueResult class is part of scijava-ops-image, which does not export any packages, so callers cannot actually consume this output to see the results of their coloc.pValue Op executions.

To fix this, we could introduce a very general Triple<A, B, C> interface to scijava-common3 and have scijava-ops-image's DefaultPValue op return Triple<Double, Double, double[]> instead of a PValueResult. More type-safe would be a public record PValueResult (Double pValue, Double colocValue, double[] colocValuesArray), but it would still need to live in an exported package... somewhere...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.