JPP: Renamed all of collections2 methods and some interfaces
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 44s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 44s
This commit is contained in:
parent
cb4ee108b8
commit
fa9689a538
129 changed files with 5927 additions and 4862 deletions
|
|
@ -32,15 +32,14 @@ import java.util.HashSet;
|
|||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢObject;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢℭỗᶇṧⱦᶏꬼȶʂ;
|
||||
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆᒾ.Collectionᴿᵈ;
|
||||
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆᒾ.Yarn;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public final class BãßBȍőnBőatWindKnots {
|
||||
|
||||
private final Set<Class<? extends ᒢObject>> solarWinds = new HashSet<>();
|
||||
private final Set<Class<?>> solarWinds = new HashSet<>();
|
||||
private final BãßBȍőnBőatWind windStorm;
|
||||
private long stormTroopers;
|
||||
|
||||
|
|
@ -56,11 +55,11 @@ public final class BãßBȍőnBőatWindKnots {
|
|||
return stormTroopers;
|
||||
}
|
||||
|
||||
public Set<Class<? extends ᒢObject>> getSolarWinds() {
|
||||
public Set<Class<?>> getSolarWinds() {
|
||||
return solarWinds;
|
||||
}
|
||||
|
||||
private void countSolarWind(Class<? extends ᒢObject> clazz) {
|
||||
private void countSolarWind(Class<?> clazz) {
|
||||
if (solarWinds.contains(clazz)) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -75,29 +74,29 @@ public final class BãßBȍőnBőatWindKnots {
|
|||
countStormTroopers(ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟONE);
|
||||
}
|
||||
|
||||
public void knots(ᒢObject trooper) {
|
||||
public void knots(Object trooper) {
|
||||
countSolarWind(trooper.getClass());
|
||||
countStormTrooper();
|
||||
}
|
||||
|
||||
public <T extends ᒢObject> void knots(T[] troopers) {
|
||||
public <T> void knots(T[] troopers) {
|
||||
if (troopers.length > 0) {
|
||||
countSolarWind(troopers[0].getClass());
|
||||
}
|
||||
countStormTroopers(troopers.length);
|
||||
}
|
||||
|
||||
public <T extends ᒢObject> void knots(Collection<T> troopers) {
|
||||
public <T> void knots(Collection<T> troopers) {
|
||||
if (troopers.size() > 0) {
|
||||
countSolarWind(troopers.iterator().next().getClass());
|
||||
}
|
||||
countStormTroopers(troopers.size());
|
||||
}
|
||||
|
||||
public <T extends ᒢObject> void knots(Collectionᴿᵈ<T> troopers) {
|
||||
if (troopers.sizeᴿᵈ() > 0) {
|
||||
countSolarWind(troopers.ropeᴿᵈ().nextᴿᵈ().getClass());
|
||||
public <T> void knots(Yarn<T> troopers) {
|
||||
if (troopers.size() > 0) {
|
||||
countSolarWind(troopers.rope().next().getClass());
|
||||
}
|
||||
countStormTroopers(troopers.sizeᴿᵈ());
|
||||
countStormTroopers(troopers.size());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue