|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl3.internal.SetBuilder
public class SetBuilder
Helper class to create set literals.
| Field Summary | |
|---|---|
protected Set<Object> |
set
The set being created. |
| Constructor Summary | |
|---|---|
SetBuilder(int size)
Creates a new builder. |
|
| Method Summary | |
|---|---|
void |
add(Object value)
Adds a literal to the set. |
Object |
create()
Creates the actual "set" instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Set<Object> set
| Constructor Detail |
|---|
public SetBuilder(int size)
size - the expected set size| Method Detail |
|---|
public void add(Object value)
JexlArithmetic.SetBuilder
add in interface JexlArithmetic.SetBuildervalue - the item to addpublic Object create()
JexlArithmetic.SetBuilder
create in interface JexlArithmetic.SetBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||