From b51a6e3be6769544956c8f9253d4fd82d5a6dddf Mon Sep 17 00:00:00 2001 From: Djokovic0311 <55948986+Djokovic0311@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:03:34 -0400 Subject: [PATCH] Update GenericAssayEnrichment.java --- .../org/cbioportal/model/GenericAssayEnrichment.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/model/src/main/java/org/cbioportal/model/GenericAssayEnrichment.java b/model/src/main/java/org/cbioportal/model/GenericAssayEnrichment.java index 074aa8926d9..02491c2221b 100644 --- a/model/src/main/java/org/cbioportal/model/GenericAssayEnrichment.java +++ b/model/src/main/java/org/cbioportal/model/GenericAssayEnrichment.java @@ -40,10 +40,7 @@ public HashMap getGenericEntityMetaProperties() { public void setGenericEntityMetaProperties(HashMap genericEntityMetaProperties) { this.genericEntityMetaProperties = genericEntityMetaProperties; } - - public static int compare(GenericAssayEnrichment c1, GenericAssayEnrichment c2) { - return c1.getpValue().compareTo(c2.getpValue()); - } + public BigDecimal getqValue() { return qValue; } @@ -51,4 +48,8 @@ public BigDecimal getqValue() { public void setqValue(BigDecimal qValue) { this.qValue = qValue; } + + public static int compare(GenericAssayEnrichment c1, GenericAssayEnrichment c2) { + return c1.getpValue().compareTo(c2.getpValue()); + } }