public override bool AllSatisfy(LongPredicate predicate) { if ((HasZero && !predicate.test(0)) || (HasOne && !predicate.test(1))) { return(false); } int visited = 0; for (int i = 0; i < Capacity && visited < ElementsInMemory; i++) { //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final long value = valueAt(i); long value = ValueAt(i); if (IsRealValue(value)) { if (!predicate.test(value)) { return(false); } ++visited; } } return(true); }
public override MutableLongSet Reject(LongPredicate predicate) { return(reject(predicate, new LongHashSet())); }
public override int Count(LongPredicate predicate) { throw new System.NotSupportedException(); }
public override long DetectIfNone(LongPredicate predicate, long ifNone) { throw new System.NotSupportedException(); }
public override bool NoneSatisfy(LongPredicate predicate) { return(!AnySatisfy(predicate)); }
public override bool NoneSatisfy(LongPredicate predicate) { throw new System.NotSupportedException("not implemented"); }
public override MutableLongBag Reject(LongPredicate predicate) { throw new System.NotSupportedException("not implemented"); }