You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/12/05 21:02:11 UTC
svn commit: r1772806 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java
Author: schor
Date: Mon Dec 5 21:02:11 2016
New Revision: 1772806
URL: http://svn.apache.org/viewvc?rev=1772806&view=rev
Log:
no jira javadoc fixes
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java?rev=1772806&r1=1772805&r2=1772806&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/cas/FSHashSet.java Mon Dec 5 21:02:11 2016
@@ -261,10 +261,10 @@ public final class FSHashSet <T extends
}
/**
- * Removes all elements matching c
+ * Removes all elements matching c.
*
* @param c the elements to remove
- * @return true, if set changed
+ * @return true, if set changed
* @see java.util.AbstractSet#removeAll(java.util.Collection)
*/
public boolean removeAll(Collection<?> c) {
@@ -277,9 +277,9 @@ public final class FSHashSet <T extends
/**
* To array.
*
- * @param <T> the generic type
+ * @param <N> the generic type
* @param a the a
- * @return the T[]
+ * @return the N[]
* @see java.util.AbstractCollection#toArray(T[])
*/
public <N> N[] toArray(N[] a) {
@@ -343,7 +343,7 @@ public final class FSHashSet <T extends
}
/**
- * Adds the element to the set
+ * Adds the element to the set.
*
* @param e the element to add
* @return true, if the set didn't already contain this element
@@ -357,7 +357,7 @@ public final class FSHashSet <T extends
}
/**
- * Removes the element
+ * Removes the element.
*
* @param o the o
* @return true, if the set contained the element
@@ -395,7 +395,7 @@ public final class FSHashSet <T extends
}
/**
- * Adds all the elements
+ * Adds all the elements .
*
* @param c the c
* @return true, if set changed
@@ -444,6 +444,13 @@ public final class FSHashSet <T extends
+ ", fsHashSet=" + (fsHashSet != null ? toString(fsHashSet, maxLen) : null) + "]";
}
+ /**
+ * To string.
+ *
+ * @param collection the collection
+ * @param maxLen the max len
+ * @return the string
+ */
private String toString(Collection<?> collection, int maxLen) {
StringBuilder builder = new StringBuilder();
builder.append("[");