public static final class MessagePattern.Part extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MessagePattern.Part.Type
Part type constants.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
MessagePattern.ArgType |
getArgType()
Returns the argument type if this part is of type ARG_START or ARG_LIMIT,
otherwise ArgType.NONE.
|
int |
getIndex()
Returns the pattern string index associated with this Part.
|
int |
getLength()
Returns the length of the pattern substring associated with this Part.
|
int |
getLimit()
Returns the pattern string limit (exclusive-end) index associated with this Part.
|
MessagePattern.Part.Type |
getType()
Returns the type of this part.
|
int |
getValue()
Returns a value associated with this part.
|
int |
hashCode() |
String |
toString() |
public MessagePattern.Part.Type getType()
public int getIndex()
public int getLength()
public int getLimit()
public int getValue()
public MessagePattern.ArgType getArgType()
public String toString()
public boolean equals(Object other)
Copyright (c) 2016 IBM Corporation and others.