@Immutable public static final class ImmutableTrees.Unit extends Object implements Trees.Unit
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTrees.Unit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableTrees.Unit.Builder |
builder() |
static ImmutableTrees.Unit |
copyOf(Trees.Unit instance) |
boolean |
equals(Object another) |
int |
hashCode() |
com.google.common.collect.ImmutableList<Trees.UnitPart> |
parts() |
String |
toString() |
ImmutableTrees.Unit |
withParts(Iterable<? extends Trees.UnitPart> elements) |
ImmutableTrees.Unit |
withParts(Trees.UnitPart... elements) |
public com.google.common.collect.ImmutableList<Trees.UnitPart> parts()
public final ImmutableTrees.Unit withParts(Trees.UnitPart... elements)
public final ImmutableTrees.Unit withParts(Iterable<? extends Trees.UnitPart> elements)
public int hashCode()
public String toString()
public static ImmutableTrees.Unit copyOf(Trees.Unit instance)
public static ImmutableTrees.Unit.Builder builder()
Copyright © 2021 The Immutables.org authors. All rights reserved.