Method to construct the equals expression for long

@param value the long
@return Expression
424723
public Expression<Long> eq(long value) {
		String valueString = "'" + value + "'";
		return new Expression<Long>(this, Operation.eq, valueString);
	}
1280631
public static LongStreamEx constant(long value, long length) {
        return of(new ConstSpliterator.OfLong(value, length, false));
    }
1104208
public static byte[] vleEncodeLong(final long value) {
    if (Byte.MIN_VALUE <= value && value <= Byte.MAX_VALUE) {
      return new byte[] { (byte) value };
    } else if (Short.MIN_VALUE <= value && value <= Short.MAX_VALUE) {
      return Bytes.fromShort((short) value);
    } else if (Integer.MIN_VALUE <= value && value <= Integer.MAX_VALUE) {
      return Bytes.fromInt((int) value);
    } else {
      return Bytes.fromLong(value);
    }
  }
36355
@Factory
    public static Matcher<Proc> returns(Object value) {
        return new Returns(IsEqual.equalTo(value));
    }
485330
public static long doubleToSortableLong(double value)
    {
        long bits = Double.doubleToLongBits(value);
        return bits ^ (bits >> 63) & Long.MAX_VALUE;
    }
845267
public static Long checkNull(Long value, Long elseValue) {
        return isNull(value) ? elseValue : value;
    }
303281
public static int search(long[] longArray, long value) { 
        int start = 0;
        int end = longArray.length - 1;
        int middle = 0;
        
        while(start <= end) {
            middle = (start + end) >> 1;
        
            if(value == longArray[middle]) {
                return middle;
            }
            
            if(value < longArray[middle]) {
                end = middle - 1 ;
            }
            else {
                start = middle + 1;
            }
        }
                

        return -1;
    }
705064
@Pure
	@Inline(value="($1 == $2)", constantExpression=true)
	public static boolean operator_equals(long a, double b) {
		return a == b;
	}
327753
public boolean containsLong(long value) {
		for (int i = 1; i < maxPoolSize; i++) {
			if (types[i] == LONG && readLong(i) == value) return true;
		}
		return false;
	}
211432
private List<Long> asLongList(Object value) {
        long[] values = (long[]) value;
        List<Long> list = new ArrayList<Long>(values.length);
        for (long longValue : values) {
            list.add(longValue);
        }
        return list;
    }
831873
public static long updateLong(long value, long range)
     {
         range = range == 0 ? (long)(0.1 * value) : range;
         long minValue = value - range;
         long maxValue = value + range;
         return nextLong(minValue, maxValue);
     }
622711
public Expression<Boolean> eq(Boolean value) {
		String valueString = value.toString();
		return new Expression<Boolean>(this, Operation.eq, valueString);
	}
226565
public static long checkPreconditionL(
    final long value,
    final ContractLongConditionType condition)
    throws PreconditionViolationException
  {
    return checkPreconditionL(
      value, condition.predicate(), condition.describer());
  }
897086
public PactDslJsonArray equalsTo(Object value) {
    body.put(value);
    matchers.addRule(rootPath + appendArrayIndex(0), EqualsMatcher.INSTANCE);
    return this;
  }
261747
public static long round(SoyValue value) {
    if (value instanceof IntegerData) {
      return value.longValue();
    } else {
      return Math.round(value.numberValue());
    }
  }
734798
public static Long readLong(String value, Long defaultValue) {
		if (!StringUtils.hasText(value)) return defaultValue;
		
		return Long.valueOf(value);
	}
597603
public Expression<String> eq(String value) {
		String valueString = "'" + value + "'";
		return new Expression<String>(this, Operation.eq, valueString);
	}