Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
Modifier and Type | Field and Description |
---|---|
Messaging.NounTrait |
ProceduralMessaging.AssociatedName.pronoun |
Messaging.NounTrait |
Messaging.BeingSubstitution.trait |
Modifier and Type | Method and Description |
---|---|
static Messaging.NounTrait |
Messaging.NounTrait.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Messaging.NounTrait[] |
Messaging.NounTrait.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
Messaging.Group user,
Messaging.NounTrait userTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given group of users and that group's associated NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
Messaging.Group user,
Messaging.NounTrait userTrait,
Messaging.Group target,
Messaging.NounTrait targetTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given Group of users, that group's associated NounTrait, the given group of targets, and
that group's NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
Messaging.Group user,
Messaging.NounTrait userTrait,
Messaging.Group target,
Messaging.NounTrait targetTrait,
java.lang.String... extra)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given Group of users, that group's associated NounTrait, the given group of targets, and
that group's NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
Messaging.Group user,
Messaging.NounTrait userTrait,
java.lang.String target,
Messaging.NounTrait targetTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given Group of users, that group's associated NounTrait, the given target, and their
NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
Messaging.Group user,
Messaging.NounTrait userTrait,
java.lang.String target,
Messaging.NounTrait targetTrait,
java.lang.String... extra)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given Group of users, that group's associated NounTrait, the given target, and their
NounTrait.
|
java.lang.String |
ProceduralMessaging.transform(java.lang.CharSequence message,
ProceduralMessaging.AssociatedName user,
java.lang.String targetName,
Messaging.NounTrait targetTrait) |
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
java.lang.String user,
Messaging.NounTrait userTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given user and their associated NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
java.lang.String user,
Messaging.NounTrait userTrait,
Messaging.Group target,
Messaging.NounTrait targetTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given user, that user's associated NounTrait, the given Group of targets, and that
group's NounTrait.
|
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
java.lang.String user,
Messaging.NounTrait userTrait,
Messaging.Group target,
Messaging.NounTrait targetTrait,
java.lang.String... extra)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given user, that user's associated NounTrait, the given Group of targets, and that
group's NounTrait.
|
java.lang.String |
ProceduralMessaging.transform(java.lang.CharSequence message,
java.lang.String userName,
Messaging.NounTrait userTrait,
ProceduralMessaging.AssociatedName target) |
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
java.lang.String user,
Messaging.NounTrait userTrait,
java.lang.String target,
Messaging.NounTrait targetTrait)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given user, their associated NounTrait, the given target, and their NounTrait.
|
java.lang.String |
ProceduralMessaging.transform(java.lang.CharSequence message,
java.lang.String userName,
Messaging.NounTrait userTrait,
java.lang.String targetName,
Messaging.NounTrait targetTrait) |
static java.lang.String |
Messaging.transform(java.lang.CharSequence message,
java.lang.String user,
Messaging.NounTrait userTrait,
java.lang.String target,
Messaging.NounTrait targetTrait,
java.lang.String... extra)
Takes message and replaces any of the special terms this recognizes, like @, ^, and $, with the appropriately-
conjugated terms for the given user, their associated NounTrait, the given target, and their NounTrait.
|
Constructor and Description |
---|
AssociatedName(java.lang.String name,
boolean cipherName,
Messaging.NounTrait pronoun,
java.lang.String[] themes,
java.lang.String... titles)
Creates an AssociatedName with the being's name as a String and any associated themes and titles as String
arrays, with a boolean after the name that determines whether the name should be "translated" using a
NaturalLanguageCipher to some other form.
|
BeingSubstitution(Messaging.NounTrait firstTrait,
boolean finish,
java.lang.String... terms) |
BeingSubstitution(java.lang.String term,
Messaging.NounTrait trait,
boolean finish) |
Copyright © Eben Howard 2012–2022. All rights reserved.