Searched refs:seen (Results 1 – 2 of 2) sorted by relevance
160 Set<T> seen; in makeRef()164 seen = new HashSet<>(); in makeRef()170 seen = null; in makeRef()176 if (!seen.contains(t)) { in makeRef()177 seen.add(t); in makeRef()
1248 private final ConcurrentHashMap<T, Boolean> seen; field in StreamSpliterators.AbstractWrappingSpliterator.DistinctSpliterator1257 private DistinctSpliterator(Spliterator<T> s, ConcurrentHashMap<T, Boolean> seen) { in DistinctSpliterator() argument1259 this.seen = seen; in DistinctSpliterator()1275 if (seen.putIfAbsent(mapNull(tmpSlot), Boolean.TRUE) == null) { in tryAdvance()1287 if (seen.putIfAbsent(mapNull(t), Boolean.TRUE) == null) { in forEachRemaining()1296 return (split != null) ? new DistinctSpliterator<>(split, seen) : null; in trySplit()