Commit 867b2fe0 authored by Kenil Mavani's avatar Kenil Mavani

updating logic 3rd time

parent 04233905
This diff is collapsed.
......@@ -47,7 +47,12 @@
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
</dependencies>
<build>
<plugins>
......
package com.example.mono.controller;
import com.example.mono.model.User;
import com.example.mono.entity.User;
import com.example.mono.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
......
package com.example.mono.model;
package com.example.mono.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
......
package com.example.mono.repository;
import com.example.mono.model.User;
import com.example.mono.entity.User;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.stereotype.Repository;
......
package com.example.mono.service;
import com.example.mono.model.User;
import com.example.mono.entity.User;
import com.example.mono.repository.UserRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.mongodb.core.ReactiveMongoTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import reactor.core.publisher.Flux;
......
package com.example.mono;
import java.util.Hashtable;
public class tmp implements Sayable {
public void say(String msg) {
System.out.println(msg);
}
public static void main(String[] args) {
Hashtable<String, String> hashtable = new Hashtable<>();
// Adding Key and Value pairs to Hashtable
hashtable.put("Bird1","Pigeon");
hashtable.put("Bird2","BlueBird");
hashtable.put("Bird3","Swan");
hashtable.put("Bird2","Parrot");
hashtable.put("Bird1","Sparrow");
System.out.println(hashtable);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment