mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[docs] Add wpiunits to JavaDocs (#5793)
Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com>
This commit is contained in:
@@ -7,6 +7,7 @@ package edu.wpi.first.units.collections;
|
||||
import java.util.Arrays;
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Set;
|
||||
import java.util.stream.LongStream;
|
||||
|
||||
/** A read-only set of unique primitive {@code long} values. */
|
||||
@@ -87,7 +88,12 @@ public class ReadOnlyPrimitiveLongSet implements Iterable<Long> {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
/** Creates a stream of primitive long values for the set. */
|
||||
/**
|
||||
* Creates a stream of primitive long values for the set.
|
||||
*
|
||||
* @return a sequential Stream over the elements in this collection
|
||||
* @see Set#stream()
|
||||
*/
|
||||
public LongStream stream() {
|
||||
return Arrays.stream(m_values);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user