blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
17227f46304b06664e910aecf0df390b9f3868d3 | Java | russ4stall/recipe-roots | /src/main/java/com/github/russ4stall/reciperoots/comments/Comment.java | UTF-8 | 1,041 | 2.265625 | 2 | [] | no_license | package com.github.russ4stall.reciperoots.comments;
import com.github.russ4stall.reciperoots.users.User;
import java.util.Date;
/**
* Date: 6/21/13
* Time: 10:52 AM
*
* @author Russ Forstall
*/
public class Comment {
private User user;
private String comment;
private String createdOn;
private in... | true |
08441636b4291f9135cf828926e963d1890a9d98 | Java | Chesare22/Estructura-de-datos_aeropuerto | /estructuras/EstructuraQueImplementaListas.java | UTF-8 | 260 | 2.53125 | 3 | [] | no_license | package estructuras;
public interface EstructuraQueImplementaListas{
public void push(Object o);
public Object pop() throws EmptyStructureException;
public Object peek() throws EmptyStructureException;
public int size();
public boolean isEmpty();
}
| true |
b4db1e43ab6a1227b18352f7c401a52be6a4df94 | Java | rupeshtq/demotest-java | /wapper/ConstructorsInWrapperClasses.java | UTF-8 | 1,739 | 3.09375 | 3 | [] | no_license | package COM.wapper;
public class ConstructorsInWrapperClasses
{
@SuppressWarnings({ "deprecation", "unused" })
public static void main(String[] args)
{
Byte B1 = new Byte((byte) 10); //Constructor which takes byte value as an argument
Byte B2 = new Byte("10"); //Constructor which takes String as an argu... | true |
d924e9cad03cb192d27e7286b504e34280604a7a | Java | WebCuratorTool/webcurator-submit-to-rosetta | /src/test/java/nz/govt/natlib/ndha/wctdpsdepositor/filemover/FileMoverTest.java | UTF-8 | 3,872 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | /**
* nz.govt.natlib.ndha.wctdpsdepositor - Software License
*
* Copyright 2007/2009 National Library of New Zealand.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | true |
0cf324072261675080f9208681868b4e384280fc | Java | xiahuidefanfan/mumu | /mumu-admin/src/main/java/com/mumu/modular/system/controller/UserMgrController.java | UTF-8 | 8,238 | 2.03125 | 2 | [] | no_license | package com.mumu.modular.system.controller;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.anno... | true |
ee415f7d56b76afff14dae95b74547b6639f2740 | Java | bigdataXiang/HousePriceServer | /src/com/svail/MainHandler.java | UTF-8 | 2,509 | 2.265625 | 2 | [] | no_license | package com.svail;
import com.reprocess.grid_100.CallGridCurve;
import com.reprocess.grid_100.CallInterestGrid;
import com.reprocess.grid_100.CallPriceAcceleration;
import com.reprocess.grid_100.ContourGeneration.ContourGeneration;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
... | true |
080dabab1afc83392a2d3c62320f805ba8c883ff | Java | jianjiax/BaseProject | /app/src/main/java/access/com/baichuantest/http/CallBack.java | UTF-8 | 519 | 2.234375 | 2 | [] | no_license | package access.com.baichuantest.http;
import access.com.baichuantest.model.BaseModel;
/**
* Created by Kain on 2016/8/30.
*/
public interface CallBack<T> {
/**
* 请求完成后回调该方法
*
* @param isSuccess 请求是否成功
* @param response 如果请求成功该参数不为空否则为空
* @param error 如果请求成功该参数为空否则会将失... | true |
0056431359df6200d06277e2805001899a365d84 | Java | nefferok/Epam-preparation | /2. Algorithmization/1. One-dimensional arrays/task2_1_6/src/task2_1_6/Task2_1_6.java | UTF-8 | 2,420 | 3.515625 | 4 | [] | no_license | package task2_1_6;
import javax.swing.JOptionPane;
public class Task2_1_6 {
public static void main(String[] args) {
// Задана последовательность N вещественных чисел. Вычислить сумму чисел, порядковые номера которых
// являются простыми числами.
try{
String in_n =... | true |
e43d3c589f640cc224334fae96bf7592e02633c7 | Java | landowskitomasz/scraper | /src/main/java/com/tennizoom/scraper/Md5IdGenerationHandlerWraper.java | UTF-8 | 1,812 | 2.640625 | 3 | [] | no_license | package com.tennizoom.scraper;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
public class Md5IdGenerationHandlerWraper implements ResultsHandler {
private static Logger log = Logger.getLogger(Md5IdGen... | true |
282621381d56d6e4f08d41bc30b5527070f4a833 | Java | 201206030/novel-plus | /novel-common/src/main/java/com/java2nb/novel/mapper/BookSettingDynamicSqlSupport.java | UTF-8 | 2,356 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package com.java2nb.novel.mapper;
import java.sql.JDBCType;
import java.util.Date;
import javax.annotation.Generated;
import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class BookSettingDynamicSqlSupport {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
pu... | true |
01d92aaec3aac683bc788e4213fb568c9d865f3b | Java | nhiennguyentm/QLBV | /CodeDemo/src/main/java/puf/m2/hms/exception/HmsException.java | UTF-8 | 424 | 2.34375 | 2 | [] | no_license | package puf.m2.hms.exception;
public class HmsException extends Exception {
private static final long serialVersionUID = 1199072650805830161L;
private String message;
public HmsException(Throwable cause) {
super(cause);
}
public String getMessage() {
return mess... | true |
7553f8deed7eaca9f64618836ff1fbd305d7cedf | Java | google-code/anewssystem | /anewssystem/parent/tools/gen-all/src/anni/tools/FileUtils.java | UTF-8 | 724 | 2.828125 | 3 | [] | no_license |
package anni.tools;
import java.io.*;
public class FileUtils {
public static void copy(String src, String dest) throws Exception {
copy(new File(src), new File(dest));
}
public static void copy(File src, File dest) throws Exception {
if (!dest.getParentFile().exists()) {
... | true |
3a0a389c9c4e0a6b4118414fb66102433186bff2 | Java | keidax/vsrti-plotter | /Common/src/common/View/CircleOrnament.java | UTF-8 | 686 | 3.03125 | 3 | [] | no_license | package common.View;
import java.awt.Graphics2D;
public class CircleOrnament extends AbstractOrnament {
public int radius = 3;
public int detectRadius = radius + 1;
public CircleOrnament(int radius) {
super();
this.radius = radius;
}
@Override
public void draw(Gr... | true |
d67f3559735e3ef5e4c4d5bc2d4506934d01877c | Java | jbrown762/Joseph-Brown-IronYard | /src/main/java/com/tiy/ssa/week3/assignment1/Square.java | UTF-8 | 553 | 3.234375 | 3 | [] | no_license | package com.tiy.ssa.week3.assignment1;
public class Square extends Rectangle
{
public Square(int side)
{
super(side, side);
}
@Override
public int getHeight()
{
return super.getHeight();
}
@Override
public void setHeight(int side)
{
super.setWidth(... | true |
89102481813e55de2de611d21af135fff51f79dd | Java | keeplearningandtrying/kubernetes-workshop | /microservices/bookmark-service/src/test/java/com/sivalabs/bookmarks/BookmarkServiceApplicationTests.java | UTF-8 | 3,621 | 2.265625 | 2 | [] | no_license | package com.sivalabs.bookmarks;
import static org.hamcrest.CoreMatchers.is;
import static org.springframework.http.MediaType.APPLICATION_JSON;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
i... | true |
acfae8c41fba3d1169e7412ceb50eb3f0a6d9f4a | Java | gankit279/DemoBlazeFEAutomation | /src/main/java/com/blaze/pages/laptops/SonyVaioI5.java | UTF-8 | 315 | 1.65625 | 2 | [] | no_license | package com.blaze.pages.laptops;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class SonyVaioI5 {
@FindBy(xpath = "//a[text()='Add to cart']")
public WebElement addToCartButton;
public void clickAddToCartButton() {
addToCartButton.click();
}
}
| true |
a6708d7640992be15a64f3fd94e5506c24b9e70f | Java | sahithi9999/workspace | /MapExample.java | UTF-8 | 788 | 3.328125 | 3 | [] | no_license | package emp1;
import java.util.*;
import java.util.Map.Entry;
public class MapExample {
public static void main(String[] args) {
Map map=new HashMap();
map.put(101, "john");
map.put(102, "ram");
map.put(105, "ramu");
//System.out.println(map);
Set set=map.entrySet();
Iterator itr=set.iter... | true |
15c0d77ed3e0d8c6130e5c67bc4c6138f86a3e4a | Java | darkprince92/Pinbox | /src/com/example/pinboxproject/AddPinActivity.java | UTF-8 | 6,814 | 2.109375 | 2 | [] | no_license | package com.example.pinboxproject;
import java.io.ByteArrayOutputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONObject;
import andro... | true |
95d39566db840dfeee761b36fdf622b2803cc900 | Java | rickmussi/Atividade13 | /src/test/java/br/edu/utfpr/po/CadastroPage.java | UTF-8 | 486 | 1.726563 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.utfpr.po;
import org.openqa.selenium.WebDriver;
/**
*
* @author Mussi
*/
public class CadastroPage ext... | true |
f1f4a2f1b83acde2d376b265326fd8030323ceae | Java | dansejijie/DevelopmentLibrary | /widget/src/main/java/com/dansejijie/library/widget/activity/pdfReader/CustomRelativeLayout.java | UTF-8 | 3,006 | 2.1875 | 2 | [] | no_license | package com.dansejijie.library.widget.activity.pdfReader;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.os.CountDownTimer;
import android.os.Looper;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.view.V... | true |
218d1fb956c1574a8ac673a746765243530cb36a | Java | rafaelfcads/toggle-manager-api | /src/main/java/com/it/toggle/domain/toggle/ToggleNotFoundException.java | UTF-8 | 718 | 2.078125 | 2 | [] | no_license | package com.it.toggle.domain.toggle;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason="No such Toggle")
public class ToggleNotFoundException extends RuntimeException {
private static final long serialVers... | true |
7768c4ec5a6707ddfd3487839c1e5dc04e1d678e | Java | enrico84/Proj_Struts1_GestoreOrdini | /src/java/ordini/action/InserisciOrdineA.java | UTF-8 | 1,760 | 2.046875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ordini.action;
import entity.Cliente;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResp... | true |
afab415bad57ff3d911c76b635dc5c1f78eed6d1 | Java | nguyentrungnam1/demo | /demoShop/src/main/java/quanlybanhang/Rebository/CategoryRepository.java | UTF-8 | 304 | 2.046875 | 2 | [] | no_license | package quanlybanhang.Rebository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import quanlybanhang.Entity.CategoryEntity;
public interface CategoryRepository extends JpaRepository<CategoryEntity, Integer> {
Optional<CategoryEntity> findById(int id);
}
| true |
e2ff5ea665c4a068e2219f3cdd0a11e5d7a4df27 | Java | Marouane-A/ShowroomerBx | /src/tn/devstorm/restclient/RateResouceClient.java | UTF-8 | 2,076 | 2.484375 | 2 | [] | no_license | package tn.devstorm.restclient;
import java.util.List;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import c... | true |
a99abef94d97c5b99848d80fcbf1fe6402abad1f | Java | mylesandre1124/BookstoreWebsite | /src/Servlet/ConfirmationController.java | UTF-8 | 2,277 | 2.59375 | 3 | [] | no_license | package Servlet;
import Objects.*;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.File;
import j... | true |
1168ee0ee315f0a77a7b019e4034bb506d1c421c | Java | Zy19930907/StationDebug | /src/main/java/com/zy/beans/SubStationBean.java | UTF-8 | 1,142 | 2.1875 | 2 | [] | no_license | package com.zy.beans;
public class SubStationBean {
private String ipString;
private String position;
private String MacAddr;
private String SoftVerb;
private long[][] groupConfig = new long[8][2];
public SubStationBean() {
}
public SubStationBean(String ipString, String position) {
this.ipString = ipStri... | true |
5895ed8cc039fad3ca5728186f303e8a578b0d55 | Java | ryanlfoster/ep-commerce-engine-68 | /core/ep-core/src/main/java/com/elasticpath/domain/catalogview/FilterDisplayInfo.java | UTF-8 | 890 | 2 | 2 | [] | no_license | /**
* Copyright (c) Elastic Path Software Inc., 2007
*/
package com.elasticpath.domain.catalogview;
import com.elasticpath.domain.EpDomain;
/**
* The object contains the localized display info for the range filter.
*/
public interface FilterDisplayInfo extends EpDomain {
/**
* Get the display name.
*
* @re... | true |
b373d6d231dd15563c73d551a7b291d2e14e4edb | Java | kroits/ListTest | /app/src/main/java/com/example/b3216/listtest/Main2Activity.java | UTF-8 | 1,169 | 2.296875 | 2 | [] | no_license | package com.example.b3216.listtest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListAdapter;
import android.widget.ListView;
public class Main2Activity extends AppCompatActivity {
@Override
protected void onCreate(Bundle... | true |
b83acb44f107e51c61da55c31eb81be1b3548c71 | Java | song33ztpgg/02_java | /day02-type/src/operator/bibary/PlusAssignment.java | UTF-8 | 729 | 3.65625 | 4 | [] | no_license | package operator.bibary;
/*
누적대입 연산자 테스트 클래스
+= : 산술 덧셈 연산 후 왼쪽의 변수로 재 할당
@author 304
* */
public class PlusAssignment {
public static void main(String[] args) {
int num = 0;
System.out.printf("초기 넘버 값은 %d\n " , num);
num +=1;
System.out.printf("num +=1 수행 후 값은 %d\n " , n... | true |
ddff6c9952beffd6952ebcf94567f6a09b872840 | Java | zhongxingyu/Seer | /Diff-Raw-Data/13/13_86170145cc7b86fb1ae7fa706a4b1fa2a77b7f50/BiddingThread/13_86170145cc7b86fb1ae7fa706a4b1fa2a77b7f50_BiddingThread_t.java | UTF-8 | 10,415 | 2.65625 | 3 | [] | no_license | /*
@ShortLicense@
Authors: @JS@
@MJL@
Released: @ReleaseDate@
*/
package jskat.control;
import org.apache.log4j.Logger;
import jskat.data.JSkatDataModel;
import jskat.data.BidStatus;
import jskat.share.SkatConstants;
import jskat.player.JSkatPlayer;
import jskat.player.HumanPlayer;
... | true |
4d168b6edf48306d2d5a5f48c2518344fbf38071 | Java | joeseibel/budgeting | /budgeting/src-gen/budgeting/budgeting/impl/BudgetingFactoryImpl.java | UTF-8 | 8,362 | 1.929688 | 2 | [] | no_license | /**
*/
package budgeting.budgeting.impl;
import budgeting.budgeting.*;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcoreP... | true |
998aeaf952f7d8388828cc150f81e5a85d69d89f | Java | ogmudbone/bootcamp | /basic_server_udp_client/src/main/java/com/anotheria/bootcamp/basic_server_udp_client/ServerMessageSender.java | UTF-8 | 1,297 | 2.984375 | 3 | [] | no_license | package com.anotheria.bootcamp.basic_server_udp_client;
import com.anotheria.bootcamp.basic_server_core.ClientArgumentsData;
import java.io.IOException;
import java.net.*;
public class ServerMessageSender {
private int port;
private String address;
private String message;
public ServerMessageSender... | true |
16e27d15da2d19be43a3b8fe9e9484717c229d89 | Java | TrusTio/online-gallery-api | /src/main/java/com/mine/gallery/service/dto/GalleryDTO.java | UTF-8 | 491 | 1.890625 | 2 | [] | no_license | package com.mine.gallery.service.dto;
import com.mine.gallery.validation.ValidGalleryName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* DTO class for the {@link com.mine.gallery.persistence.entity.Gallery}
*
* @author TrusTio
*/... | true |
2d74589aed631b52991b6cd1009bd9d08737484a | Java | P3pp3rF1y/MineFactoryReloaded | /src/buildcraft/api/transport/neptune/IPipeHolder.java | UTF-8 | 2,972 | 2.5 | 2 | [] | no_license | package buildcraft.api.transport.neptune;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.PacketBuffer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import buildcraft.api.state... | true |
652f1bbe8821155f66d9f71e0b3719fc8aaaa491 | Java | VictorEspuelasBosonit/EjerciciosJava | /EjercicioDependencias2/src/main/java/com/example/EjercicioDependencias2/Controlador2.java | UTF-8 | 504 | 1.609375 | 2 | [] | no_license | package com.example.EjercicioDependencias2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
@RestController
@SpringBootApplication
p... | true |
c5fe29b5cf4178736b021a052e3cf792c062e02d | Java | SamikshaJain/CMADSessionBlog | /src/main/java/src/test/java/HibernateTest.java | UTF-8 | 727 | 2.328125 | 2 | [] | no_license | /*package src.test.java;
import junit.framework.Assert;
import org.junit.Test;
import org.mockito.Mockito;
import com.mydomain.doa.UserData;
import com.mydomain.model.Users;
import com.mydomain.service.UserService;
*//**
* @author utkakuma
*
*//*
public class HibernateTest {
@Test
public void test() {
UserData ... | true |
0b0f3a3ec66dc63725de0777c7279c93c2405c06 | Java | bellmit/zycami-ded | /src/main/java/d/v/j/e/i/o0.java | UTF-8 | 853 | 1.726563 | 2 | [] | no_license | /*
* Decompiled with CFR 0.151.
*/
package d.v.j.e.i;
import com.zhiyun.editortemplate.data.api.entity.template.EditorProtocol;
import com.zhiyun.editortemplate.data.database.model.template.TemplatePOJO;
import d.v.j.e.i.d1;
import java.util.concurrent.Callable;
public final class o0
implements Callable {
publi... | true |
313cadd57f259d81125155420a5dde9bd8b5a37f | Java | ROODAY/GraderPlusPlus | /src/entity/Assignment.java | UTF-8 | 11,392 | 2.265625 | 2 | [
"MIT"
] | permissive | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package entity;
import com.jfoenix.controls.*;
import com.jfoenix.controls.cells.editors.TextFieldEditorBuilder;
import com.jfoenix.co... | true |
939cd94477ca1a5733fcaab77536649f9d34eed2 | Java | charleslpan/SimpleLift | /SecondScreen.java | UTF-8 | 2,475 | 3.296875 | 3 | [] | no_license | import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
/**
* The second screen displays a view for the user to select an option
* of what they want to do.
*
* @author Charles Pan
* @version March 2018
*/
public class SecondScreen extends JFrame implements ActionListener
{
JLabel header = new JLabe... | true |
495a44bdf5e90da59f71d59a6524d86d68f237c0 | Java | darcy1026/IntroductionToJavaProgramming | /IntroductionToJavaProgramming/src/chapter02/questions/Question02.java | UTF-8 | 594 | 3.78125 | 4 | [] | no_license | package chapter02.questions;
import java.util.Scanner;
public class Question02 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
final double p = 3.14159;
System.out.print("Enter the radius and lenght of a cyclinder: ");
Double radius = input.nextDouble();
... | true |
154b2cd18fdae8a360f92f39731b431586fd58c6 | Java | Ashrafulll/project6 | /src/loop/UseForLoop.java | UTF-8 | 154 | 2.703125 | 3 | [] | no_license | package loop;
public class UseForLoop {
public static void main(String[] args) {
for(int a = 1; a<10; a++) {
System.out.println(a);
}
}
}
| true |
cddb65a378a349007cce34f142ee919afd254d3e | Java | moedjo/demo | /src/main/java/com/jaxi/service/impl/ConfigServiceImpl.java | UTF-8 | 1,229 | 2.125 | 2 | [] | no_license | package com.jaxi.service.impl;
import com.jaxi.entity.Config;
import com.jaxi.repository.ConfigRepository;
import com.jaxi.service.ConfigService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConf... | true |
10eb55e04021759f82fe9d634f88aed9efd8d167 | Java | BackupTheBerlios/privacy-svn | /trunk/diki/diki-gui/src/main/java/de/jtheuer/diki/gui/panels/tagpanel/ElmoRootClassNode.java | UTF-8 | 2,029 | 2.328125 | 2 | [] | no_license | /**
* This file is part of Diki.
*
* Copyright (C) 2009 jtheuer
* Please refer to the documentation for a complete list of contributors
*
* Diki is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softw... | true |
ca87d08038ecb1f7d849f9417bdc0cc92872851c | Java | armandgray/taapProject | /TAAP/phone/src/main/java/com/armandgray/taap/main/MainActivityViews.java | UTF-8 | 10,895 | 1.945313 | 2 | [
"MIT"
] | permissive | package com.armandgray.taap.main;
import android.app.Service;
import android.content.Context;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.MenuItem;
import android.view.View;
import android.view.inputme... | true |
559664fa4e70c0a24e2e80d7c7f0f7efe21fd294 | Java | bibixledo/padrao_abastractFactory | /src/interfaces/Produto.java | UTF-8 | 150 | 2.203125 | 2 | [] | no_license | package interfaces;
public interface Produto {
public String getNome();
public String getDescricao();
public float getPreco();
}
| true |
619ccdac6faaa2ecd92c910cf4e4c8f2481d7f05 | Java | seholland/AgendaCalendarView | /agendacalendarview/src/main/java/com/github/tibolte/agendacalendarview/calendar/weekslist/DefaultHighlightDecorator.java | UTF-8 | 833 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | package com.github.tibolte.agendacalendarview.calendar.weekslist;
import com.github.tibolte.agendacalendarview.models.IDayItem;
public class DefaultHighlightDecorator implements HighlightDecorator
{
@Override
public int getHighlightLineColor()
{
//The color doesn't matter here because we'll always return false f... | true |
55ab8884ce7b7cbaf6c176810ff753fc33dba43e | Java | yangjunjin/QuickIndex | /app/src/main/java/com/example/quickindex/QuickView.java | UTF-8 | 6,294 | 2.15625 | 2 | [] | no_license | package com.example.quickindex;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.os.Handler;
import android.util.Attri... | true |
26ce361fb6059a29c5e600da25e39fade283a8b9 | Java | linjunjj/UpschoolPlatform | /mongo-work/src/main/java/com/linjun/service/SignService.java | UTF-8 | 530 | 1.789063 | 2 | [] | no_license | package com.linjun.service;
import com.linjun.entity.SignEntity;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
/**
* @author 林俊
* @create 2018/3/25.
* @desc
**/
public interface SignService {
SignEntity queryObject(Long id);
List<SignEntity> queryList(Map<St... | true |
12ebb5f2c6389950b431eaeae107d1fb7c058b06 | Java | chongbo2013/Camera_1080p | /IPC_Android_App/app/src/main/java/com/jiuan/it/ipc/ui/RealTimeActivity.java | UTF-8 | 21,043 | 1.632813 | 2 | [] | no_license | package com.jiuan.it.ipc.ui;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import androi... | true |
efcfacff6eb9b26ee3cfb488b697a22f29b933f5 | Java | nisargtrivedi/MyDriveway | /app/src/main/java/com/driveway/Model/ContactModel.java | UTF-8 | 178 | 1.796875 | 2 | [] | no_license | package com.driveway.Model;
import java.io.Serializable;
public class ContactModel implements Serializable {
public String Name,Phone;
public boolean isSelect=false;
}
| true |
95628b09e547872f57ffb34bc9872c9d30a19cbd | Java | nurlanmemmedov/Custom-ORM-Library | /ORM/src/main/java/test/TestModel.java | UTF-8 | 2,401 | 2.65625 | 3 | [] | no_license | package test;
import annotations.MyColumn;
import annotations.MyEntity;
import annotations.MyId;
import java.util.Date;
@MyEntity(tableName = "test", primaryKey = "id")
public class TestModel {
@MyId
private int id;
@MyColumn(fieldName = "test_field")
private String field;
@MyColumn(fieldName ... | true |
33bac53790a89b356e54ba08f122c694729abbab | Java | mosesgi/Distributed_Samples | /src/main/java/com/moses/distributed/zookeeper/zkclient/ZkClientApiOperationDemo.java | UTF-8 | 1,521 | 2.640625 | 3 | [] | no_license | package com.moses.distributed.zookeeper.zkclient;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.I0Itec.zkclient.IZkChildListener;
import org.I0Itec.zkclient.IZkDataListener;
import org.I0Itec.zkclient.ZkClient;
public class ZkClientApiOperationDemo {
private final static String CONNECTST... | true |
c7d17ec9511d1e9a631ab1ee17b7b7dc635ad565 | Java | prriyaa/Online-Mentoring | /Trainings/src/main/java/com/example_Trainings/Trainings/controller/TrainingsController.java | UTF-8 | 14,211 | 2.109375 | 2 | [] | no_license | package com.example_Trainings.Trainings.controller;
import com.example_Trainings.Trainings.Model.LoginUser;
import com.example_Trainings.Trainings.Model.MentorCalender;
import com.example_Trainings.Trainings.Model.Payment;
import com.example_Trainings.Trainings.ProducerEg;
import com.example_Trainings.Trainings.bean... | true |
5f5efa286f9b6096cb9199a091686fad665417ad | Java | buyi/JavaGradlePlugin | /buildSrc/src/main/java/com/buyi/gradle/BrewinPlugin.java | UTF-8 | 311 | 1.875 | 2 | [] | no_license | package com.buyi.gradle;
import org.gradle.api.*;
public class BrewinPlugin implements Plugin<Project>
{
@Override
public void apply(Project project)
{
project.getExtensions().create("brewin", BrewinPluginExtension.class);
project.getTasks().create("brew", BrewTask.class);
}
} | true |
f6db47f2179784df676722ffadf8ef95e224b3b3 | Java | rybalkin-an/FirstLineSoftware | /Caresyntax/src/test/java/de/amazon/pages/ItemPage.java | UTF-8 | 378 | 1.984375 | 2 | [] | no_license | package de.amazon.pages;
import com.codeborne.selenide.SelenideElement;
import io.qameta.allure.Step;
import static com.codeborne.selenide.Selenide.$;
public class ItemPage {
private final SelenideElement addToCartButton = $("#add-to-cart-button");
@Step("Click 'Add To Cart' Button")
public void clickAd... | true |
d11027842e845abddb8f2ccb3f6d8ed2a24d4b04 | Java | Xuaoaoao/20151104786_Xuaoaoao | /tablemanage/src/com/server/HuiyuanxinxiServer.java | UTF-8 | 832 | 1.664063 | 2 | [] | no_license | package com.server;
import java.util.List;
import java.util.Map;
import com.entity.Huiyuanxinxi;
public interface HuiyuanxinxiServer {
public int add(Huiyuanxinxi po);
public int update(Huiyuanxinxi po);
public int delete(int id);
public List<Huiyuanxinxi> getAll(Map<String,Object> map);
publi... | true |
08bfbebca4cd51cc63ac0190dac1eea7b37ffc5d | Java | haryandrafatwa/MedTek | /app/src/main/java/com/example/medtek/ui/activity/MainActivity.java | UTF-8 | 23,303 | 1.554688 | 2 | [
"MIT"
] | permissive | package com.example.medtek.ui.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import and... | true |
f5370b70b849fdbd6ffd8d5ca52080dc3dbf0684 | Java | ot3107487/Concurs-Admitere---MAP | /Desktop/map/git/src/controller/AddCandidatController.java | UTF-8 | 2,645 | 2.671875 | 3 | [] | no_license | package controller;
import domain.Candidat;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import service.CandidatService;
import view.MessageAlert;
import java.awt.*;
import java.time.LocalDateTime;
public class AddCandidatController {
... | true |
84ed02261922dcc441e48f93c28c73fb81945e0c | Java | SUHYUNSHIM/Spring-day-is-coming-2 | /onAirStudy/src/main/java/com/kh/onairstudy/scheduler/controller/SchedulerController.java | UTF-8 | 9,307 | 2.359375 | 2 | [] | no_license | package com.kh.onairstudy.scheduler.controller;
import java.sql.Date;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... | true |
2e4bc8105a7811e79a070f603dbd752936b113f2 | Java | pdoro/hexagonal-architecture-sample | /src/main/java/com/cel/hexarchsample/infrastructure/exception/BaseInfrastructureException.java | UTF-8 | 557 | 2.375 | 2 | [] | no_license | package com.cel.hexarchsample.infrastructure.exception;
import java.util.HashMap;
import java.util.Map;
public abstract class BaseInfrastructureException extends RuntimeException {
private final Map<String, Object> metadata;
public BaseInfrastructureException() {
this.metadata = new HashMa... | true |
7e596fcb543fe7782ba5367c1f8f59438ec8957a | Java | Coleman97/hashcode | /main/SliceHashcode.java | UTF-8 | 3,165 | 3.046875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package main;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Li... | true |
fe4aea7fc160376dd5b559dfaa663fc804f0e3be | Java | feyselmubarek/Introduction_to_CompetitiveProgramming | /Lesson 05/Random-Generator/RandomGenerator.java | UTF-8 | 773 | 3.71875 | 4 | [] | no_license | import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
/**
* RandomGenerator
*/
public class RandomGenerator {
Random random;
public RandomGenerator() {
random = new Random();
}
public ArrayList<Integer> getRandomNumber(int howMany) {
ArrayList<Integer> a... | true |
746392ff263a1f2be9e7c04c4faff3b9761b3f2e | Java | yese777/GoF23 | /src/com/yese/abstractfactory/XiaomiIRouter.java | UTF-8 | 550 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package com.yese.abstractfactory;
/**
* 小米路由器产品
*/
public class XiaomiIRouter implements IRouterProduct {
@Override
public void start() {
System.out.println("启动小米路由器");
}
@Override
public void shutdown() {
System.out.println("关闭小米路由器");
}
@Override
public void openWi... | true |
b377071a8c6224138389b18743a662b3bd6d3e59 | Java | gogognome/gogodataaccess | /src/test/java/nl/gogognome/dataaccess/dao/AbstractDAOTest.java | UTF-8 | 13,508 | 2.640625 | 3 | [
"Apache-2.0"
] | permissive | package nl.gogognome.dataaccess.dao;
import nl.gogognome.dataaccess.DataAccessException;
import nl.gogognome.dataaccess.transaction.*;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.Connection;
import j... | true |
49893b7e9d08ee17ec4e7d162810cabb2d66b344 | Java | karamba808/taxi24 | /src/test/java/bk/project/RiderTest.java | UTF-8 | 632 | 1.835938 | 2 | [] | no_license | package bk.project;
import com.ninja_squad.dbsetup.Operations;
import com.ninja_squad.dbsetup.operation.Operation;
public class RiderTest {
public static Operation INSERT_RIDER=
Operations.insertInto("rider")
.columns("id", "names","status","latitude","longitude")
... | true |
027e772c231d81300838653bc4a101e1e7768ad4 | Java | Menakasak/FunctionalTest | /src/com/java/TruNarrative.java | UTF-8 | 5,425 | 2.28125 | 2 | [] | no_license | package com.java;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.ope... | true |
2e21156909205f7165621f9d6e163b180bb34593 | Java | TripleIE/LODBOE | /ILO/src/TE/pruning.java | UTF-8 | 1,612 | 2.171875 | 2 | [] | no_license | package TE;
import gov.nih.nlm.nls.metamap.MetaMapApi;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import util.CosineSimilarity;
import util.Dataset;
import DS.ConceptsDiscovery;
import DS.QueryEngine;
import com.hp.hpl.jena.rdf.mode... | true |
303e48e512f4dcc04c2fda873a32de059a514e12 | Java | SrishtiR/TravelNow | /TravelNow/src/com/travelnow/controller/PlaceInterest.java | UTF-8 | 1,827 | 2.140625 | 2 | [] | no_license | //package com.travelnow.controller;
//
//import javax.validation.Valid;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.validation.BindingResult;
//import org.springframework.web.b... | true |
9b37c84b02b63d04bbfc2d860caeb2ce05f1879a | Java | reddit/cassandra-reaper | /src/main/java/com/spotify/reaper/core/Cluster.java | UTF-8 | 1,326 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | true |
71a9a23ce0aec01b75f8db02650888d5270aab97 | Java | xuyanduo/recruitment | /src/main/java/com/website/recruitment/bean/ResumeDeliveryRecord.java | UTF-8 | 678 | 1.78125 | 2 | [] | no_license | package com.website.recruitment.bean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@Data
@ApiModel("个人简历投递表")
public class ResumeDeliveryRecord {
private Integer id;
@ApiModelProperty("用户id")
private Integer userId;
... | true |
45946230d86b96d5e5a38a6373c2bc13b42a1e3d | Java | dhall2211/CodingCampus2020bb | /src/Marcella/Museum/Main.java | UTF-8 | 1,717 | 3.09375 | 3 | [] | no_license | package Marcella.Museum;
import Gyula.oop.MultiInterfaces.Buchstabe;
import Gyula.oop.MultiInterfaces.IPrintStructure;
import java.util.Vector;
public class Main {
public static void main(String[] args) {
Museum elisabeth = new Museum("St. Elisabeth", 9.0, 17.0, 16.0);
Room raum1 = new Room(el... | true |
d777fb34387c5ad09030553cb0661d927f942971 | Java | priteshg/AdvancedJava8 | /src/main/java/com/learn/java/defaults/Interface4.java | UTF-8 | 161 | 2.5 | 2 | [] | no_license | package com.learn.java.defaults;
public interface Interface4 {
default void methodA() {
System.out.println("Method A" + Interface4.class);
}
}
| true |
f8a6c70a143268e2503ed396814700d2e0d2c97e | Java | LCDesk/leetcode148 | /src/经典148/ImplementStrstr.java | UTF-8 | 1,890 | 3.375 | 3 | [] | no_license | package 经典148;
public class ImplementStrstr {
//利用了substring
public String strStr1(String haystack, String needle) {
if ("".equals(needle.trim())) {
return haystack;
}
int len = needle.length();
for (int i = 0; i <= haystack.length() - len; i++) {
if (hay... | true |
999a94d44513fdfab66fcac17bbe91135e11c0b3 | Java | seasarorg/dbflute-nostalgic | /dbflute-s2dao-example/src/main/java/com/example/dbflute/basic/dbflute/allcommon/cbean/ResultBeanBuilder.java | UTF-8 | 3,163 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.example.dbflute.basic.dbflute.allcommon.cbean;
import java.util.List;
/**
* The builder of result bean.
* @param <ENTITY> The type of entity.
* @author DBFlute(AutoGenerator)
*/
public class ResultBeanBuilder<ENTITY> {
// ================================================================... | true |
9ec088109f2f4f90491d3a4fff6ae0c871c907f0 | Java | dannylantigua/javacore-exercises | /Advanced Java/VendingMachine-JavaConsoleAppWithSpringDI/src/main/java/com/sg/vendingmachine/services/VendingMachineServiceLayerImpl.java | UTF-8 | 3,019 | 2.8125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.sg.vendingmachine.services;
import com.sg.vendingmachine.dao.*;
import com.sg.vendingmachine.dto.VendingMachine;
import ja... | true |
f40d6315b566267b2340f60c8a3512d308acc518 | Java | sjm132/sms_comunication | /sms_communication_web/src/main/java/com/dzd/phonebook/business/MsmSendBusiness.java | UTF-8 | 11,523 | 1.789063 | 2 | [] | no_license | package com.dzd.phonebook.business;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.js... | true |
82a891e0e33736bb45666cdc33d7f999a80d190c | Java | tanweijie123/ip | /src/main/java/duke/command/AddCommand.java | UTF-8 | 882 | 3.234375 | 3 | [] | no_license | package duke.command;
import duke.task.Task;
import duke.util.TaskList;
import duke.util.Ui;
/**
* {@code AddCommand} is a child of {@code Command} object.
* On execution, it will add a given task into the task list.
*/
public class AddCommand extends Command {
private Task task;
/**
* Construc... | true |
0daf211ae0b5d7fa443db0e2ac9c8a2e8b4c21e4 | Java | briceamk/gmoney-ms | /partner-service/src/main/java/cm/g2s/partner/web/mapper/PartnerMapperDecorator.java | UTF-8 | 3,525 | 2.0625 | 2 | [] | no_license | package cm.g2s.partner.web.mapper;
import cm.g2s.partner.domain.model.Partner;
import cm.g2s.partner.service.company.model.CompanyDto;
import cm.g2s.partner.service.company.service.CompanyClientService;
import cm.g2s.partner.service.rule.model.RuleDto;
import cm.g2s.partner.service.rule.service.RuleClientService;
impo... | true |
87a2c6b1c972ae90ddb818cf1db25198f05eb3dd | Java | alenamor7/netcracker | /Spring_DI_Homework/src/com/netcracker/injection/Book.java | UTF-8 | 558 | 2.71875 | 3 | [] | no_license | package com.netcracker.injection;
import com.netcracker.genres.IGenre;
public class Book {
private IGenre genre;
private String title;
public Book(IGenre genre, String title) {
this.genre = genre;
this.title = title;
}
public Book() {
}
public IGenre getGenre() {
... | true |
0093510b4f3928a744f43c84f5e4b43af6217bbf | Java | SalvadorLopezGomez/construccion | /MaterialesDeCon/src/pack/MaterialesDeCon/Main.java | UTF-8 | 6,506 | 2.25 | 2 | [] | no_license | package pack.MaterialesDeCon;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
import pack.MaterialesDeCon.View.CorteCajaController;
//import pack.MaterialesDeCon.View.EditarPr... | true |
a2ac47072eacac064935d13dde2cf34f3e38b5c9 | Java | xionglinpeng/violet | /violet-core/src/main/java/com/violet/web/support/returns/RequestMappingHandlerAdapterAdvice.java | UTF-8 | 2,361 | 2 | 2 | [] | no_license | package com.violet.web.support.returns;
import com.violet.web.support.returns.handler.HandlerMethodReturnValueWrapperHandler;
import com.violet.web.support.returns.handler.ReturnValueWrapperHandlerConfig;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Aut... | true |
c86c5f2045badf09aad9aefc13e8af4c49910d2e | Java | edog507/InvadedLandsEvents | /src/me/nicbo/InvadedLandsEvents/events/sumo/Sumo2v2.java | UTF-8 | 217 | 1.617188 | 2 | [] | no_license | package me.nicbo.InvadedLandsEvents.events.sumo;
import me.nicbo.InvadedLandsEvents.EventsMain;
public class Sumo2v2 extends Sumo {
public Sumo2v2(EventsMain plugin) {
super("2v2 Sumo", plugin);
}
}
| true |
198feff9c97b1bbbe9e21067cb33857d7083a3a3 | Java | ohbokdong/DesignPatternStudy | /week1/sgmsgood/example/FriendRoboto.java | UTF-8 | 360 | 2.40625 | 2 | [] | no_license | package week1.sgmsgood.example;
public class FriendRoboto extends Roboto {
public FriendRoboto() {
talkBehavior = new FriendlyTalk();
cookingBehavior = new HealthyFood();
}
@Override
public void display() {
System.out.println("�λ��� ȥ�ڶ����� ����� ������ ģ���� �Ǿ�帱�Կ�.");
}
}
| true |
903b73ff09043ef4e3618e5a0489b623deb9f16b | Java | Imlucky77/Javacup | /src/main/java/free/interfaces/ClassExtends.java | UTF-8 | 289 | 2.46875 | 2 | [] | no_license | package free.interfaces;
public class ClassExtends implements DefaultInterface {
@Override
public void myInterface() {
}
@Override
public void sameMethod() {
System.out.println("same Method");
}
@Override
public void yourInterface() {
}
}
| true |
abe2044e3b238cb1c939470b2f54665e5cf7e6c5 | Java | marcosadrielcosta/Closer | /app/src/main/java/com/example/marco/biblia/Plan/Plan.java | UTF-8 | 3,424 | 2.171875 | 2 | [] | no_license | package com.example.marco.biblia.Plan;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.CalendarView;
import android.widget.Toast;
import com.example.marco.biblia.Leitura.Livros;
import co... | true |
e619f1bcecae6db03c7dddaaf3841d9e0a105bb3 | Java | jmg-duarte/icl1920 | /src/compiler/CoreCompiler.java | UTF-8 | 2,202 | 2.65625 | 3 | [] | no_license | package compiler;
import ast.ASTNode;
import env.Environment;
import types.IType;
import types.TFun;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.Map;
public class CoreCompiler {
private LineBuilder lineBuilder = new LineBuilder();
private Environment<IType> globalEnvironment... | true |
428bcf81ecb52e792e1ba6d9bcfef5cfa48d10f4 | Java | thushanth-bengre/FineManagement | /TransportDept/src/main/java/com/me/transport/controller/AjaxController.java | UTF-8 | 862 | 2.09375 | 2 | [] | no_license | package com.me.transport.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMetho... | true |
388c4c69448f031b0f7b1bb02ea288270b7a0a31 | Java | rohanbharadwaj/practise | /MergeInterval.java | UTF-8 | 1,970 | 3.875 | 4 | [] | no_license | /**
* Merge Overlapping Intervals
*
* Input:[1,3], [2,6], [8,10], [15,18]
* Output: [1,6], [8,10], [15,18]
* src : leetcode
*/
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
class Interval {
int start;
int end;
Interval() {
start = 0;
end = 0;
}
Interval(in... | true |
22be4533b0027f4a25586bbff1eb7d9ceb28cadf | Java | kryptag/DMassignment_3 | /src/Intersection.java | UTF-8 | 642 | 2.90625 | 3 | [] | no_license |
import java.util.ArrayList;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author florenthaxha
*/
public class Intersection {
public ArrayList<Integer> intersects(... | true |
5ae889effec1ae481fd272e8d6a1f0f8d6f62eb8 | Java | pedr0ni/MyCity-Android-App | /app/src/main/java/com/projetomycity/mycity/fragmentos/HomeFragment.java | UTF-8 | 2,150 | 2.140625 | 2 | [] | no_license | package com.projetomycity.mycity.fragmentos;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.Layout... | true |
8f772f7fc572ae857d8efcd4f2f52a82ad385963 | Java | Andersonbk17/Trabalho_LTP3 | /TrabalhoLTP3/src/br/edu/ifnmg/tads/Ltp3/Apresentacao/frmCadastroCliente.java | UTF-8 | 38,626 | 1.914063 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.ifnmg.tads.Ltp3.Apresentacao;
import br.edu.ifnmg.tads.Ltp3.DataAccess.ClienteDAO;
import br.edu.ifnmg.tads.Ltp3.Model.Cliente;
import br.edu.ifnmg.tads.Ltp3.Model.Email;
import br.edu.ifnmg.tads.Ltp3.Mod... | true |
7cb7690aa67a1bef790d1209e5ece9c56e7b527b | Java | otkp/28-reg-vo | /epragati-reg-vo/src/main/java/org/epragati/aadhaarseeding/vo/AadhaarSeedVO.java | UTF-8 | 8,320 | 1.78125 | 2 | [] | no_license | package org.epragati.aadhaarseeding.vo;
/**
* @author krishnarjun.pampana
*/
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import org.epragati.aadhaar.AadhaarDetailsRequestVO;
import org.epragati.aadhaar.AadharDetailsResponseVO;
import org.epragati.constants.EnclosureType;
impo... | true |
7bd1bc5f5033f041518c50f8afd60b6735582141 | Java | oneboat/lg-master | /lg-provider/lg-biz/src/main/java/com/lg/biz/aop/ServiceExceptionHandle.java | UTF-8 | 3,259 | 2.375 | 2 | [] | no_license | package com.lg.biz.aop;
import com.google.common.base.Throwables;
import com.lg.commons.base.exception.BusinessException;
import com.lg.commons.util.wrapper.WrapMapper;
import com.lg.commons.util.wrapper.Wrapper;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.ann... | true |
df9a4748098db38d3609175c4dd64d8151f4f476 | Java | hellozw52/myGit | /ZwSshDangJiaoCount/src/com/ssh/bean/SiteserverGatherRuleId.java | UTF-8 | 1,977 | 2.390625 | 2 | [] | no_license | package com.ssh.bean;
/**
* SiteserverGatherRuleId entity. @author MyEclipse Persistence Tools
*/
public class SiteserverGatherRuleId implements java.io.Serializable {
// Fields
private String gatherRuleName;
private SiteserverNode siteserverNode;
// Constructors
/** default constructor */
... | true |
9ce2444f8b5a9dba4a073173d822d6438ebe04f6 | Java | redporrot/nbp-resources | /7.2/misc/PresentationIntegrator/src/org/netbeans/preso/integrato/PresentationChildfactory.java | UTF-8 | 5,399 | 2.078125 | 2 | [] | no_license | package org.netbeans.preso.integrato;
import java.awt.event.ActionEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.prefs.PreferenceChangeEvent;
imp... | true |
05e37f79a0858a672022115c93119d01f8d307f5 | Java | twltony/beauty_ssm | /src/main/java/com/tangwl/ssm/web/UserController.java | UTF-8 | 4,839 | 1.976563 | 2 | [] | no_license | package com.tangwl.ssm.web;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.tangwl.ssm.entity.User;
import com.tangwl.ssm.entity.ZzAccess;
import com.tangwl.ssm.entity.ZzUser;
import com.tangwl.ssm.service.UserService;
import com.tangwl.ssm.service.ZzAccessService;
import com.tangw... | true |
e13e0b69dcd2098034fff9264cf9bcb02818facd | Java | mahathircode/tokonu | /app/src/main/java/nu/toko/Page/DetailNews.java | UTF-8 | 2,071 | 1.828125 | 2 | [] | no_license | package nu.toko.Page;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.nostra13.universalimageloader.core.ImageLoader;
import nu.toko.R;
import nu.toko... | true |
94248903a9a7e14edb142391f11d5556920844c1 | Java | xshi0001/MyBatisLearing | /mybatis-spring/src/test/java/com/itheima/mybatis/mapper/UserMapperTest.java | UTF-8 | 783 | 2.171875 | 2 | [] | no_license | package com.itheima.mybatis.mapper;
import com.itheima.mybatis.pojo.User;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import static org.junit.Assert.*;
/**
* @Description:
*
* 使用userMapper.java + userMap... | true |
92f4f7355961f226da1d69dcca61e75c3c1ed1a4 | Java | marschwar/depvis | /src/main/java/com/github/marschwar/depvis/cycles/Graph.java | UTF-8 | 2,238 | 3 | 3 | [] | no_license | package com.github.marschwar.depvis.cycles;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import static java.util.Collections.emptyList;
import static java.ut... | true |
956c4b05b91aa4a9b9bcf5e4a28b88caecb1fd01 | Java | Frictionlessdev/spring-boot-ssl | /src/main/java/com/sb/java/training/springboot/sample/web/SampleController.java | UTF-8 | 657 | 2.140625 | 2 | [] | no_license | package com.sb.java.training.springboot.sample.web;
import com.sb.java.training.springboot.sample.model.Employee;
import com.sb.java.training.springboot.sample.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import o... | true |