You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2020/06/01 00:39:58 UTC

[incubator-datasketches-java] branch Tuple_Theta_Extension updated: make inner-class test methods package private

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch Tuple_Theta_Extension
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git


The following commit(s) were added to refs/heads/Tuple_Theta_Extension by this push:
     new ca8a3ab  make inner-class test methods package private
ca8a3ab is described below

commit ca8a3ab9433ccad063bac6e9ce7002ecfdd08ff7
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Sun May 31 17:39:41 2020 -0700

    make inner-class test methods package private
---
 src/main/java/org/apache/datasketches/tuple/Intersection.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/datasketches/tuple/Intersection.java b/src/main/java/org/apache/datasketches/tuple/Intersection.java
index 0578f08..6a27319 100644
--- a/src/main/java/org/apache/datasketches/tuple/Intersection.java
+++ b/src/main/java/org/apache/datasketches/tuple/Intersection.java
@@ -247,7 +247,7 @@ public class Intersection<S extends Summary> {
 
     HashTables() { }
 
-    public void fromSketch(final Sketch<S> sketch) {
+    void fromSketch(final Sketch<S> sketch) {
       count_ = sketch.getRetainedEntries();
       lgTableSize_ = getLgTableSize(count_);
       S mySummary = null;
@@ -266,7 +266,7 @@ public class Intersection<S extends Summary> {
       }
     }
 
-    public void fromSketch(final org.apache.datasketches.theta.Sketch sketch, final S summary) {
+    void fromSketch(final org.apache.datasketches.theta.Sketch sketch, final S summary) {
       count_ = sketch.getRetainedEntries();
       lgTableSize_ = getLgTableSize(count_);
       S mySummary = null;
@@ -286,7 +286,7 @@ public class Intersection<S extends Summary> {
     }
 
 
-    public void fromArrays(final long[] keys, final S[] summaries, final int count) {
+    void fromArrays(final long[] keys, final S[] summaries, final int count) {
       count_ = count;
       lgTableSize_ = getLgTableSize(count);
 
@@ -305,7 +305,7 @@ public class Intersection<S extends Summary> {
       }
     }
 
-    public void clear() {
+    void clear() {
       keys_ = null;
       summaries_ = null;
       lgTableSize_ = 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org