本文整理了Java中java.util.concurrent.ConcurrentSkipListSet.headSet()
方法的一些代码示例,展示了ConcurrentSkipListSet.headSet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ConcurrentSkipListSet.headSet()
方法的具体详情如下:
包路径:java.util.concurrent.ConcurrentSkipListSet
类名称:ConcurrentSkipListSet
方法名:headSet
暂无
代码示例来源:origin: robovm/robovm
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: Alluxio/alluxio
/**
* Retrieves buckets whose ttl interval has expired before the specified time, that is, the
* bucket's interval start time should be less than or equal to (specified time - ttl interval).
* The returned set is backed by the internal set.
*
* @param time the expiration time
* @return a set of expired buckets or an empty set if no buckets have expired
*/
public Set<TtlBucket> getExpiredBuckets(long time) {
return mBucketList.headSet(new TtlBucket(time - TtlBucket.getTtlIntervalMs()), true);
}
代码示例来源:origin: MobiVM/robovm
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: org.codehaus.jsr166-mirror/jsr166
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: org.apidesign.bck2brwsr/emul
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: ibinti/bugvm
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: de.dentrassi.eclipse.neoscada.utils/org.eclipse.scada.utils
@Override
public SortedSet<E> headSet ( final E toElement )
{
return this.internalSet.headSet ( toElement );
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: jtulach/bck2brwsr
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: FlexoVM/flexovm
/**
* @throws ClassCastException {@inheritDoc}
* @throws NullPointerException if {@code toElement} is null
* @throws IllegalArgumentException {@inheritDoc}
*/
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: com.jtransc/jtransc-rt
public NavigableSet<E> headSet(E toElement) {
return headSet(toElement, false);
}
代码示例来源:origin: com.sap.cloud.s4hana.cloudplatform/core
private NavigableSet<SimpleImmutableEntry<ZonedDateTime, Throwable>> getEntriesBefore(
final ZonedDateTime cutoffTime )
{
final SimpleImmutableEntry<ZonedDateTime, Throwable> cutoffEntry = createCutoffEntry(cutoffTime);
return timestampedThrowables.headSet(cutoffEntry, true);
}
代码示例来源:origin: org.alluxio/alluxio-core-server-master
/**
* Retrieves buckets whose ttl interval has expired before the specified time, that is, the
* bucket's interval start time should be less than or equal to (specified time - ttl interval).
* The returned set is backed by the internal set.
*
* @param time the expiration time
* @return a set of expired buckets or an empty set if no buckets have expired
*/
public Set<TtlBucket> getExpiredBuckets(long time) {
return mBucketList.headSet(new TtlBucket(time - TtlBucket.getTtlIntervalMs()), true);
}
代码示例来源:origin: org.tachyonproject/tachyon-servers
/**
* Retrieves buckets whose ttl interval has expired before the specified time, that is, the
* bucket's interval start time should be less than or equal to (specified time - ttl interval).
* The returned set is backed by the internal set.
*
* @param time the expiration time
* @return a set of expired buckets or an empty set if no buckets have expired
*/
public Set<TTLBucket> getExpiredBuckets(long time) {
return mBucketList.headSet(new TTLBucket(time - TTLBucket.getTTLIntervalMs()), true);
}
代码示例来源:origin: org.jacorb/jacorb
SelectorRequest request = null;
SelectorRequest atNow = new SelectorRequest(null,System.nanoTime());
NavigableSet<SelectorRequest> expired = timeOrderedRequests.headSet(atNow, true);
Iterator<SelectorRequest> i = expired.iterator();
while (i.hasNext())
内容来源于网络,如有侵权,请联系作者删除!