public class Labels extends Object
| Constructor and Description |
|---|
Labels(int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
forEach(BiConsumer<String,String> fn) |
void |
pop(String label)
Removes the last pushed label-value pair.
|
void |
push(String label,
String value) |
int |
size() |
Map<String,String> |
toMapIfNotEmpty() |
public void pop(String label)
label - This must be the same label as given to the corresponding push().public void forEach(BiConsumer<String,String> fn)
public int size()
public void clear()
Copyright © 2021. All rights reserved.