Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Card-Forge/forge
/ countAll
Method
countAll
forge-core/src/main/java/forge/util/ItemPool.java:136–142 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
134
}
135
136
public
final
int
countAll() {
137
int
count = 0;
138
for
(Entry<T, Integer> e : this) {
139
count += e.getValue();
140
}
141
return
count;
142
}
143
144
public
int
countAll(Predicate<T> condition){
145
int
count = 0;
Callers
15
sellAllByFilter
Method · 0.80
autoSellAllByFilter
Method · 0.80
updateCaption
Method · 0.80
applyAdventureDeckRules
Method · 0.80
setSelected
Method · 0.80
setItemTooltips
Method · 0.80
updateBuySellButtonCaption
Method · 0.80
drawValue
Method · 0.80
buildMenu
Method · 0.80
updateCaption
Method · 0.80
updateCaption
Method · 0.80
AddBasicLandsDialog
Method · 0.80
Calls
4
values
Method · 0.80
isInstance
Method · 0.80
getValue
Method · 0.45
test
Method · 0.45
Tested by
6
boosterDraft1Test1
Method · 0.64
getRandomPrecon
Method · 0.64
isValidDeck
Method · 0.64
getRandomCommanderPrecon
Method · 0.64
isValidCommanderDeck
Method · 0.64
testDeckLoaderCanLoadDeck
Method · 0.64