net.datafaker.providers.base.Military Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datafaker Show documentation
Show all versions of datafaker Show documentation
This library is a improved port of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker library) that
generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
package net.datafaker.providers.base;
/**
* Military ranks.
*
* @since 1.2.0
*/
public class Military extends AbstractProvider {
protected Military(BaseProviders faker) {
super(faker);
}
public String armyRank() {
return resolve("military.army_rank");
}
public String marinesRank() {
return resolve("military.marines_rank");
}
public String navyRank() {
return resolve("military.navy_rank");
}
public String airForceRank() {
return resolve("military.air_force_rank");
}
public String dodPaygrade() {
return resolve("military.dod_paygrade");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy