public class Texts extends Object
Modifier and Type | Field | Description |
---|---|---|
(package private) static Format |
fourDecimal |
|
(package private) static Format |
oneDecimal |
|
(package private) static Format |
twoDecimal |
Constructor | Description |
---|---|
Texts() |
Modifier and Type | Method | Description |
---|---|---|
static int |
compareTo(CharSequence s,
CharSequence t) |
|
static long |
hundredths(float d) |
|
static String |
n1(float x) |
|
static CharSequence |
n2(double p) |
|
static CharSequence |
n2(float x) |
|
static String |
n2Slow(float x) |
|
static String |
n4(float x) |
|
static long |
thousandths(float d) |
|
static CharSequence |
yarn(CharSequence... components) |
Half-way between a String and a Rope; concatenates a list of strings into an immutable CharSequence which is either:
If a component is null, it is ignored.
|
static final Format fourDecimal
static final Format twoDecimal
static final Format oneDecimal
public static CharSequence yarn(CharSequence... components)
public static final String n4(float x)
public static final String n2Slow(float x)
public static long thousandths(float d)
public static long hundredths(float d)
public static final CharSequence n2(float x)
public static final String n1(float x)
public static int compareTo(CharSequence s, CharSequence t)
public static CharSequence n2(double p)
Copyright © 2020 OpenNARS. All rights reserved.