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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1405677e7dec5cf7cf0d128797ecec081f44c9d8 | Java | guominfang/ComponentDemo | /component/src/main/java/com/kwok/component/AppConfig.java | UTF-8 | 211 | 1.625 | 2 | [] | no_license | package com.kwok.component;
public class AppConfig {
public static final String[] COMPONENT = {
"com.kwok.newsmodule.NewsApplication",
"com.kwok.usermodule.UserApplication"
};
}
| true |
166131878566121a287ee53f313589bff08aae4e | Java | phantrang0112/DoAnJava | /WebBanHangJava/src/model/AccountModel.java | UTF-8 | 4,866 | 2.296875 | 2 | [] | no_license | package model;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.servlet.http.HttpSession;
import org.eclipse.jdt.internal.compiler.ast.ThisReference;
import controller.MyConnect;
import entities.Account;
... | true |
a4ce748fa254d1856411bb0fbcb4e5945851dde9 | Java | jamaldt/junittest | /src/main/java/com/curso/testing/payments/PaymentRequest.java | UTF-8 | 481 | 2.4375 | 2 | [
"MIT"
] | permissive | package com.curso.testing.payments;
/**
* System: CleanBnB
* Name: PaymentRequest
* Description: Class that represents a PaymentRequest's Entity in the application
*
* @author carlosdeltoro
* @version 1.0
* @since 11/9/21
*/
public class PaymentRequest {
privat... | true |
02e955cfbbb524bba4cfc63f47f4ccd35f916766 | Java | juniorsilver/ureport-android | /app/src/main/java/in/ureport/models/Story.java | UTF-8 | 2,807 | 2.25 | 2 | [] | no_license | package in.ureport.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import java.util.Date;
/**
* Created by johncordeiro on 7/14/15.
*/
@Table(name = "Story")
public class Story ex... | true |
963f1be872bfc88ddaec660d1262e34e1deff1df | Java | Dongdongdongs/work_java | /ch04/src/ch04/Ch04EX01_03.java | UTF-8 | 371 | 3.40625 | 3 | [] | no_license | package ch04;
import java.util.Scanner;
public class Ch04EX01_03 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String input = scanner.nextLine();
int age = Integer.parseInt(input);
if(age >= 20) {
System.out.println("agult");
} else {
System.... | true |
e5bdbd900c5c6920935fc955485f12b574ca0185 | Java | danielgalvaoguerra/Parallax---Java-Top-Down-Shooter | /src/SmallEnemy.java | UTF-8 | 2,025 | 2.90625 | 3 | [] | no_license | import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.geom.Ellipse2D;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
public class SmallEnemy extends Enemy{
public static final int SMALLENEMY_WIDTH = 25;
public... | true |
bb6770ca6218211104319c09d36368c1d6949aab | Java | kuali/rice | /rice-middleware/edl/framework/src/main/java/org/kuali/rice/edl/framework/util/EDLFunctions.java | UTF-8 | 9,701 | 1.875 | 2 | [
"Artistic-1.0",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"EPL-1.0",
"CPL-1.0",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"LGPL-3.0-only",
"ECL-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-jdom",
"LicenseRef-scancode-freemarker",
"LicenseRef-scancode-unk... | permissive | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | true |
f7b1bb7b6665c7cda876676fb70be31580a1a7f6 | Java | Daniel-Collins97/WIT-Student-Accommodation-System | /src/PropertyList.java | UTF-8 | 3,443 | 3.53125 | 4 | [] | no_license | import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
public class PropertyList {
PropertyNode head;
private PropertyNode tail;
/**
* Adds User Specified PropertyNode to the PropertyList
* @param propertyNode - User Specified PropertyNode to be added to PropertyL... | true |
b6ed677fcb4b75c7d92342cca73db6765dc7047c | Java | haifeiforwork/xmy | /xmy/xmy-cms-web/src/main/java/com/zfj/xmy/cms/web/controller/goods/FileUploadController.java | UTF-8 | 7,915 | 2.578125 | 3 | [] | no_license | package com.zfj.xmy.cms.web.controller.goods;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.io.FileU... | true |
a803f16d7adf8a67815acb214ae42a36849aa97e | Java | arafat5549/finalssm | /src/main/java/com/jqmkj/roadtrip/entity/SysUserRuleSetting.java | UTF-8 | 3,652 | 2.375 | 2 | [] | no_license | package com.jqmkj.roadtrip.entity;
import com.jqmkj.roadtrip.base.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
public class SysUserRuleSetting extends BaseEntity implements Serializable {
//ID
private Long id;
//连续签到天数
private Integer continueSignDay;
//连续签到赠送数量
priv... | true |
2cb6080c36c3d3de15eae098594def7da2ae059d | Java | hakan2259/news-website | /news-website/src/main/java/com/newswebsite/repository/HomeRepository.java | UTF-8 | 2,279 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package com.newswebsite.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.newswebsite.domain.News;
public interface HomeRepository extends JpaRepository<News, Long> {
@Query(value="select * from news ... | true |
19fe39207f602793d322ab3050b0e96d5179e671 | Java | St4rFi5h/JAVA-Project | /User.java | UHC | 709 | 3.34375 | 3 | [] | no_license | import java.util.Random;
public class User {
public String name;
Random random = new Random();
int dice1= random.nextInt(5)+1 , dice2= random.nextInt(5)+1;
int count =0;
int sum= dice1 + dice2;;
public String getName()
{
return name;
}
public void setName(String name)
{
this.name... | true |
1b14219028ee6e593220edc2e06a88026bd9f363 | Java | localcc/AndroidConnect-Android | /app/src/main/java/com/localchicken/androidconnect/Plugins/PluginBase.java | UTF-8 | 1,008 | 1.929688 | 2 | [] | no_license | package com.localchicken.androidconnect.Plugins;
import android.content.Context;
import android.os.Handler;
public class PluginBase {
private Context ctx;
private String pluginName;
private int pKey;
private Handler socketHandler;
public void setCtx(Context ctx){
this.ctx = ... | true |
1211c91f95e925c6708b0505cb8a3005b0814e26 | Java | Pawan534/myJavaScriptPrograms | /coreJava/JavaCode/src/com/abstractJava/Main.java | UTF-8 | 402 | 2.921875 | 3 | [] | no_license | package com.abstractJava;
public class Main {
public static void main(String[] args) {
Dog dog = new Dog("Yorkie");
dog.breath();
dog.eat();
Bird bird = new Paroot("Australian");
bird.fly();
bird.breath();
bird.eat();
Eagle eagle = new Eagle("Eag... | true |
5fc1621369137d3e9641ac5d70a521f8205d5b02 | Java | ychxx/YcUtilsX | /app/src/main/java/com/yc/ycutilsx/ScreenShotActivity.java | UTF-8 | 2,534 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package com.yc.ycutilsx;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.hardware.display.DisplayManager;
import android.hardware.display.VirtualDisplay;
import android.media.Image;
import android.media.ImageReader;
i... | true |
76ea0e0db95d80ab5d627e465d3ba7dbee52d171 | Java | appNG/appng | /appng-core/src/main/java/org/appng/core/controller/messaging/RabbitMQReceiver.java | UTF-8 | 5,601 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2011-2023 the original author or authors.
*
* 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 app... | true |
b64fa8bc1e9c839e56a042ab549a91e9eb041628 | Java | xeonye/portal | /portal_new/src/main/java/com/infosmart/portal/service/dwmis/MisEventService.java | UTF-8 | 889 | 2 | 2 | [] | no_license | package com.infosmart.portal.service.dwmis;
import java.util.List;
import java.util.Map;
import com.infosmart.portal.pojo.dwmis.DwmisMisTypePo;
import com.infosmart.portal.pojo.dwmis.MisEventPo;
public interface MisEventService {
public List<MisEventPo> getEventMassage(MisEventPo misEventPo);
/**
* 根据事件Id查询大事件... | true |
94cb66ee45045e9cfdceea865429f58abaea9a90 | Java | liuyunyicai/NurseNfcClient_HTTP | /app/src/main/java/hust/nursenfcclient/http/HttpUtils.java | UTF-8 | 1,574 | 2.3125 | 2 | [] | no_license | package hust.nursenfcclient.http;
import android.content.Context;
import com.squareup.okhttp.OkHttpClient;
import hust.nursenfcclient.http.okhttp.LoggingInterceptor;
import hust.nursenfcclient.http.okhttp.OkHttpClientUtils;
import retrofit.GsonConverterFactory;
import retrofit.Retrofit;
import retrofit.RxJavaCallAda... | true |
efcdb00e407dc765906fec6326041d7c29776640 | Java | shps/hdfs-scaledout-namenode | /KTHFSDashboard/src/main/java/se/kth/kthfsdashboard/log/LogController.java | UTF-8 | 1,309 | 2.15625 | 2 | [] | no_license | package se.kth.kthfsdashboard.log;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
/**
*
* @author x
*/
@ManagedBean(name = "logController")
@RequestScoped
public class LogController {
@EJB
private LogEJB ... | true |
d9743d4b52f60cfab573f79322d6ceb347c50caf | Java | yentann/PS | /app/src/main/java/com/example/ps/Main2Activity.java | UTF-8 | 2,751 | 2.171875 | 2 | [] | no_license | package com.example.ps;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
impor... | true |
0987cbd6c11b332e3b7f5e12cb419b7b05e53062 | Java | SergeyKonstantinov/ofd | /src/main/java/com/sergey/tasks/processors/RequestProcessor.java | UTF-8 | 2,363 | 2.53125 | 3 | [] | no_license | package com.sergey.tasks.processors;
import com.sergey.tasks.entity.objects.Command;
import com.sergey.tasks.entity.objects.CommandEntity;
import com.sergey.tasks.entity.exceptions.BadCommandNameException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
im... | true |
d20135c97b1914f28108aeb4de35caa65e1b4393 | Java | johnatanmarinho/ktestable | /src/main/java/br/com/johnatan/ktestable/Transitions.java | UTF-8 | 1,610 | 3.140625 | 3 | [] | no_license | package br.com.johnatan.ktestable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Transitions {
public static final String ERROR = "ERROR";
private Map<String, Map<Character, String>> transition; // Map<estado, Map<leitura, saida>>
private List<String> states;
private List<Cha... | true |
833708f4d8a09ee8165d88b34ee1da2cd98d9e99 | Java | cha63506/CompSecurity | /lyft-source/src/me/lyft/android/ui/passenger/PassengerClassicRideInProgressView.java | UTF-8 | 16,452 | 1.523438 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package me.lyft.android.ui.passenger;
import android.content.Context;
import android.content.res.Resources;
import android.text.Html;
import and... | true |
56ce6abafd6e0d1ebb4b0dbcb5cbffc2612d9773 | Java | anishrajan25/Leetcode | /430 Flatten a Multilevel Doubly Linked List.java | UTF-8 | 920 | 3.265625 | 3 | [] | no_license | // https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list/
/*
// Definition for a Node.
class Node {
public int val;
public Node prev;
public Node next;
public Node child;
};
*/
class Solution {
public Node flatten(Node head) {
if(head == null) return null;
... | true |
527e8c0d6a2d25cf7bbd051e815c9a87f7fd62aa | Java | pengchengming/myCode | /PcmBlog/PcmBlog/src/main/java/cn/pcm/dao/UserDaoImpl.java | UTF-8 | 2,047 | 2.5625 | 3 | [] | no_license | package cn.pcm.dao;
import java.util.List;
import javax.annotation.Resource;
import cn.pcm.domain.User;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.springframework.stereotype.Repository;
@Repository("userDao")
public class UserDaoImpl implements UserDao {
@Resource(name="sessionFa... | true |
deafd320dc76e114470d67d23579e92a80bd5eca | Java | Team-DegreeProject/-SQL | /OurSql/src/execution/table/TruncateTableStatement.java | UTF-8 | 980 | 2.609375 | 3 | [] | no_license | package execution.table;
import execution.ExecuteStatement;
import parsing.Token;
import table.BTree.BPlusTreeTool;
import table.BTree.CglibBean;
import table.Table;
import java.util.List;
//4 TRUNCATE TABLE 删除表中所有数据
//4.1 TRUNCATE tbname;
public class TruncateTableStatement {
public List statement;
public ... | true |
a6b5b22b2e9892ccc6af61ae3d8a4225f14563e0 | Java | WilsonZhang8/framework | /framework-web/framework-base-webapp/src/main/java/com/zghw/framework/base/controller/HelloBaseController.java | UTF-8 | 1,272 | 2.140625 | 2 | [] | no_license | package com.zghw.framework.base.controller;
import java.io.IOException;
import java.util.Random;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping... | true |
f877439f8bb95c2a62ce9f64a14c935fd595d37d | Java | Stewmath/WL3-Editor | /src/dialogs/AddRegionDialog.java | UTF-8 | 1,021 | 2.84375 | 3 | [] | no_license | package dialogs;
import graphics.*;
import javax.swing.*;
import java.awt.Dialog;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class AddRegionDialog extends JDialog {
JTextField sectorField;
JButton okButton;
public AddRegionDialog(J... | true |
157ce2758c3dc36e0fd065669a2bd5aefba1d25b | Java | zengqingfa88/activiti-in-action-code | /chapter7-spring-boot/src/main/java/me/kafeitu/activiti/chapter7/spring/boot/ActivitiController.java | UTF-8 | 2,392 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | package me.kafeitu.activiti.chapter7.spring.boot;
import org.activiti.engine.ManagementService;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;
import org.activiti.engine.repository.ProcessDefinition;
import org.activiti.engine.runtime.Pr... | true |
12cbbdc309d44b68e9e2792ddc840b98e8c6c4c1 | Java | xeruvimov/haulmont-test-task | /src/main/java/com/haulmont/testtask/data/entity/Order.java | UTF-8 | 2,669 | 2.484375 | 2 | [] | no_license | package com.haulmont.testtask.data.entity;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "CONTRACT") // "ORDER" is a reserved keyword
@NamedQueries({
@NamedQuery(name = "Order.findAll", query = "select o from Order o"),
@NamedQuery(name = "Order.findById", query = "select o ... | true |
a9c23a557009c418416f7f70fbacce61bfef3f7c | Java | tayanzhuifeng/spring-boot-inside | /demo-classloader-context/src/main/java/com/example/democlassloadercontext/HomeController.java | UTF-8 | 597 | 1.929688 | 2 | [
"MIT"
] | permissive | package com.example.democlassloadercontext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotati... | true |
9f4dbc626e5668403cc186c96cba80625081f132 | Java | geom4rios/producer-consumer | /src/test/java/com/geom4rios/javaproducerconsumer/producer/ProducerRunnerTest.java | UTF-8 | 3,638 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package com.geom4rios.javaproducerconsumer.producer;
import com.geom4rios.javaproducerconsumer.Engine;
import com.geom4rios.javaproducerconsumer.config.ProducerConsumerTestConfiguration;
import com.geom4rios.javaproducerconsumer.task.Task;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayNa... | true |
6f5e86cf27d848abc5f4df125ed8c7a0a857f7a3 | Java | barun-coder/tokensystem | /app/src/main/java/com/displayfort/dftoken/data/remote/ApiEndPoint.java | UTF-8 | 1,281 | 1.585938 | 2 | [] | no_license |
package com.displayfort.dftoken.data.remote;
/**
* Created by Yogesh on 07/07/17.
*/
public final class ApiEndPoint {
// public static final String ENDPOINT_SERVER_LICENSE = BuildConfig.BASE_URL + "login/licence";
// public static final String ENDPOINT_SERVER_TOKEN_SKIP = BuildConfig.BASE_URL + "token/toke... | true |
ffaaf6d2d24b27e46ef661407d367514cfbfbe69 | Java | ViacheslavKr/cinema | /src/main/java/com/krukovskyi/movie/rest/ReportingRestController.java | UTF-8 | 2,281 | 2.09375 | 2 | [] | no_license | package com.krukovskyi.movie.rest;
import com.krukovskyi.movie.models.Cinema;
import com.krukovskyi.movie.models.reports.BoxOfficeReport;
import com.krukovskyi.movie.models.reports.GapReport;
import com.krukovskyi.movie.services.ReportingService;
import org.springframework.beans.factory.annotation.Autowired;
import o... | true |
728e6af0f7177d31ca2db4df48c0a42b6f928e71 | Java | ctalau/web-author-diff-plugin | /src/main/java/com/oxygenxml/webapp/diff/DiffPlugin.java | UTF-8 | 312 | 1.5 | 2 | [] | no_license | package com.oxygenxml.webapp.diff;
import ro.sync.exml.plugin.Plugin;
import ro.sync.exml.plugin.PluginDescriptor;
/**
* Plugin class - needed to execute author operations.
*
* @author ctalau
*/
public class DiffPlugin extends Plugin {
public DiffPlugin(PluginDescriptor desc) {
super(desc);
}
}
| true |
d97448e159b17f5b2ad51def32a124e833a1a86a | Java | REBOOTERS/NetDiscovery | /core/src/main/java/com/cv4j/netdiscovery/core/queue/filter/DuplicateFilter.java | UTF-8 | 496 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.cv4j.netdiscovery.core.queue.filter;
import com.cv4j.netdiscovery.core.domain.Request;
/**
* Created by tony on 2018/1/3.
*/
public interface DuplicateFilter {
/**
*
* Check whether the request is duplicate.
*
* @param request request
* @return true if is duplicate
*/
... | true |
973f84ef51c16cf2f158bf8d52a5865fb04403bf | Java | Yashas-Kantharaj/Niit-java | /work/src/Game/Player.java | UTF-8 | 1,668 | 3.171875 | 3 | [] | no_license | package Game;
import java.io.IOException;
import java.util.Scanner;
class Player extends Board{
int player = 0;
int i;
int choice;
char mark,ch;
void playermoves() {
do{
Createboard();
Scanner in = new Scanner(System.in);
player = (player % 2 == 0) ? 1 : 2;
System.out.pri... | true |
69c89b7578be5fe4b74730a7e2a663248ba05b50 | Java | alexslo/CBP | /app/src/main/java/com/example/alex/cbp/CameraWBTest.java | UTF-8 | 7,440 | 2.109375 | 2 | [] | no_license | package com.example.alex.cbp;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.... | true |
7b46ccd8f0ed3c3c354e98c49bddf253d434766a | Java | junges521/src_awe | /src/main/java/com/ss/android/ugc/aweme/commercialize/splash/e.java | UTF-8 | 1,013 | 1.664063 | 2 | [] | no_license | package com.ss.android.ugc.aweme.commercialize.splash;
import android.animation.ObjectAnimator;
import android.view.View;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
public final /* synthetic */ class e implements Runnable {
/* renamed from: a reason: collision with root... | true |
5bf8204eade2e8e49132f2410bf03510b04dd1fb | Java | LvKang-insist/CarSteward | /core/src/main/java/com/car/core/delegate/web/IWebViewInitializer.java | UTF-8 | 713 | 1.9375 | 2 | [] | no_license | package com.car.core.delegate.web;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
/**
* Copyright (C)
*
* @file: IWebViewInitializer
* @author: 345
* @Time: 2019/5/4 15:32
* @description: ${DESCRIPTION}
*/
public interface IWebViewInitializer {
/... | true |
702f0f2544bd10a42e1d4af5226dd18bff51e717 | Java | ac1303/fxtiemo.top | /src/upload/uploadpicture.java | GB18030 | 3,355 | 2.421875 | 2 | [] | no_license | package upload;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import j... | true |
7b176d253e2d9acdc04ae0870849caa75f78ed77 | Java | TylerPierro/Project_0 | /src/main/java/gringotts/beans/Transaction.java | UTF-8 | 3,215 | 2.953125 | 3 | [] | no_license | package gringotts.beans;
import java.io.Serializable;
import java.time.LocalDateTime;
public class Transaction implements Serializable, Comparable<Transaction> {
/**
*
*/
private static final long serialVersionUID = -8083680691197788752L;
private double amount;
private LocalDateTime date;
private String ... | true |
f8178cb40caf903f24f3a50050ed58b55fecda08 | Java | bezjen/MealPlanGenerator | /src/main/java/com/bezjen/whattoeat/model/filter/ReplaceMealModel.java | UTF-8 | 543 | 2.171875 | 2 | [] | no_license | package com.bezjen.whattoeat.model.filter;
import java.util.ArrayList;
import java.util.List;
public class ReplaceMealModel extends BaseGeneratorFilterModel {
private Integer index;
private List<Long> mealsIds;
public ReplaceMealModel() {
super();
mealsIds = new ArrayList<>();
}
public Integer getIndex() ... | true |
794432797d0376e8c0faa4afb14f47c169855313 | Java | javaeplanet/CitiesProject | /CitiesProject/src/main/java/com/example/CitiesProject/CitiesProject/controller/BookController.java | UTF-8 | 1,608 | 2.4375 | 2 | [] | no_license | package com.example.CitiesProject.CitiesProject.controller;
import com.example.CitiesProject.CitiesProject.model.Book;
import com.example.CitiesProject.CitiesProject.repos.BookRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import reactor.cor... | true |
298eabf3394ed1d57a419949d3015eaa362d8544 | Java | altimetrik2019/nasdag-hiring-challenge | /src/main/java/com/nasdaq/nasdaghiringchallenge/repository/SellerRepository.java | UTF-8 | 324 | 1.671875 | 2 | [] | no_license | package com.nasdaq.nasdaghiringchallenge.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.nasdaq.nasdaghiringchallenge.model.SellerEntity;
@Repository
public interface SellerRepository extends JpaRepository<SellerEntity, Integer> {... | true |
dfeb0b9ee6a52c771909517b13a98f4a8f7e587f | Java | UntouchedOdin0/buildinggame | /me/stefvanschie/buildinggame/utils/guis/TimeMenu.java | UTF-8 | 7,297 | 2.640625 | 3 | [] | no_license | package me.stefvanschie.buildinggame.utils.guis;
import java.util.ArrayList;
import java.util.List;
import me.stefvanschie.buildinggame.managers.arenas.ArenaManager;
import me.stefvanschie.buildinggame.utils.Time;
import me.stefvanschie.buildinggame.utils.plot.Plot;
import org.bukkit.Bukkit;
import org.bukkit.ChatCo... | true |
910027233221f5e03d885bc631d7932bf269f0a7 | Java | irvs/ros_tms | /tms_ur/tms_ur_client/tms_ur_arviewer/src/main/java/com/github/irvs/ros_tms/tms_ur/tms_ur_arviewer/urclientactivity/MyView2.java | UTF-8 | 7,082 | 2.0625 | 2 | [] | permissive | package com.github.irvs.ros_tms.tms_ur.tms_ur_arviewer.urclientactivity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.PorterDuff;
import android.... | true |
9b86ffedb8dc49061ee2c9d964d04a6c33406b4d | Java | theFaustus/tekwill-java-fun | /src/methods/building/Computer.java | UTF-8 | 357 | 3.03125 | 3 | [
"MIT"
] | permissive | package methods.building;
public class Computer {
private String notes;
public Computer() {
this.notes = "n/a";
}
public Computer(String notes) {
this.notes = notes;
}
public String getNotes() {
return notes;
}
public void setNotes(String notesMemory) {
... | true |
ac6b78c57c9430e3bd5d3a3370cce69a4bbce969 | Java | ria28/Elemenopee | /app/src/main/java/org/wazir/build/elemenophee/Teacher/Fragments/videoFrag.java | UTF-8 | 4,210 | 2.046875 | 2 | [] | no_license | package org.wazir.build.elemenophee.Teacher.Fragments;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import andr... | true |
bc6c54eeece33d8572ba56142b3fa54486b532ef | Java | EmbedITCZ/jbehave-support | /jbehave-support-core/src/main/java/org/jbehavesupport/core/rest/RestServiceSteps.java | UTF-8 | 4,610 | 2.34375 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | package org.jbehavesupport.core.rest;
import java.io.IOException;
import lombok.RequiredArgsConstructor;
import org.jbehave.core.annotations.Given;
import org.jbehave.core.annotations.Then;
import org.jbehave.core.annotations.When;
import org.jbehave.core.model.ExamplesTable;
import org.jbehavesupport.core.expression... | true |
6592fdf1246d904d7ccb62fc7590bbdc93fb96cf | Java | mbdebbeler/java-http-server | /src/test/java/server/SocketDispatcherTest.java | UTF-8 | 1,783 | 2.8125 | 3 | [
"MIT"
] | permissive | package server;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
public class SocketDispatcherTest {
private int portNumber = 6666;
private MockDispatcher mockDispatcher;
private MockServerSocketWrapper mockServerSocketWrapper;
private MockSocketWra... | true |
928efe3240b80c485f996ed88c0f6a2478a8a83f | Java | wohajo/blogg-app-be-2 | /src/main/java/com/prawda/demoBlogBE/domain/user/UserAPIRequest.java | UTF-8 | 3,278 | 2.609375 | 3 | [] | no_license | package com.prawda.demoBlogBE.domain.user;
import am.ik.yavi.builder.ValidatorBuilder;
import am.ik.yavi.core.Validator;
import am.ik.yavi.core.ViolationMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.codec.digest.DigestUtils;
@Data
@AllArgsCon... | true |
0ed075024025de45aa3a2bf4e39704333cf857b4 | Java | moutainhigh/GWMS-master | /src/main/java/com/huanqiuyuncang/controller/wms/kuwei/BaoGuoKuWeiController.java | UTF-8 | 7,499 | 1.960938 | 2 | [] | no_license | package com.huanqiuyuncang.controller.wms.kuwei;
import com.huanqiuyuncang.controller.base.BaseController;
import com.huanqiuyuncang.entity.Page;
import com.huanqiuyuncang.entity.customer.CustomerEntity;
import com.huanqiuyuncang.entity.kuwei.BaoGuoKuWeiEntity;
import com.huanqiuyuncang.entity.kuwei.CangKuEntity;
impo... | true |
e02ec854d74710ed2a3d06a0e06c3a1ed0291825 | Java | ShymaaLotfy/Movie | /app/src/main/java/com/example/android/movie/Networking/ActorsDownloadTask.java | UTF-8 | 456 | 2.140625 | 2 | [] | no_license | package com.example.android.movie.Networking;
import com.example.android.movie.Models.Actors;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Shimaa on 8/30/2016.
*/
public class ActorsDownloadTask extends DownloadTask<Actors> {
... | true |
7140c08ff67d883bf4964d6190103e26b3449133 | Java | lstsir2019/simple-faculte-besoin | /src/main/java/com/faculte/simplefacultebesoin/domain/model/dao/ExpressionBesoinItemDao.java | UTF-8 | 894 | 1.75 | 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 com.faculte.simplefacultebesoin.domain.model.dao;
import com.faculte.simplefacultebesoin.domain.bean.ExpressionBesoinIt... | true |
fd1026a087ca884cee884eaca5df0735177065fe | Java | va-collabnet-archive/tk3 | /tk-api-dto/src/main/java/org/ihtsdo/fxmodel/concept/component/refex/type_comp_long/FxRefexCompLongVersion.java | UTF-8 | 3,404 | 2.515625 | 3 | [] | no_license | package org.ihtsdo.fxmodel.concept.component.refex.type_comp_long;
//~--- non-JDK imports --------------------------------------------------------
import javafx.beans.property.SimpleLongProperty;
import org.ihtsdo.fxmodel.concept.component.refex.type_comp.FxRefexCompVersion;
import org.ihtsdo.tk.api.ContradictionExc... | true |
70ee92e57fe6a7e573b0caf01ebe37b25feccb31 | Java | ChloeG77/Travel-Planner | /travel_planner_backend/src/main/java/com/laioffer/travel_planner_backend/repository/PlaceRepository.java | UTF-8 | 253 | 1.664063 | 2 | [] | no_license | package com.laioffer.travel_planner_backend.repository;
import com.laioffer.travel_planner_backend.entity.Place;
import org.springframework.data.jpa.repository.JpaRepository;
public interface PlaceRepository extends JpaRepository<Place, String> {
}
| true |
7c9dc2e36aac0b8e77dac72e3ba323081145a5c2 | Java | igorklimov/JavaCourses1-OOP | /src/CollectionAndDataSctructures/Book.java | UTF-8 | 570 | 2.84375 | 3 | [] | no_license | package CollectionAndDataSctructures;
public class Book {
public String title;
public int pageCount;
public String author;
public void setAuthor(String author) {
this.author = author;
}
public void setPageCount(int pageCount) {
this.pageCount = pageCount;
}
public voi... | true |
0deba03cbf1149f542e551cb808110e1a360d291 | Java | twass21/Practice | /src/BirthdayCalculator.java | UTF-8 | 1,838 | 4.03125 | 4 | [] | no_license | import java.util.Scanner;
/*
* @author Tyler Wassel
* Period 5
* Birthday Calculator
*/
public class BirthdayCalculator
{
public static void main(String[] args)
{
Scanner user = new Scanner(System.in);
System.out.print("First person please enter your name: ");
String firstName = user.nextL... | true |
4a14efc39285cb22b3797e9c2db9786d8e029ebd | Java | AmazingWines/EnglishExam | /EnglishExamProject-master/src/main/java/hstc/edu/cn/service/Impl/Read_Page_TitleServiceImpl.java | UTF-8 | 739 | 1.992188 | 2 | [] | no_license | package hstc.edu.cn.service.Impl;
import hstc.edu.cn.mapper.Read_Page_TitleMapper;
import hstc.edu.cn.po.Read_Page_Title;
import hstc.edu.cn.service.Read_PageService;
import hstc.edu.cn.service.Read_Page_TitleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... | true |
4a564b822b8ea3c4d32c236c8872985becf5d882 | Java | eweware/blahguarest | /src/main/java/com/eweware/service/mgr/auxiliary/InboxData.java | UTF-8 | 702 | 2.15625 | 2 | [] | no_license | package com.eweware.service.mgr.auxiliary;
import java.util.List;
import java.util.Map;
/**
* @author rk@post.harvard.edu
* Date: 7/7/13 Time: 11:56 PM
*/
public class InboxData {
private final Integer _inboxNumber;
private final List<Map<String, Object>> _inboxItems;
public InboxData(List<Ma... | true |
3cf9f5d51f76a98aa715fe3fc0d8188e40336866 | Java | sy8000/dlc20200908 | /src/main/java/cn/besbing/Entities/AllTaskExample.java | UTF-8 | 82,937 | 2.359375 | 2 | [] | no_license | package cn.besbing.Entities;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class AllTaskExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public AllT... | true |
6f58c30051a72ae336cb116196a4af4395cdc147 | Java | pepeto24/first-api-rest-library | /src/main/java/dev/elton/library/system/entities/Livro.java | UTF-8 | 2,656 | 2.296875 | 2 | [] | no_license | package dev.elton.library.system.entities;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persi... | true |
e4a1d06e8198f9197807c20d67884c468100b922 | Java | ganjahnavarro/mdl | /src/main/java/core/controller/CategoryController.java | UTF-8 | 2,048 | 2.1875 | 2 | [] | no_license | package core.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework... | true |
b6c687c35e8cbea37fc925a43b1492d5bf3b6fee | Java | phunhan239/ExampleAndroid | /menu/app/src/main/java/dvan/example/com/MainActivity.java | UTF-8 | 3,053 | 2.203125 | 2 | [] | no_license | package dvan.example.com;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;... | true |
67ebda136e03d31a2f968eff27fb3126af4e871e | Java | volkmuth/FFT | /tests/com/example/data/ChartDataTest.java | UTF-8 | 1,523 | 3.15625 | 3 | [] | no_license | package com.example.data;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
public class ChartDataTest {
private double[] x, y;
private ChartData data;
private static final double tol = 0.001;
@Before
public void setUp() throws Exception {
x = new double[100];
y = new doubl... | true |
a7ab43805b006c349bea153ebcc5b12899be0873 | Java | Agus458/Proyecto-JavaEE | /SteamIndie/SteamIndieCentral/src/main/java/enums/TipoPost.java | UTF-8 | 65 | 1.84375 | 2 | [] | no_license | package enums;
public enum TipoPost {
IMAGEN,
VIDEO,
TEXTO
}
| true |
27af6f7daeb2c2fc09f74a677c6660609e8b885d | Java | kjwbn1/TwentyHour-projectclear | /app/src/main/java/com/kjw/twentyhour/model/NewOrderSheet.java | UTF-8 | 505 | 2.140625 | 2 | [] | no_license | package com.kjw.twentyhour.model;
import java.util.List;
public class NewOrderSheet {
public List<NewProduct> newProductList;
public String totalPrice;
public String employee;
public String uploadDate;
public NewOrderSheet(List<NewProduct> newProductList, String employee, String uploadDate, Str... | true |
15373bcb65d15417ba4200054353a14b69a9c6bd | Java | mbari-org/vcr4j | /vcr4j-core/src/main/java/org/mbari/vcr4j/SimpleVideoIO.java | UTF-8 | 1,918 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | package org.mbari.vcr4j;
import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.subjects.Subject;
/**
* Sometimes you need a VideoIO object that is an amalgam of observables from different sources.
* This class provides a way assemble a VideoIO object using disparate observables
*
* @author Bri... | true |
091d9cf8182986dfd807cc5f8d9b555f5649d7c8 | Java | Isamyrat/OnlineShop | /OnlineShop/src/main/java/org/own/OnlineShop/Repository/AdsRepository.java | UTF-8 | 206 | 1.671875 | 2 | [] | no_license | package org.own.OnlineShop.Repository;
import org.own.OnlineShop.model.Ads;
import org.springframework.data.repository.CrudRepository;
public interface AdsRepository extends CrudRepository<Ads, Long> {
}
| true |
fb832e43ba6b15fb70544813c94b50bbb5bd5ddc | Java | fbayhan/springjpatutorial | /src/main/java/com/springdata/tarik/model/Category.java | UTF-8 | 1,670 | 2.390625 | 2 | [] | no_license | package com.springdata.tarik.model;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = "tblCategory")
public class Category {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long categoryId;
private String categoryName;
@ManyToM... | true |
04f79c3bcf5be762256b853a4fdf75f0c16d68b1 | Java | juany-ramirez/EstructurasP3 | /Complejos hospitalarios/src/complejos/Emergencia.java | UTF-8 | 748 | 1.984375 | 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 complejos;
import java.io.Serializable;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Array... | true |
f0e1835471d0a399031126d108ef062d51b9446c | Java | risskla/bookmybook | /src/dao/AdminParametersDao.java | ISO-8859-2 | 5,928 | 2.515625 | 3 | [] | no_license | package dao;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import beans.AdminParameters;
public class AdminParametersDao {
public static ... | true |
873a5b7abc8b5cbb355c6236fa684dadb8c862fd | Java | pabloigoldi/procesarFacturacion | /fuente/procesar.facturar.pedidos/src/main/java/modelo/Cliente.java | UTF-8 | 1,078 | 2.421875 | 2 | [] | no_license | package modelo;
import enums.CondicionImpositivaEnum;
import enums.TipoDocumentoEnum;
public class Cliente {
private Long nro;
private String domicilio;
private CondicionImpositivaEnum condicionImpositiva;
private TipoDocumentoEnum tipoDocumento;
private Long nroDocumento;
public Long getNro() {
return nro... | true |
6e152403dcc5225df4752b42b3b310485d4300af | Java | ductmkma/quanlydoanvien | /src/main/java/com/zent/controller/ForgotPasswordServlet.java | UTF-8 | 5,302 | 2.203125 | 2 | [] | no_license | package com.zent.controller;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import java.util.Random;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.NoSuchProviderExcepti... | true |
d9c9b7b523aa41881de09927d59dadadb21b0b62 | Java | abrums21/muscleCaptain | /src/com/chenglong/muscle/MyTipDB.java | UTF-8 | 5,497 | 2.765625 | 3 | [
"Apache-2.0"
] | permissive | package com.chenglong.muscle;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
public class MyTipDB {
private SQLiteDatabase db = null;
private static String MY_DATABASE_... | true |
477e35966900c3834f54b5dcbd0d9ef17eb5b241 | Java | bhargavskr/JavaProg | /ArraysDemo.java | UTF-8 | 629 | 3.5625 | 4 | [] | no_license | import java.util.*;
class ArraysDemo
{
public static void main(String arg[])
{
int a[]=new int[10];
for(int i=0;i<10;i++)
{
a[i]=-3*i;
}
System.out.print(" Contents");
display(a);
System.out.print(" Sorted ");
Arrays.sort(a);
display(a);
Arrays.fill(a,2,6,-1);
System.out.print(... | true |
e50776426dd5f4018e9cb9e7ee460becda8df6b0 | Java | douglashu/hq-forecast | /scrati/common/src/main/java/com/hq/scrati/common/util/geo/pointgrid/IPointAreaGather.java | UTF-8 | 511 | 2.125 | 2 | [] | no_license | package com.hq.scrati.common.util.geo.pointgrid;
import java.util.List;
import com.hq.scrati.common.util.geo.base.IPoint;
/**
* 点集合范围判断
* @author MAC
*/
public interface IPointAreaGather {
/**
* 初始化
*/
void init();
/**
* 设置点集合
* @param cacheList
*/
void setCacheList(List<IPoint> cacheList);
/... | true |
1ece11f4f40b2e906c7153acf2573812e0b4ea44 | Java | evanluo1988/risk-management | /start_model/src/main/java/com/springboot/cache/ServerCacheLoader.java | UTF-8 | 2,645 | 1.984375 | 2 | [] | no_license | package com.springboot.cache;
import com.springboot.service.*;
import com.springboot.utils.DetectCacheUtils;
import com.springboot.utils.ServerCacheUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import o... | true |
adcb339f2f45588c2b1981476f29b9e9ac2d69a6 | Java | chenshuo/bazel | /src/test/java/com/google/devtools/build/android/desugar/testdata/java8/InterfaceMethod.java | UTF-8 | 1,967 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | // Copyright 2017 The Bazel Authors. 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 License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | true |
d7d6b4028e8d2a978f29048ea6ababe8638b45d4 | Java | crsedgar/test-utils | /modules/test-db-api/src/main/java/uk/org/cobaltdevelopment/test/db/dataset/DataSetContext.java | UTF-8 | 2,425 | 2.984375 | 3 | [] | no_license | package uk.org.cobaltdevelopment.test.db.dataset;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Context for storing values that are made available to any replacement
* <code>DataSet</code> implementations.
*
* @author "C... | true |
61ed8b11519dcd999fc6781309d28949846de373 | Java | BrandonTownson/Android-Final | /lab1/listItems.java | UTF-8 | 4,732 | 2.1875 | 2 | [] | no_license | package com.example.brandon.lab1;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.provider.MediaStore;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.o... | true |
b7a024b6ba39d1f733763829da4ea7f41bfe6822 | Java | ZiqiPolimeros/Java-Chapter4-Loops-and-Files-Chapter5-Methods | /Arithmetica.java | UTF-8 | 1,930 | 4.21875 | 4 | [
"MIT"
] | permissive |
package arithmetica;
import java.util.Scanner;
public class Arithmetica {
public static void main(String[] args) {
String a;
System.out.println("If you want to calculate square of a number,please type in \"square(number)\".\n "+
"If you want to calcul... | true |
c96f9276f6b0bda9aef7bf311c812ce11d86bd85 | Java | VDuda/SyncRunner-Pub | /src/API/amazon/mws/xml/JAXB/PaymentTypes.java | UTF-8 | 1,965 | 2.03125 | 2 | [
"MIT"
] | permissive | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.05.03 at 03:15... | true |
7663b255ddc731615db40c430ebdee132d275db8 | Java | somsomy/petcenter | /src/main/java/com/somsomy/domain/CatsBean.java | UTF-8 | 2,498 | 2.265625 | 2 | [] | no_license | package com.somsomy.domain;
import java.sql.Timestamp;
public class CatsBean {
private int catId;
private String catName;
private String catAge;
private String catGender;
private String catNeuter;
private String catDate;
private String catVaccination;
private String catIng;
private String catInfo;
private T... | true |
6fb2d3c31e4cfd11cbf6f3e5531c0cddfa68b11d | Java | ttnam/testhau | /app/src/main/java/io/yostajsc/izigo/usecase/trip/adapter/MemberActiveOnMapsAdapter.java | UTF-8 | 2,415 | 2.359375 | 2 | [] | no_license | package io.yostajsc.izigo.usecase.trip.adapter;
import android.content.Context;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import java.util.Ar... | true |
39540d8379c65d5f27594adbf2533a91029338f8 | Java | charulatalodha/BulletinBuzz | /Bulletin_Buzz/src/com/example/bulletin_buzz/mba.java | UTF-8 | 8,824 | 1.914063 | 2 | [] | no_license | package com.example.bulletin_buzz;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.Progres... | true |
8ab97159476ac90580d269a5a2b95075de8edf71 | Java | li525917388/normal | /ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/NoCheckController.java | UTF-8 | 6,978 | 1.859375 | 2 | [
"MIT"
] | permissive | package com.ruoyi.web.controller.system;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annota... | true |
ce412a63fb1bb87316a6c5a5749d453538342c26 | Java | Enos-game/Assigment-2 | /src/main/java/it/unipd/tos/business/TakeAwayBill.java | UTF-8 | 460 | 1.789063 | 2 | [] | no_license | ////////////////////////////////////////////////////////////////////
// [Lorenzo] [Piran] [1193526]
////////////////////////////////////////////////////////////////////
package it.unipd.tos.business;
import java.util.List;
import it.unipd.tos.model.MenuItem;
import it.unipd.tos.model.User;
import it.unipd.tos.business.... | true |
02496b393e3f26d5a7252e9d2ed3a65607c1edfa | Java | sasachichito/commons-domain | /src/main/java/com/github/sasachichito/event/DomainEvent.java | UTF-8 | 423 | 2.515625 | 3 | [] | no_license | package com.github.sasachichito.event;
import java.time.LocalDateTime;
/**
* The representation of event in the domain.
*/
public interface DomainEvent {
/**
* Gets this event version.
*
* @return the version
*/
public Integer version();
/**
* Gets datetime when this event occ... | true |
fadc4895cd535bc92b4ba033b7eeb4845d804a13 | Java | nayoung2/java01 | /src/step07/Exam02.java | UTF-8 | 770 | 3.8125 | 4 | [] | no_license | /*주제 : 클래스 공용 변수 사용 */
//step06 메서드
package step07;
public class Exam02 {
public static void main(String[] args) {
// 1) 클래스 공용 변수 사용 전
// => 2 * 3 + 6 - 7 = ?
int a = Calculator.multiple(2, 3);
a = Calculator.plus(a, 6);
a = Calculator.minus(a, 7);
System.out.println(a);
// 2) 클래스 공용 ... | true |
8346ab148b1529ae53a913a22b1a2546cb0df758 | Java | GPC-debug/micro | /order-module/src/main/java/com/goldmantis/mapper/own/purchase/WhsPurchaseApplicationPaymentItemMapper.java | UTF-8 | 1,097 | 1.632813 | 2 | [] | no_license | package com.goldmantis.mapper.own.purchase;
import com.goldmantis.base.BaseMapper;
import com.goldmantis.entity.own.purchase.WhsPurchaseApplicationPaymentItem;
import com.goldmantis.entity.own.purchase.WhsSupplierBasic;
import java.util.List;
import java.util.Map;
public interface WhsPurchaseApplicationPaymentItemMa... | true |
5ddf3a5360dac3f08b15b7188b5e73054aadcb35 | Java | loschmidt/clustering | /src/main/java/loschmidt/clustering/distance/AvgClusterDistanceCalculator.java | UTF-8 | 670 | 2.734375 | 3 | [] | no_license | package loschmidt.clustering.distance;
import loschmidt.clustering.IndexCluster;
/**
*
* @author Jan Stourac
*/
public class AvgClusterDistanceCalculator implements ClusterDistanceCalculator {
private final DistanceProvider distanceProvider_;
public AvgClusterDistanceCalculator(DistanceProvider distanceProvide... | true |
e4b6cb60f51048d30be1cbc7e68ce165fbc9a83f | Java | han-tun/VRDR_javalib | /src/main/java/edu/gatech/VRDR/model/InjuryLocation.java | UTF-8 | 412 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | package edu.gatech.VRDR.model;
import org.hl7.fhir.dstu3.model.Location;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import edu.gatech.VRDR.model.util.CommonUtil;
@ResourceDef(name = "Location", profile = "http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Injury-Location")
public class InjuryLocation ext... | true |
d772e7723e70f9c3e87f85fc7276fdaf544abf28 | Java | Drakwars/GroupeA07_Android | /app/src/main/java/com/example/flori/groupea07_mobile/Model/SellerUser.java | UTF-8 | 1,183 | 2.390625 | 2 | [] | no_license | package com.example.flori.groupea07_mobile.Model;
public class SellerUser {
private int idSeller;
private String username;
private int nbSales;
private int positiveVote;
private int negativeVote;
private int idUser;
public SellerUser(int idS, String user, int nb, int pVote, int nVote, int... | true |
79734ade4a99c8566ed6c7745c92843023c80f65 | Java | thilina01/n-api | /src/main/java/com/nanosl/n/module/teammenu/TeamMenuRepository.java | UTF-8 | 698 | 1.914063 | 2 | [] | no_license | package com.nanosl.n.module.teammenu;
import com.nanosl.n.module.menu.Menu;
import com.nanosl.n.module.team.Team;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
public in... | true |
c4d4ecd9c2251733cd6a559c6d21705c81fa59d5 | Java | Ratel88/450BioProject | /magictool/groupdisplay/CircleDisplayFrame.java | UTF-8 | 11,246 | 2.171875 | 2 | [] | no_license | /*
* MAGIC Tool, A microarray image and data analysis program
* Copyright (C) 2003 Laurie Heyer
*
* This program 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 Software Foundation; either version 2
* of the Li... | true |
18097f686fc25682f87543bf3a221ff8c90d7280 | Java | viorels/wakeup-android | /src/co/iwakeup/GameActivity.java | UTF-8 | 1,237 | 2.34375 | 2 | [] | no_license | package co.iwakeup;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class GameActivity extends Activity {
WebView gameWebView;
@Override
protected void onCreate(Bundl... | true |
2350a7eee3d7682443342ccef176153873818811 | Java | SbstnErhrdt/mms | /mms/src/model/content/Module.java | UTF-8 | 4,352 | 2.203125 | 2 | [] | no_license | package model.content;
import java.sql.Timestamp;
import java.util.ArrayList;
import util.Utilities;
public class Module extends Content {
private int moduleID;
private String director_email;
private boolean isCritical;
// parent subjects
private ArrayList<Integer> subjectIDs;
// lecturers
... | true |
c12307e99f1523d707b23f18ab991500f7e60b19 | Java | hunny/xplus | /commons/trunk/commons-compiler/src/main/resources/ok/test/Test.java | UTF-8 | 147 | 1.648438 | 2 | [
"MIT"
] | permissive | package ok.test;
public class Test {
public boolean show() {
System.out.println("类动态编译和加载测试。");
return true;
}
} | true |