本文整理了Java中org.eclipse.collections.api.set.MutableSet.collectIf()
方法的一些代码示例,展示了MutableSet.collectIf()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MutableSet.collectIf()
方法的具体详情如下:
包路径:org.eclipse.collections.api.set.MutableSet
类名称:MutableSet
方法名:collectIf
暂无
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getMutableSet().collectIf(predicate, function);
}
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getMutableSet().collectIf(predicate, function);
}
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getDelegate().collectIf(predicate, function);
}
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getDelegate().collectIf(predicate, function);
}
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
this.acquireReadLock();
try
{
return this.delegate.collectIf(predicate, function);
}
finally
{
this.unlockReadLock();
}
}
代码示例来源:origin: eclipse/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
this.acquireReadLock();
try
{
return this.delegate.collectIf(predicate, function);
}
finally
{
this.unlockReadLock();
}
}
代码示例来源:origin: org.eclipse.collections/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getMutableSet().collectIf(predicate, function);
}
代码示例来源:origin: org.eclipse.collections/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
return this.getDelegate().collectIf(predicate, function);
}
代码示例来源:origin: org.eclipse.collections/eclipse-collections
@Override
public <V> MutableSet<V> collectIf(
Predicate<? super T> predicate,
Function<? super T, ? extends V> function)
{
this.acquireReadLock();
try
{
return this.delegate.collectIf(predicate, function);
}
finally
{
this.unlockReadLock();
}
}
内容来源于网络,如有侵权,请联系作者删除!