Posts

Showing posts from January 10, 2019

Sheriff of Kolkata

Image
The Sheriff of Kolkata is an apolitical titular position of authority bestowed for one year on a prominent citizen of Kolkata (Calcutta). The Sheriff has an office and staff in Calcutta High Court but does not have executive powers. In the order of precedence, the Sheriff ranks just below the Mayor and presides over various city-related functions and conferences and is in charge of receiving foreign guests of the government. Mumbai (Bombay) and Kolkata are the only cities in India to maintain the post of Sheriff. Presently the office of the Sheriff is situated in the Calcutta High Court building. [1] Office of Kolkata's Sheriff at Calcutta High Court The Calcutta Shrievalty was established by a Royal Charter issued by King George III of England on 26 March 1774 which created the Supreme Court at Fort William in Calcutta. The charter stipulated that the sheriff would be appointed by the Governor-General in Council from a list of three residents recommended by the Supreme ...

Star Theatre, Kolkata

Image
Star Theatre, Kolkata Facade of the Star Theatre The Star Theatre is a theatre in Kolkata, built in 1883. Initially situated in Beadon Street, the theatre later moved to Cornwallis Street - now called Bidhan Sarani. The Star, along with the Minerva Theatre, was one of the first institutions of commercial Bengali theatre. The Star, along with Minerva and The Classic Theatre, were also one of the places where the first motion pictures in Bengal, made by Hira Lala Sen, were screened. This is a heritage site of Calcutta (Kolkata) that was destroyed in a fire and thereafter restored by the local municipal corporation. The restored Star Theatre maintains the heritage facade; the interiors are contemporary. The property is maintained by a private company. At present, it is primarily a cinema hall; plays are staged on about two days per month. However, during winter (December and January) plays are staged here much more frequently, of the order of ten days per month. The auditor...

Java sort List of objects with a hierarchy alphabetically

Image
0 I have an entity called Item . Item can have parents and children. Each Item has the following methods: getParent() --> returns an Item getChildren() --> returns a List<Item> isLeaf() --> returns a Boolean getName() --> returns a String Each level in the hierarchy is a level in a construction site, for example level 1 is House 1, level 2 is Floor 1, level 3 is Room and level 4 is Window. I have a List<Item and I need to sort them like this: Item 1 (House 1 > Floor 1 > Room 1 > Bath) Item 2 (House 1 > Floor 1 > Room 2 > Basement) Item 3 (House 1 > Floor 1 > Room 2 > Door) Item 4 (House 1 > Floor 1 > Room 2 > Window) Item 5 (House 1 > Floor 2 > Room 1 > Door) I think I need some kind of recursive function but I can't...