In a hydraulic cylinder having a shock absorbing function, and capable of
stopping as desired by an accumulator disposed within a cylinder rod. The
accumulator includes an accumulator piston that divides the cylinder rod
interior into first and second cylinder rod chambers, gas hermetically
charged into the second cylinder rod chamber, and an accumulation port
that is communicated with the first cylinder rod chamber and flows the
operating oil from outside into the first cylinder rod chamber.