public class ImmutableSpongeWeightedEntityCollectionValue extends ImmutableSpongeWeightedCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue> implements org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue
actualValue
Constructor and Description |
---|
ImmutableSpongeWeightedEntityCollectionValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>> key) |
ImmutableSpongeWeightedEntityCollectionValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>> key,
org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity> actualValue) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue |
asMutable() |
org.spongepowered.api.util.weighted.WeightedEntity |
get(Random random) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
transform(Function<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>> function) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
with(org.spongepowered.api.entity.EntityType entityType,
Collection<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> entityData) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
with(org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity> value) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
with(org.spongepowered.api.util.weighted.WeightedEntity... elements) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
withAll(Iterable<org.spongepowered.api.util.weighted.WeightedEntity> elements) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
without(org.spongepowered.api.util.weighted.WeightedEntity element) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
withoutAll(Iterable<org.spongepowered.api.util.weighted.WeightedEntity> elements) |
org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue |
withoutAll(Predicate<org.spongepowered.api.util.weighted.WeightedEntity> predicate) |
getAll
contains, containsAll, isEmpty, size
exists, get, getDefault, getDirect, getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeWeightedEntityCollectionValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>> key)
public ImmutableSpongeWeightedEntityCollectionValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>> key, org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity> actualValue)
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue with(org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity> value)
with
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
with
in interface org.spongepowered.api.data.value.immutable.ImmutableValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>
with
in class ImmutableSpongeCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue transform(Function<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>> function)
transform
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
transform
in interface org.spongepowered.api.data.value.immutable.ImmutableValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>
transform
in class ImmutableSpongeCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue with(org.spongepowered.api.util.weighted.WeightedEntity... elements)
with
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue withAll(Iterable<org.spongepowered.api.util.weighted.WeightedEntity> elements)
withAll
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue without(org.spongepowered.api.util.weighted.WeightedEntity element)
without
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue withoutAll(Iterable<org.spongepowered.api.util.weighted.WeightedEntity> elements)
withoutAll
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue withoutAll(Predicate<org.spongepowered.api.util.weighted.WeightedEntity> predicate)
withoutAll
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue asMutable()
asMutable
in interface org.spongepowered.api.data.value.immutable.ImmutableCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
asMutable
in interface org.spongepowered.api.data.value.immutable.ImmutableValue<org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>>
asMutable
in class ImmutableSpongeCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.util.weighted.WeightedCollection<org.spongepowered.api.util.weighted.WeightedEntity>,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>
public org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue with(org.spongepowered.api.entity.EntityType entityType, Collection<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> entityData)
with
in interface org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue
@Nullable public org.spongepowered.api.util.weighted.WeightedEntity get(Random random)
get
in interface org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue<org.spongepowered.api.util.weighted.WeightedEntity,org.spongepowered.api.data.value.immutable.ImmutableWeightedEntityCollectionValue,org.spongepowered.api.data.value.mutable.WeightedEntityCollectionValue>