@Beta public class Uniquefy extends Object
| Modifier and Type | Field and Description |
|---|---|
static Uniquefy |
NO_OP
a Uniquefy that doesn't do anything; useful to avoid if (uniquefy != null) checks in code
|
| Constructor and Description |
|---|
Uniquefy()
Create a new string pool.
|
| Modifier and Type | Method and Description |
|---|---|
String |
unique(String value)
Look to see if the given value is already in the given string pool.
|
String[] |
unique(String[] values)
unique all of the values in the array
|
public static final Uniquefy NO_OP
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.