A C D E F G H I L M P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addTag(String) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Adds a new tag to the
Profile
if not already present. - AGE - io.github.foxyseta.telegrindr.bot.data.Stat
-
An age is measured in years.
- App - Class in io.github.foxyseta.telegrindr
-
This class features the application's entry point.
- App() - Constructor for class io.github.foxyseta.telegrindr.App
C
- contains(T) - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Checks whether the
Range
contains the given value. - containsStat(Stat) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
- containsTag(String) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Checks whether a certain tag was added to the
Profile
. - creatorId() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the bot's creator identifier.
D
- DEFAULTEMOJI - Static variable in class io.github.foxyseta.telegrindr.bot.data.Profile
-
The emoji used by default in a new
Profile
. - DISTANCEUOM - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The unit of measurement for distances between one
Location
and another.
E
- EARTHRADIUS - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The average earth radius in kilometers.
- EMOJIPATTERN - Static variable in class io.github.foxyseta.telegrindr.bot.data.Profile
-
The
Pattern
generated from the emoji regex. - EMOJIREGEX - Static variable in class io.github.foxyseta.telegrindr.bot.data.Profile
-
The regex representing an emoji (or another symbol).
- EXCLUDETAGPREFIX - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The prefix used for excluding a certain tag.
F
- Filter - Class in io.github.foxyseta.telegrindr.bot.data
-
A
Filter
canFilter.test(io.github.foxyseta.telegrindr.bot.data.Profile)
whether aProfile
can be of any interest to the user. - Filter(String[], Location) - Constructor for class io.github.foxyseta.telegrindr.bot.data.Filter
-
Instantiates a new
Filter
. - from - Variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The
Location
from which all distances are calculated.
G
- getEmoji() - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Gets the current emoji.
- getMax() - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Gets the second extreme.
- getMin() - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Gets the first extreme.
- getStat(Stat) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Gets the value associated to a certain
Stat
if present.
H
- HEIGHT - io.github.foxyseta.telegrindr.bot.data.Stat
-
An height is measured in centimeters.
- help() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the ability triggered by
/help
. - howis() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the ability triggered by
/howis
I
- iam() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the ability triggered by
/iam
. - io.github.foxyseta.telegrindr - package io.github.foxyseta.telegrindr
- io.github.foxyseta.telegrindr.bot - package io.github.foxyseta.telegrindr.bot
- io.github.foxyseta.telegrindr.bot.data - package io.github.foxyseta.telegrindr.bot.data
- isLocationNeeded() - Method in class io.github.foxyseta.telegrindr.bot.data.Filter
-
Checks whether a non-
null
location is needed for executing tests.
L
- location - Variable in class io.github.foxyseta.telegrindr.bot.data.Profile
-
The
Location
of the user.
M
- main(String[]) - Static method in class io.github.foxyseta.telegrindr.App
-
The application's entry point.
- max() - Method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Gets the
Stat.max()
. - min() - Method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Gets the
Stat.min()
.
P
- print(Profile[], Long) - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Sends a message listing a sequence where each element is a
Profile
. - print(Profile, Long) - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Sends a message containing a single
Profile
. - Profile - Class in io.github.foxyseta.telegrindr.bot.data
-
A
Profile
defines all of the pieces of information concerning a singleUser
. - Profile(User) - Constructor for class io.github.foxyseta.telegrindr.bot.data.Profile
-
Instantiates a new
Profile
. - putStat(Stat, Integer) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Sets a new value for a certain
Stat
, but only if such a value is adeguate.
R
- Range<T extends Comparable<? super T>> - Class in io.github.foxyseta.telegrindr.bot.data
-
A
Range
defines an interval of values. - Range(T, T) - Constructor for class io.github.foxyseta.telegrindr.bot.data.Range
-
Instantiates a new
Range
. - RANGEARGUMENTPATTERN - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The
Pattern
generated from the stat-range pairs' regex. - RANGEARGUMENTREGEX - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
- removeStat(Stat) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Removes the value associated to a certain
Stat
if present. - removeTag(String) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Removes a tag from the
Profile
if present.
S
- setEmoji(String) - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Sets a new emoji.
- setMax(T) - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Sets the second extreme.
- setMin(T) - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Sets the first extreme.
- setMinMax(T, T) - Method in class io.github.foxyseta.telegrindr.bot.data.Range
-
Sets both extremes at the same time.
- start() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the ability triggered by
/start
. - Stat - Enum in io.github.foxyseta.telegrindr.bot.data
-
A
Stat
defines a new kind of numeric parameter.
T
- TAGARGUMENTPATTERN - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The
Pattern
generated from the tag-related preferences' regex. - TAGARGUMENTREGEX - Static variable in class io.github.foxyseta.telegrindr.bot.data.Filter
-
The regex for any tag-related preference.
- TeleGrindr - Class in io.github.foxyseta.telegrindr.bot
-
A
TeleGrindr
object stores its creator ID. - TeleGrindr(String, String, int) - Constructor for class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Creates a new instance of
Telegrindr
. - test(Profile) - Method in class io.github.foxyseta.telegrindr.bot.data.Filter
-
Checks a given
Profile
. - toShortString() - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
A shorter string representation of the
Profile
. - toString() - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
A string representation of the
Profile
.
U
- unmodifiableTags() - Method in class io.github.foxyseta.telegrindr.bot.data.Profile
-
Gets an unmodifiable clone of the collection containing the
Profile.tags
. - uom() - Method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Gets the
Stat.uom
. - user - Variable in class io.github.foxyseta.telegrindr.bot.data.Profile
-
The
User
who set up thisProfile
.
V
- validate(int) - Method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Checks whether a given value is contained in the suggested
Stat.interval
. - valueOf(String) - Static method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.foxyseta.telegrindr.bot.data.Stat
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WEIGHT - io.github.foxyseta.telegrindr.bot.data.Stat
-
A weight is measured in kilograms.
- whois() - Method in class io.github.foxyseta.telegrindr.bot.TeleGrindr
-
Gets the ability triggered by
/whois
All Classes All Packages