| Package | Description |
|---|---|
| org.eclipse.emf.common.util |
Provides basic utilities.
|
| Modifier and Type | Field and Description |
|---|---|
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.CachedToString.segmentSequence |
| Modifier and Type | Method and Description |
|---|---|
SegmentSequence |
SegmentSequence.append(SegmentSequence segmentSequence)
Returns an instance with the given additional segments.
|
SegmentSequence |
SegmentSequence.append(java.lang.String... segments) |
SegmentSequence |
SegmentSequence.append(java.lang.String segment)
Returns an instance with the additional segment or segments, if the given segment contains '/'.
|
static SegmentSequence |
SegmentSequence.create(java.lang.String delimiter)
Returns the empty segment sequence for the given delimiter.
|
static SegmentSequence |
SegmentSequence.create(java.lang.String delimiter,
java.lang.String... segments)
Returns the segment sequence for the given segments,
splitting individual segments as necessary, i.e., if they contain the delimiter character,
or omitting empty segments in the case of the empty delimiter.
|
static SegmentSequence |
SegmentSequence.create(java.lang.String delimiter,
java.lang.String value)
Returns the segment sequence for the value, splitting it into segments as appropriate, or
null if the value is null. |
protected static SegmentSequence |
SegmentSequence.create(java.lang.String delimiter,
java.lang.String[] segments,
int count) |
SegmentSequence |
SegmentSequence.SegmentSequencePool.StringAccessUnit.getInternalizedValue() |
SegmentSequence |
SegmentSequence.SegmentSequencePool.SegmentsAccessUnit.getInternalizedValue() |
SegmentSequence |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentAccessUnit.getInternalizedValue() |
SegmentSequence |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentsAccessUnit.getInternalizedValue() |
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.AccessUnitBase.getValue() |
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.intern(boolean needsCopying,
boolean needsToIntern,
java.lang.String delimiter,
java.lang.String[] segments,
int count)
Interns the segments, taking into account the delimiter,
copying the array, when needed,
and interning the segments themselves, when needed.
|
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.intern(int hashCode,
java.lang.String delimiter,
java.lang.String[] segments,
java.lang.String segment)
Interns the segments along with the one additional segment, taking into account the delimiter and interning the additional segment.
|
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.intern(int hashCode,
java.lang.String delimiter,
java.lang.String[] segments1,
java.lang.String[] segments2,
boolean needsToIntern)
Interns the composed segments, taking into account the delimiter.
|
protected SegmentSequence |
SegmentSequence.SegmentSequencePool.intern(java.lang.String delimiter,
java.lang.String value)
Interns the string representation of a segment sequence, splitting it into appropriate segments based on the delimiter.
|
SegmentSequence |
SegmentSequence.Builder.toSegmentSequence()
Converts the builder to a corresponding segment sequence.
|
| Modifier and Type | Method and Description |
|---|---|
protected Pool.AccessUnit<SegmentSequence> |
SegmentSequence.SegmentSequencePool.StringAccessUnit.Queue.newAccessUnit() |
protected Pool.AccessUnit<SegmentSequence> |
SegmentSequence.SegmentSequencePool.SegmentsAccessUnit.Queue.newAccessUnit() |
protected Pool.AccessUnit<SegmentSequence> |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentAccessUnit.Queue.newAccessUnit() |
protected Pool.AccessUnit<SegmentSequence> |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentsAccessUnit.Queue.newAccessUnit() |
| Modifier and Type | Method and Description |
|---|---|
SegmentSequence |
SegmentSequence.append(SegmentSequence segmentSequence)
Returns an instance with the given additional segments.
|
protected boolean |
SegmentSequence.SegmentSequencePool.StringAccessUnit.matches(SegmentSequence value) |
protected boolean |
SegmentSequence.SegmentSequencePool.SegmentsAccessUnit.matches(SegmentSequence value) |
protected boolean |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentAccessUnit.matches(SegmentSequence value) |
protected boolean |
SegmentSequence.SegmentSequencePool.SegmentsAndSegmentsAccessUnit.matches(SegmentSequence value) |
protected java.lang.ref.WeakReference<java.lang.String> |
SegmentSequence.SegmentSequencePool.newCachedToString(SegmentSequence segmentSequence,
java.lang.String string)
|
protected void |
SegmentSequence.SegmentSequencePool.AccessUnitBase.setValue(SegmentSequence value) |
| Constructor and Description |
|---|
CachedToString(SegmentSequence segmentSequence,
java.lang.String string,
java.lang.ref.ReferenceQueue<? super java.lang.String> queue) |
| Constructor and Description |
|---|
AccessUnitBase(Pool.AccessUnit.Queue<SegmentSequence> queue) |
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature