| Package | Description |
|---|---|
| eu.simuline.util |
Utility classes: very inhomogeneous.
|
| Modifier and Type | Field and Description |
|---|---|
static RealRepresentation.Cutter |
RealRepresentation.ALIGN_CUT_OFF_LEFT
Describe the action to be taken if a sequence of symbols,
e.g. digits are longer as needed.
|
static RealRepresentation.Cutter |
RealRepresentation.ALIGN_CUT_OFF_RIGHT
Describe the action to be taken if a sequence of symbols,
e.g. digits are longer as needed.
|
static RealRepresentation.Cutter |
RealRepresentation.ALIGN_EXCEPTION
Describe the action to be taken if a sequence of symbols,
e.g. digits are longer as needed.
|
static RealRepresentation.Cutter |
RealRepresentation.ALIGN_LEAVE_UNCHANGED
Describe the action to be taken if a sequence of symbols,
e.g. digits are longer as desired.
|
private RealRepresentation.Cutter |
RealRepresentation.Desc.fractionCutter |
| Modifier and Type | Method and Description |
|---|---|
static String |
RealRepresentation.alignLeft(String str,
int len,
char filler,
RealRepresentation.Cutter cutter)
Returns a
String which is
by attaching the minimal number of fillers
to the right hand side of str
such that the length of the result is at least int. |
static String |
RealRepresentation.alignRight(String str,
int len,
char filler,
RealRepresentation.Cutter cutter)
Returns a
String which is
by attaching the minimal number of fillers
to the left hand side of str
such that the length of the result is at least int. |
String |
RealRepresentation.trimFraction(int numDigits,
char blankOrNull,
RealRepresentation.Cutter cutter)
Trims the fractional part
to length
numDigits if possible. |
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.