Beispiel #1
0
        private bool HasPropsBefore(int[] propertyIds, [email protected]_PropertySchemaType propertySchemaType)
        {
            bool found = false;

            foreach (int propertyId in propertyIds)
            {
                PropertyValue propertyValue = _knownProperties.getIfAbsent(propertyId, () => _noValue);
                if (!propertyValue.HasBefore())
                {
                    if (propertySchemaType == COMPLETE_ALL_TOKENS)
                    {
                        return(false);
                    }
                }
                else
                {
                    found = true;
                }
            }
            return(found);
        }