Top Fields Constructors Methods
org.hibernate.internal.util.collections

public Class LazySet<T>

extends Object
Class Inheritance
Imports
java.util.Collections, .HashSet, .Set, java.util.function.Consumer, .Supplier

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Set<T>
private final Supplier<Set<T>>

Constructor Summary

AccessConstructor and Description
public
public
LazySet(Supplier<Set<T>> setBuilder)

Method Summary

Modifier and TypeMethod and Description
public void
add(T element)

public void
forEach(Consumer<T> action)

public Set<T>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

setback to summary
private Set<T> set
setBuilderback to summary
private final Supplier<Set<T>> setBuilder

Constructor Detail

LazySetback to summary
public LazySet()
LazySetback to summary
public LazySet(Supplier<Set<T>> setBuilder)

Method Detail

addback to summary
public void add(T element)
forEachback to summary
public void forEach(Consumer<T> action)
getUnderlyingSetback to summary
public Set<T> getUnderlyingSet()