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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
406343e392de1b08f4a4049d1fb32d6cc9e1a835 | Java | fermin-agomaa/hello-world-rest | /src/main/java/com/adnu/demo/repository/CustomNoteRepositoryImpl.java | UTF-8 | 1,936 | 2.515625 | 3 | [] | no_license | /**
*
*/
package com.adnu.demo.repository;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import c... | true |
0b30c4f0020d6b3a17d49412c7180ed87e483665 | Java | dlehdgh15/donghoho | /java19WS/StringEx/src/StringEx.java | UHC | 2,978 | 3.578125 | 4 | [] | no_license | import java.util.StringTokenizer;
public class StringEx {
public static void main(String[] args) {
String name ="ȫ浿";
if(name.equals("ȫ浿")){
System.out.println("ȫ浿Դϴ");
}
String goodscode="E0001"; //E Electronic ,ǰ
String orderNumber="20190228000001";
// ڿ
System.out.println(goodscode.l... | true |
b05160ec4a43c9f3c329b66b906b0ec9cd155326 | Java | zljnx/Six_PTP | /Six_PTP_AModel/src/main/java/com/six/model/WhbUnderline.java | UTF-8 | 3,648 | 1.9375 | 2 | [] | no_license | package com.six.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* Created by Administrator on 2018/5/19.
*/
public class WhbUnderline implements Serializable{
private static final lon... | true |
26bd6efd592e2a04bc25fa752fc5a04de5443fd4 | Java | dapigu4/webdesign | /Demo3/src/main/java/management/pojo/Flow.java | UTF-8 | 2,129 | 2.125 | 2 | [] | no_license | package management.pojo;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class Flow {
private Integer id;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JSONField(format = "yyyy-MM-dd")
private Date flow... | true |
f3053a96fdc748e93dce40ac9cd2d8b64513b1bd | Java | NurbalaKaldybayeva/cucumber-JUnit-framework | /src/test/java/com/prestashop/step_definitions/LoginStrepDefenition.java | UTF-8 | 4,065 | 2.234375 | 2 | [] | no_license | package com.prestashop.step_definitions;
import org.openqa.selenium.Keys;
import org.openqa.selenium.support.ui.Select;
import static org.junit.Assert.*;
import com.github.javafaker.Address;
import com.github.javafaker.Faker;
import com.prestashop.pages.HomePage;
import com.prestashop.pages.MyAccountPage;
import com... | true |
4e8a940ed095ea37cc4d9b8f0b8b44decf131725 | Java | luanamartins/cracking-the-coding-interview | /src/main/java/chapter2/Question1.java | UTF-8 | 1,477 | 3.953125 | 4 | [] | no_license | package chapter2;
import java.util.ArrayList;
import java.util.List;
/**
*
* Remove Dups: Write code to remove duplicates from an unsorted linked list.
* FOLLOW UP How would you solve this problem if a temporary buffer is not
* allowed?
*
*/
public class Question1 {
public static List<Intege... | true |
6e0190ad6698b7962afc407312ac0480bc84fce0 | Java | archrisV/Exercism_solutions | /java/isogram/src/main/java/IsogramChecker.java | UTF-8 | 395 | 3.09375 | 3 | [] | no_license | import java.lang.*;
class IsogramChecker {
boolean isIsogram(String phrase) {
var lowercasePhrase = phrase.toLowerCase();
for(char letter : lowercasePhrase.toCharArray()){
if(Character.isLetter(letter) && lowercasePhrase.indexOf(letter) != lowercasePhrase.lastIndexOf(letter)){
... | true |
58287cbf2874907f6366dff1285bca06d12b4860 | Java | bellmit/mescep | /src/main/java/com/mes/old/meta/RRulePatternId.java | UTF-8 | 1,499 | 2.25 | 2 | [] | no_license | package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
/**
* RRulePatternId generated by hbm2java
*/
public class RRulePatternId implements java.io.Serializable {
private String ruleid;
private String objectuid;
public RRulePatternId() {
}
public RRulePatternId(String ruleid,... | true |
4a9ec265eba5af7249f6022d33f61878e698b10e | Java | desireekelly/biblioteca_release_1 | /src/test/java/com/twu/biblioteca/view/UtilitiesTest.java | UTF-8 | 2,166 | 2.890625 | 3 | [
"Apache-2.0"
] | permissive | package com.twu.biblioteca.view;
import com.twu.biblioteca.model.Book;
import com.twu.biblioteca.model.BorrowableItem;
import com.twu.biblioteca.model.Movie;
import com.twu.biblioteca.model.User;
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;... | true |
340e4db1dc5bf7eb28a679afc5c61fb3279b1947 | Java | ryan-maly/anniversary | /src/main/java/com/cdc/anniversary/model/Exchange.java | UTF-8 | 573 | 2.0625 | 2 | [] | no_license | package com.cdc.anniversary.model;
public class Exchange {
private Integer id;
private Integer user_id;
private Integer guide_id;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUser_id() {
return user_... | true |
96f34e9e468868b88b49bbb42edfded10e66b62b | Java | RadostinDragiev/softuni-pb-java | /L03_Nested_Conditional_Statements_Exercise/P02Cinema.java | UTF-8 | 708 | 3.765625 | 4 | [] | no_license | package L03_Nested_Conditional_Statements_Exercise;
import java.util.Scanner;
public class P02Cinema {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String type = scanner.nextLine();
int rows = Integer.parseInt(scanner.nextLine());
int ... | true |
18407f962906001db2a6032734ee8808d24a5904 | Java | snehamandavia2011/Jobio_android_inventoryapp | /app/src/main/java/parser/parsLocationTrackingInterval.java | UTF-8 | 534 | 2.265625 | 2 | [] | no_license | package parser;
import org.json.JSONException;
import org.json.JSONObject;
import entity.ClientLocationTrackingInterval;
public class parsLocationTrackingInterval {
public static ClientLocationTrackingInterval parseJSON(String JSONString) throws JSONException {
JSONObject objJSON = new JSONObject(JSONSt... | true |
fd5a19c525c48a3f4ee974de0d238af1420ed611 | Java | peters1235/SpatialHadoopNotes | /SplitLineReader.java | UTF-8 | 416 | 1.984375 | 2 | [] | no_license | public class SplitLineReader extends org.apache.hadoop.util.LineReader {
SplitLineReader(InputStream in, byte[] recordDelimiterBytes) {
super(in, recordDelimiterBytes);
SplitLineReader(InputStream in, Configuration conf,byte[] recordDelimiterBytes) throws IOException {
super(in, conf, re... | true |
dd4de844be1f859fedb65c023e6ffafd281f8511 | Java | cairurui/XAndroid | /app/src/main/java/com/charry/xandroid/ui/useprogresslayout/UseProgressLayoutListActivity.java | UTF-8 | 1,550 | 2.03125 | 2 | [] | no_license | package com.charry.xandroid.ui.useprogresslayout;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.charry.xandroid.R;
import com.charry.xandroid.base.BaseActivity;
import com.charry.xandroid.base.BasePresenter;
public class UseProgressLayoutListActivity extends BaseActivi... | true |
38a464d6a4bab9d857b4f25f08360c6c386da1d5 | Java | xiaoboisbest/IGSDN_web | /src/main/java/cn/igsdn/service/UserService.java | UTF-8 | 1,424 | 1.695313 | 2 | [] | no_license | package cn.igsdn.service;
import cn.igsdn.domain.DocumentComment2;
import cn.igsdn.dto.GenUserInfo;
import cn.igsdn.dto.GenUserInformation;
import cn.igsdn.dto.UserMemoryInfoDTO;
import java.util.List;
import java.util.Map;
public interface UserService {
UserMemoryInfoDTO selectUserMemoryInfoByUserId(Integer us... | true |
747ecce4444790d8776b9082bf47ae92bb8dac08 | Java | reneargento/algorithms-sedgewick-wayne | /src/chapter5/section2/Exercise20_ContainsPrefix.java | UTF-8 | 2,231 | 3.375 | 3 | [
"MIT"
] | permissive | package chapter5.section2;
import edu.princeton.cs.algs4.StdOut;
/**
* Created by Rene Argento on 17/02/18.
*/
public class Exercise20_ContainsPrefix {
public class StringSetContainsPrefix extends StringSet {
public boolean containsPrefix(String prefix) {
return containsPrefix(root, prefix... | true |
54979383356d0b1de6933f1415208c9cdf0ae315 | Java | WesleyJaemersPXL/DependenciesExamenPAJavaSpringBoot | /src/main/java/be/pxl/examen/rest/MessageRest.java | UTF-8 | 717 | 1.9375 | 2 | [] | no_license | package be.pxl.examen.rest;
import be.pxl.examen.rest.resources.MessageDTO;
import be.pxl.examen.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sp... | true |
d97abc6f7ec1a23ca69e8255661c02efaf5781e7 | Java | kghonmode7/Itecyproject | /src/test/java/pages/Itecypostjobpage.java | UTF-8 | 2,880 | 2.1875 | 2 | [] | no_license | package pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.Select;
public class Itecypostjobpage
{
@FindBy(name="JobTitle")
public WebElement ... | true |
331a98a16dc108ba1129e1f5135d287d6b7ca5ae | Java | AgnesKkj/agnieszka_korowaj-kodilla_tester | /kodilla-collections/src/main/java/com/kodilla/collections/interfaces/homework/CarRace.java | UTF-8 | 563 | 3.546875 | 4 | [] | no_license | package com.kodilla.collections.interfaces.homework;
public class CarRace {
public static void main(String[] args) {
Ford ford = new Ford(5,5,5);
doRace(ford);
Opel opel = new Opel(5,3,4);
doRace(opel);
Peugeot peugeot = new Peugeot(5,6,4);
doRace(peugeot);
... | true |
0df86d36e2525e470aa5037c8c7e4498b2017302 | Java | tzwdbd/order-server | /src/main/java/com/oversea/task/mapper/UserTradeAddressDAO.java | UTF-8 | 937 | 1.789063 | 2 | [] | no_license | package com.oversea.task.mapper;
import java.util.List;
import com.oversea.task.domain.UserTradeAddress;
public interface UserTradeAddressDAO {
public void addUserTradeAddress(UserTradeAddress userTradeAddress);
public UserTradeAddress getUserTradeAddressByUserIdAndPayNo(Long userId, String payNo);
public L... | true |
7c622ffb88da66468bc73978f2bb51628910dac0 | Java | puellaeos/Compostella | /src/com/achal/compostella/DictionnaireAdapter.java | ISO-8859-1 | 1,904 | 2.546875 | 3 | [] | no_license | package com.achal.compostella;
import java.util.ArrayList;
import java.util.HashMap;
import android.content.Context;
import android.graphics.Typeface;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android... | true |
227dc4880af51c741e81b2b63e8ff2d749600a37 | Java | harjeet-me/tmsreactapp | /src/test/java/com/jiotms/tmsreactapp/web/rest/InvoiceResourceIT.java | UTF-8 | 27,240 | 1.78125 | 2 | [] | no_license | package com.jiotms.tmsreactapp.web.rest;
import com.jiotms.tmsreactapp.TmsreactappApp;
import com.jiotms.tmsreactapp.domain.Invoice;
import com.jiotms.tmsreactapp.repository.InvoiceRepository;
import com.jiotms.tmsreactapp.service.InvoiceService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.T... | true |
ed2050fe10326e4387120dd149339aa0ea001432 | Java | walkman90/jooby | /modules/jooby-ehcache/src/test/java/org/jooby/internal/ehcache/CacheConfigurationBuilderTest.java | UTF-8 | 25,084 | 1.960938 | 2 | [
"Apache-2.0"
] | permissive | package org.jooby.internal.ehcache;
import static com.typesafe.config.ConfigValueFactory.fromAnyRef;
import static org.junit.Assert.assertEquals;
import java.util.List;
import net.sf.ehcache.config.CacheConfiguration;
import net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration;
import ne... | true |
588d2426c2699a73d9de0b9e174203c3fbabafbe | Java | Lixard/Java-labs | /src/main/java/lab5/task2_3/Main2.java | UTF-8 | 554 | 2.78125 | 3 | [] | no_license | package lab5.task2_3;
import java.util.concurrent.ThreadLocalRandom;
public final class Main2 {
public static void main(String[] args) {
Apartment apartment = new Apartment(ThreadLocalRandom.current().nextDouble(1, 10),
ThreadLocalRandom.current().nextDouble(1, 10));
IFigure iFig... | true |
3ff9ca51318d291fe2582b1cacb4f581df45adaf | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_9858fca16d29b33c73f738bbec404645ce1fb297/Tree/2_9858fca16d29b33c73f738bbec404645ce1fb297_Tree_t.java | UTF-8 | 5,403 | 2.6875 | 3 | [] | no_license | package randomjyrest;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import utilities.ImmutableFourValues;
import utilities.ImmutableTwoValues;
public class Tree
{
priv... | true |
16b73f4e7007563ec81eef6f7a8a56dc58be4cae | Java | jxnu-liguobin/cs-summary-reflection | /java-leetcode/src/main/java/io/github/wkk/everyday/aug/ReconstructItinerary.java | UTF-8 | 1,367 | 3.34375 | 3 | [
"Apache-2.0"
] | permissive | /* All Contributors (C) 2020 */
package io.github.wkk.everyday.aug;
import java.util.*;
/**
* 题目: 332. 重新安排行程
*
* <p>给定一个机票的字符串二维数组 [from, to],
*
* <p>子数组中的两个成员分别表示飞机出发和降落的机场地点,
*
* <p>对该行程进行重新规划排序。
*
* <p>所有这些机票都属于一个从 JFK(肯尼迪国际机场)出发的先生,
*
* <p>所以该行程必须从 JFK 开始。
*
* @author kongwiki@163.com
* @since 2020... | true |
ffac604a455337ad367b8df8beb7caf5e9b1ae42 | Java | lubing521/ideaProjects | /myProjects/MGTV/src/com/starcor/message/MessageObserver.java | UTF-8 | 1,064 | 2.4375 | 2 | [] | no_license | package com.starcor.message;
public abstract class MessageObserver
{
private int mCurrentFlags;
private int mFlags;
public void addFlags(int paramInt)
{
this.mFlags = (paramInt | this.mFlags);
}
public void clear()
{
this.mCurrentFlags = 0;
}
public boolean containsFlags(int paramInt)
{
... | true |
9d7c9065874784255ef4ba88670c1ff5ef28d01e | Java | tciborowski/WujekDobraRada | /src/pl/wujekdobrarada/Thread1.java | UTF-8 | 858 | 2.921875 | 3 | [] | no_license | package pl.wujekdobrarada;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Thread1 implements Runnable{
public static void rollNewGump() throws FileNotFoundException {
Scanner sc = new Scanner(new File("gu... | true |
a0a042652ef1cc295b927839c61fad6d69c8d423 | Java | iammvaibhav/Apogee-2018 | /ApogeeWallet/src/main/java/com/awesomecorp/sammy/apogeewallet/adapters/ItemsAdapter.java | UTF-8 | 2,883 | 2.453125 | 2 | [] | no_license | package com.awesomecorp.sammy.apogeewallet.adapters;
import android.app.Activity;
import android.graphics.Typeface;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView... | true |
9cc23a7056f87bf85e87dd724adfeb54c15cfe28 | Java | jarrettalexander/dino_game | /DinoGame/src/edu/uark/csce/mobile/dinogame/ColorUtils.java | UTF-8 | 295 | 1.945313 | 2 | [] | no_license | package edu.uark.csce.mobile.dinogame;
public final class ColorUtils {
public static final int COLOR_MAIN = 0xFFFF0000;
public static final int COLOR_ACCENT_1 = 0xFF00FF00;
public static final int COLOR_ACCENT_2 = 0xFF0000FF;
public static final int COLOR_BACKGROUND = 0xFFFFFFFF;
}
| true |
3d846b87990f9e125e0b19bc5fa311573a66a8d5 | Java | hadrsystems/em-api | /api-rest-common/src/main/java/edu/mit/ll/em/api/rs/CollabRoomPermissionResponse.java | UTF-8 | 3,884 | 1.90625 | 2 | [
"BSD-3-Clause"
] | permissive | /**
* Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyri... | true |
93374ead43eb33b81df396d91103e3361c3e98b6 | Java | ColinYu25/yhpc | /src/main/java/com/safetys/nbyhpc/web/axis2/model/DfzwPunishDetail.java | UTF-8 | 3,501 | 1.96875 | 2 | [] | no_license | /*
* Copyright (c) 2002-2011 by ZheJiang AnSheng Information Technology Co.,Ltd.
* All rights reserved.
*/
package com.safetys.nbyhpc.web.axis2.model;
import java.io.Serializable;
/**
* 打非治违处罚子表
*
* author lih
*
* @since 2012-5-9
* @version 1.0.0
*/
public class DfzwPunishDetail implements Serializable {
... | true |
4d510b9a15e6a55cdf94378c3d7e29adde3153a6 | Java | JavaFamilyClub/jfoa | /runner/src/main/java/club/javafamily/runner/service/impl/ArchivedSubjectServiceImpl.java | UTF-8 | 1,806 | 2.046875 | 2 | [
"MIT"
] | permissive | /*
* Copyright (c) 2020, JavaFamily Technology Corp, All Rights Reserved.
*
* The software and information contained herein are copyrighted and
* proprietary to JavaFamily Technology Corp. This software is furnished
* pursuant to a written license agreement and may be used, copied,
* transmitted, and stored only ... | true |
ae466c9580908be4ddf30641fb1ef175556ea3c3 | Java | FakeException/Infinity-Profile | /src/main/java/me/darkboy/profile/infinityprofile/data/PlayerProfile.java | UTF-8 | 964 | 2.40625 | 2 | [] | no_license | package me.darkboy.profile.infinityprofile.data;
import lombok.Getter;
import lombok.Setter;
import me.darkboy.profile.infinityprofile.InfinityProfile;
import me.darkboy.profile.infinityprofile.api.resource.TemporaryConfig;
import org.bukkit.entity.Player;
@Getter
@Setter
public class PlayerProfile {
private Pla... | true |
3dacfc7145372ec2adcf1d68849576df06f52c7a | Java | JamsheedMistri/Yahtzee | /src/Core.java | UTF-8 | 383 | 3.25 | 3 | [] | no_license |
public class Core {
public static boolean confirm(String affirmative, String negative) {
String s = TextIO.getlnString();
while (!s.equals(affirmative) && !s.equals(negative)) {
System.out.println("Invalid input! Please enter \"" + affirmative + "\" or \"" + negative + "\": ");
s = TextIO.getlnString();
}... | true |
a55448e04b622890b2251259ae193cfeed5d76e9 | Java | k0j2g1v/java_basic | /Sample_01/src/day06/ProductTest.java | UTF-8 | 623 | 3.5 | 4 | [] | no_license | package day06;
class ProductTest {
public static void main(String args[]) {
Product p1 = new Product();
Product p2 = new Product();
Product p3 = new Product();
System.out.println("p1의 제품번혼(serial no)는 " + p1.SerialNo);
System.out.println("p2의 제품번혼(serial no)는 " + p2.SerialNo);
System.out.prin... | true |
ede2e2e7fad03e85ccd38e64f5985f9752a9ed45 | Java | itmarte/aifeng-test | /spring/src/test/java/com/aifeng/highAva/spring/bean/TestBean.java | UTF-8 | 677 | 2.296875 | 2 | [] | no_license | package com.aifeng.highAva.spring.bean;
import com.aifeng.highAva.spring.TestSupport;
import com.aifeng.highAva.spring.bean.Service.UserService;
import com.aifeng.highAva.spring.bean.domain.Bird;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Description:
* @author: ima... | true |
3254044afa8a3926099390d8e6accf9ef722410d | Java | Umakalyan/SetMore | /SetmoreApp/src/main/java/com/setmore/pages/HomePage.java | UTF-8 | 747 | 2.234375 | 2 | [] | no_license | package com.setmore.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class HomePage extends BasePage{
//HomePage Objects
@FindBy(xpath="//a[@id='button-login']")
WebElement login;
... | true |
664932229ecdf2fb07df9a0867952f287e7bccae | Java | mbrahma19/StringTheory-ZCW | /src/test/java/rocks/zipcode/stringsgalore/StringTheoryTest.java | UTF-8 | 318 | 1.875 | 2 | [] | no_license | package rocks.zipcode.stringsgalore;
import static org.junit.Assert.*;
public class StringTheoryTest {
StringTheory st = null;
@org.junit.Before
public void setUp() throws Exception {
this.st = new StringTheory();
}
@org.junit.After
public void tearDown() throws Exception {
}
} | true |
1d3e18293b467611c5f70cbe171a851d3a5844b2 | Java | bcaudell95/EECS448_HW5 | /src/DrugDiscovery.java | UTF-8 | 134 | 1.976563 | 2 | [] | no_license |
public class DrugDiscovery {
public static void main(String[] args) {
MainGUI gui = new MainGUI();
gui.setVisible(true);
}
}
| true |
a65b33b8ab278889c3b6698a8b66513d2e488872 | Java | YixiaoHong/Instagram-like-android-app | /app/src/main/java/com/ECE1778A1/PicAdapter.java | UTF-8 | 3,181 | 2.3125 | 2 | [
"MIT"
] | permissive | package com.ECE1778A1;
import android.app.Activity;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Environment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
impor... | true |
8552487ba819bf6df8441409b0b7aca1b6719b49 | Java | matyshevsky/MobilePost | /src/main/java/com/example/controllers/deliveryController.java | UTF-8 | 6,821 | 2.203125 | 2 | [] | no_license | package com.example.controllers;
import com.example.model.*;
import com.example.repository.PostDao;
import com.example.service.DeliveryService;
import com.example.service.ProductService;
import com.example.service.TypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.d... | true |
07df073065ccd8352e99d357d08ad70f3dbc510f | Java | 95zhoujun/MyBatis | /mybatis-08/src/main/java/com/zhou/dao/BlogMapper.java | UTF-8 | 346 | 1.75 | 2 | [] | no_license | package com.zhou.dao;
import com.zhou.pojo.Blog;
import java.util.List;
import java.util.Map;
/**
* @auther zj
* @create 2020-09-01 20:47
*/
public interface BlogMapper {
//插入数据
int addBlog(Blog blog);
//查询博客
List<Blog> queryBlogIF(Map map);
//查询博客
List<Blog> queryBlogChoose(Map map);
... | true |
8e7bfb6dd1fa8873c9ff10a2943332c34b976412 | Java | sunshinex/jpuppeteer | /src/main/java/jpuppeteer/cdp/client/entity/headlessexperimental/ScreenshotParams.java | UTF-8 | 1,153 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package jpuppeteer.cdp.client.entity.headlessexperimental;
/**
* Encoding options for a screenshot.
* experimental
*/
public class ScreenshotParams {
/**
* Image compression format (defaults to png).
*/
private jpuppeteer.cdp.client.constant.headlessexperimental.ScreenshotParamsFormat format;
/**... | true |
3d23945f31fff4e3319ace65a36115586068ac8a | Java | shashankthakur17/Java8_HandsOn_Shashank | /src/datastructures/trie/TestBasicTrie.java | UTF-8 | 435 | 2.984375 | 3 | [] | no_license | package datastructures.trie;
public class TestBasicTrie {
public static void main(String[] args) {
// TODO Auto-generated method stub
BasicTrie trie = new BasicTrie();
trie.insert("cats");
trie.insert("cape");
trie.insert("capture");
System.out.println(trie.search("cape"));
System.out.println(trie.s... | true |
5327aa6b14e82aebbdbae5b09272f7af7e9787b8 | Java | OutsourcedCoders/Messing_Around | /src/NationSimulator/NationActions/EnemyAttack.java | UTF-8 | 2,907 | 3.1875 | 3 | [] | no_license | package NationSimulator.NationActions;
import MessingAround.UserInputs;
public class EnemyAttack extends UserInputs {
public static void main(String[] args) {
userAction = "attacked";
NationSimulator.NationInfo.main(args);
enemyAttackSoldiers = (int) (enemySoldiers / Math.random() * Math.... | true |
cbbcf2e4de213932b5a9334934b3f95bbce54dd1 | Java | tilogermer/breakout | /BreakoutGame/src/de/hpi/javaide/breakout/elements/CollisionLogic.java | UTF-8 | 2,137 | 3.203125 | 3 | [] | no_license | package de.hpi.javaide.breakout.elements;
import java.awt.geom.Rectangle2D;
import de.hpi.javaide.breakout.Collidable;
import de.hpi.javaide.breakout.starter.Game;
public class CollisionLogic {
/**
* The constructor of this class is private to make sure that it is only used as a static class.
* - it cannot be ... | true |
630aad13825b6f6c45461ac3ba254aad4c380e2c | Java | hsjadmin/text | /teach/teach-service/teach-service-student/src/test/java/MytEst.java | UTF-8 | 1,366 | 2.703125 | 3 | [] | no_license | import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
public class MytEst {
// public static void main(String[] args) {
// int s[] = {2, 3, 4, 5, 6, 7};
// int m[] = {9, 10, 11};
// int h[] = {13, 14, 15};
//
// for (int i = 0... | true |
f38d08f0f2a8135db26987cb7c65660c3db0a977 | Java | hxrs/algorithmTest | /src/main/java/com/github/hxrs/EvalReversePolishNotation.java | UTF-8 | 1,845 | 3.5625 | 4 | [] | no_license | package com.github.hxrs;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
/**
* Evaluate the value of an arithmetic expression in Reverse Polish Notation.<br>
* Valid operators are +, -, *, /. Each operand may be an integer or another
* expression.<br>
* S... | true |
6b74ed5639a3ecd779f47d2f6f8aefeff407f191 | Java | sharadpok/JavaBasics | /src/object/ObjectInitializationThroughMethod.java | UTF-8 | 478 | 3.40625 | 3 | [] | no_license | package object;
class Student4
{
int id;
String name;
public void insertRecord(int i,String n)
{
id=i;
name=n;
}
public void displayRecord()
{
System.out.println("Id:"+id+" Name:"+name);
}
}
public class ObjectInitializationThroughMethod {
public static void main(String[] args)
{
Student4 s=new Stude... | true |
b16b5247909235b06aaf062df555a1b345b3b05f | Java | pimentelfl/workspace_java14 | /ProjetoContaBancaria/src/Banco.java | ISO-8859-1 | 1,217 | 3.3125 | 3 | [] | no_license | import java.util.Scanner;
public class Banco {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
ContaBancaria c1 = new ContaBancaria();
int opcao;
double valor;
c1.setNumeroConta(12345);
c1.setDigitoVerif(6);
c1.setCpfTitular("123.456.789-00");
c1.setNomeTitular(... | true |
9e092aa8429f95123a52a267f2164d3b0f80355b | Java | oviroa/C3PO | /Commutr/app/src/main/java/android/commutr/com/commutr/model/Identity.java | UTF-8 | 894 | 2.25 | 2 | [] | no_license | package android.commutr.com.commutr.model;
import java.io.Serializable;
/**
* Created by oviroa on 2/1/15.
*/
public class Identity implements Serializable {
private String email;
private String version;
private String identifier;
private String phone;
public void setEmail(String email) {
... | true |
6cac9c7b5434474c40421c49dcc196a02bc7e7b0 | Java | xiaozhugua/tuling | /app/src/main/java/com/abct/tljr/kline/gegu/util/DataFromNetListener.java | UTF-8 | 539 | 1.976563 | 2 | [] | no_license | package com.abct.tljr.kline.gegu.util;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public interface DataFromNetListener {
/**
* 解析json数据,如果没有数据就返回null或者""
* @throws JSONException
*/
//public String parseJsonToString(JSONObject jsonObject) throws JSONException;
/**
... | true |
af08b8b0c93e9e6b783e678bb00d34856157875c | Java | ternaryz/syslink | /syslink/src/main/java/com/tongyuan/model/controller/PermissionController.java | UTF-8 | 6,321 | 2.140625 | 2 | [] | no_license | package com.tongyuan.model.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.tongyuan.model.domain.PermissionGroup;
import com.tongyuan.model.service.PermissionService;
import com.tongyuan.model.wrapper.AuthWarpper;
import com.tongyuan.tools.DateUtil;
import org.springfra... | true |
a36bcae9e824b53fc7142e79800b5cc9337406e5 | Java | kesharisaurabh/Hibernate_Pract | /Hibernate1/src/test/Client.java | UTF-8 | 591 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package test;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import beans.student;
public class Client
{
public static void main(String[] args) {
student st=new student();
st.setId(11);
st.setName("saurabh");
st.setEmail("keshari.sarua... | true |
372d0ba710e1a7b93278068e4346c11965c0fe73 | Java | zavtech/morpheus-core | /src/main/java/com/zavtech/morpheus/reference/XDataFrameColumn.java | UTF-8 | 13,398 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2014-2017 Xavier Witdouck
*
* 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 ... | true |
06511bc4d49aa5373ad1234ad42b2e58ffbaf410 | Java | zavier/dubbo-test | /src/main/java/com/zavier/dubbotest/model/ProviderDTO.java | UTF-8 | 665 | 1.625 | 2 | [] | no_license | package com.zavier.dubbotest.model;
import lombok.Data;
import java.util.List;
/**
* The type Provider dto.
*
* @date 2020-01-15 12:43
* @author zhengwei20
*/
@Data
public class ProviderDTO {
/**
* The Id.
*/
private String id;
/**
* The Service key.
*/
private String servi... | true |
8ca73213d582f866f6e12b292aa8155c63609301 | Java | oleg/incubator | /algo-java/src/main/java/algoclass/node/ListCallback.java | UTF-8 | 104 | 1.867188 | 2 | [] | no_license | package algoclass.node;
interface ListCallback {
void onChange(ListNode first, ListNode last);
}
| true |
1b8565a463982032447e566a73d9eb90476e938f | Java | oleksiy01234/Algorithms | /DataStructures/LRUCache.java | UTF-8 | 3,688 | 4 | 4 | [] | no_license | package DataStructures;
import Util.Util;
import java.util.HashMap;
import java.util.Map;
/**
* 146. LRU Cache
* https://leetcode.com/problems/lru-cache/
* <p>
* Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put in O(1) time complex... | true |
880b700cfbb00ba5e600131d432bf276f00edfe0 | Java | AprilYoLies/miaosha | /src/main/java/top/aprilyolies/miaosha/rabbitmq/MQReceiver.java | UTF-8 | 2,626 | 2.265625 | 2 | [] | no_license | package top.aprilyolies.miaosha.rabbitmq;
import top.aprilyolies.miaosha.domain.MiaoshaOrder;
import top.aprilyolies.miaosha.domain.MiaoshaUser;
import top.aprilyolies.miaosha.redis.RedisService;
import top.aprilyolies.miaosha.service.GoodsService;
import top.aprilyolies.miaosha.service.MiaoshaService;
import top.apri... | true |
8449ed52ecd55ca377c10ad72fd231d57757ad52 | Java | Habitats/ServerBro | /src/serverBro/broShared/events/external/authentication/AuthEvent.java | UTF-8 | 642 | 2.09375 | 2 | [] | no_license | package serverBro.broShared.events.external.authentication;
import serverBro.broShared.Identity;
import serverBro.broShared.events.external.NetworkEvent;
public abstract class AuthEvent extends NetworkEvent {
private static final long serialVersionUID = 1406998928869635813L;
public enum EventType {
LOG_OUT
... | true |
9921924ea05bfa6c35bb52de42f79fb7252f4813 | Java | pjayaramanma/ontrack | /ontrack-service/src/test/java/net/nemerosa/ontrack/service/NamedBuildFilterTest.java | UTF-8 | 7,566 | 2.28125 | 2 | [
"MIT"
] | permissive | package net.nemerosa.ontrack.service;
import net.nemerosa.ontrack.model.buildfilter.BuildFilterResult;
import net.nemerosa.ontrack.model.structure.*;
import org.junit.Before;
import org.junit.Test;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.stream.Collector... | true |
c6b1fd3df888d3cc5a359edf0e0ca6b2c8ad6faa | Java | 13616632061/YxzWholeSale | /app/src/main/java/com/wholesale/yzx/yxzwholesale/view/dialogAndPopup/MorePellingOrderInfoPopuWindow.java | UTF-8 | 4,697 | 2.140625 | 2 | [] | no_license | package com.wholesale.yzx.yxzwholesale.view.dialogAndPopup;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.MotionEvent;
import android.view.View;
import android.view... | true |
2390a8623ab9b54a46550a29ca61f4e9047e0697 | Java | OksanaTunik/ukradli-mi-rower-client | /src/com/example/ukradlimirower/HttpClientHelper.java | UTF-8 | 3,559 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package com.example.ukradlimirower;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.clien... | true |
4b2945c6c84654449242e60635183c0bb8eb25d7 | Java | onlybl/CNSXSystem | /src/main/java/com/company/item/model/system/InHouserManagement.java | UTF-8 | 6,573 | 2.015625 | 2 | [] | no_license | package com.company.item.model.system;
public class InHouserManagement {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column inhousemanagement.code
* @mbggenerated Wed Dec 27 20:55:59 CST 2017
*/
private String code;
/**
* This field was generated by MyBatis ... | true |
ac2f736703d7bbe6c224ae8b5761b3a118fabcea | Java | CoreFloDev/TestSupenta | /app/src/main/java/supenta/florent/testapplication/service/AppEventService.java | UTF-8 | 2,440 | 2.390625 | 2 | [] | no_license | package supenta.florent.testapplication.service;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;
import supenta.florent.testapplication.MainActi... | true |
ca251138d2eb411429a7ffe1b659a9b678cb3a10 | Java | gaoyangcr7/AlgorithmOffer | /algorithmoffer/src/main/java/com/gaoyang/algorithmoffer/Test21.java | UTF-8 | 1,228 | 3.65625 | 4 | [] | no_license | package com.gaoyang.algorithmoffer;
import com.gaoyang.Utils;
/**
* Created by gaoyang on 2018/06/13.
* 第一版第14题
*/
//调整数组顺序使奇数位于偶数前面
public class Test21 {
public static void reorder(int arr[]) {
int front = 0;
int back = arr.length - 1;
int count = 0;
// while (front != back)... | true |
181ff36e2d1da5176cea3880861c38cf07490e43 | Java | VijayEluri/mutabra | /ui/src/main/java/com/mutabra/security/Facebook.java | UTF-8 | 1,839 | 2.25 | 2 | [] | no_license | /*
* Copyright (c) 2008-2013 Ivan Khalopik.
* All rights reserved.
*/
package com.mutabra.security;
import org.apache.tapestry5.json.JSONObject;
import org.scribe.builder.api.FacebookApi;
import org.scribe.model.OAuthRequest;
import org.scribe.model.Token;
import org.scribe.model.Verb;
import org.scribe.oauth.OAut... | true |
c1d6f81a3fac6da0937e38537c71a9ed1d6bde78 | Java | MatrixMike/AppletJDK1p7p45 | /jpda/src/com/sun/tools/example/debug/tty/EventRequestSpec.java | UTF-8 | 7,071 | 2.09375 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has b... | true |
4bbd5cde360dbd0039bb582c434789d035d6b307 | Java | rforrizwan55/asblog | /src/main/java/in/abdulraqeeb/mypage/repository/PostsRepository.java | UTF-8 | 291 | 1.601563 | 2 | [] | no_license | package in.abdulraqeeb.mypage.repository;
import in.abdulraqeeb.mypage.model.Posts;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface PostsRepository extends MongoRepository<Posts,String> {
}
| true |
e7243ec50fea497baeda1324d53768a6a5e5f3a3 | Java | 50tonrobot/spring-ember | /src/test/java/io/nortpoint/ModelTests.java | UTF-8 | 574 | 1.78125 | 2 | [] | no_license | package io.nortpoint;
import static org.junit.Assert.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes =... | true |
474e83b5c044815b4a6c2fb2b2188d385493a182 | Java | X1320119123/poll2 | /src/main/java/com/briup/apps/poll/service/ISurveyService.java | UTF-8 | 839 | 1.828125 | 2 | [] | no_license | package com.briup.apps.poll.service;
import java.util.List;
import com.briup.apps.poll.bean.survey;
import com.briup.apps.poll.bean.extend.SurveyVM;
public interface ISurveyService {
// 查询所有
List<SurveyVM> findByClazzIdAndCheckPass(long id) throws Exception;
List<SurveyVM> findallSurveyVM() throws... | true |
b1ebb4704889522b747c42aca9f3cc071d5dd385 | Java | xiaofans/ResStudyPro | /src/main/java/com/igexin/a/a/b/a/a/g.java | UTF-8 | 816 | 1.953125 | 2 | [] | no_license | package com.igexin.a.a.b.a.a;
import com.igexin.a.a.b.c;
import com.igexin.a.a.b.d;
import com.igexin.a.a.b.f;
import java.nio.ByteBuffer;
public final class g extends f {
e e;
ByteBuffer f;
public g(String str, c cVar) {
super(str, cVar);
this.C = true;
}
public void a_() {
... | true |
66c49bb4e4bda645a89e79e9161bc9fe6517a178 | Java | apache/cassandra | /src/java/org/apache/cassandra/index/sasi/disk/TokenTree.java | UTF-8 | 16,929 | 1.992188 | 2 | [
"Apache-2.0",
"MIT",
"CC0-1.0",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
1f300e0498d2737b14986f22ed5d0ca9aded860b | Java | brentquackenbush/DungonAdventure | /Design Pattern Project/DungeonSource/Heroes/Warrior.java | UTF-8 | 1,130 | 3.515625 | 4 | [] | no_license | package Heroes;
import AttacksAndStrategyPattern.CrushingBlow;
import Dungeon.DungeonCharacter;
import HeroAndMonster.Hero;
import Keyboard.Keyboard;
/**
* Title:
* Description:
* Copyright: Copyright (c) 2001
* Company:
* @author
* @version 1.0
*/
public class Warrior extends Hero
{
public Warr... | true |
11bf2623881e927626a14c22da79131ee0b2e842 | Java | nakaohideki/AplicacaoBancaria | /src/Cliente.java | UTF-8 | 316 | 2.125 | 2 | [] | no_license | import lombok.AllArgsConstructor;
import lombok.Data;
@Data //notação para implementar os principais métodos como toString, gerar getters e setters.
@AllArgsConstructor //anotação para gerar um construtor a classe com todos seus atributos
public class Cliente
{
private String nome; //nome do cliente
} | true |
eb8cb0edf83121078878befb71fd5b3aa7e1490e | Java | johiescudero/Practica1erParcial | /Primer Parcial/src/main/java/model/rules/RulesFactoryImp.java | UTF-8 | 551 | 2.4375 | 2 | [] | no_license | package model.rules;
class RulesFactoryImp implements RulesFactory {
public Rule getRule(String string)
{
// RulesFactory
if (string.startsWith(UpperRule.KEY)) {
return new UpperRule();
} else if (string.startsWith(VowelsRule.KEY)) {
return new VowelsRule();
... | true |
7965c5661273034d9bcc7107c64a4d7e99fbf45b | Java | Lucide/TheMarveleer | /TheMarveleer/src/model/Character.java | UTF-8 | 375 | 2.59375 | 3 | [
"MIT"
] | permissive | package model;
import java.awt.Image;
public class Character{
public String name,description,urls[][];
public ShrinkIcon thumbnail;
public Character(){
this.name="no";
this.description="no";
this.urls=new String[][]{{"no"}};
this.thumbnail=null;
}
public void setThumbnail(Image thumbnail){
this.thum... | true |
5c89b1ddfdcf380f78f314c25adcf1b53232ccde | Java | shridharpatil-github/DXC-Training | /workbench/shreedharagowdaspringassessment10082020/src/main/java/com/dxc/cricketmatch/service/CricketMatchServiceImpl.java | UTF-8 | 1,388 | 2.5625 | 3 | [] | no_license | package com.dxc.cricketmatch.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dxc.cricketmatch.model.CricketMatch;
import com.dxc.cricketmatch.repo.CricketMatchRepo;
/*
* In this Class... | true |
67cecdbb04c986ceb42340b22d57c32f54674546 | Java | kseniakrushkova/Patterns | /src/main/java/project/generating/prototype/Student.java | UTF-8 | 1,798 | 3.671875 | 4 | [] | no_license | package project.generating.prototype;
public class Student implements IClonable{
private String name;
private int age;
private String faculty;
private int course;
public Student(String name, int age, String faculty, int course) throws IllegalAccessException {
if (name == null || name.equa... | true |
c032f7abb9472a1033aa99d58c07f9ed903ac476 | Java | csc309project/GameFinder | /src/main/java/cscproject/gamefinder/game/GameService.java | UTF-8 | 1,317 | 2.65625 | 3 | [] | no_license | package cscproject.gamefinder.game;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Random;
@Service
public class GameService {
@Autowired
private GameRepository gameRepository;
Random randInt = new... | true |
08d6c28b906a4c5a728e16e7ff696a464e7e8509 | Java | aliJavaTar/article | /src/ir/maktab/article/repository/service/ArticleManagerImplement.java | UTF-8 | 1,940 | 2.15625 | 2 | [] | no_license | package ir.maktab.article.repository.service;
import ir.maktab.article.database.DbArticle;
import ir.maktab.article.entity.Article;
import ir.maktab.article.repository.base.ArticleManage;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;
public class ArticleManagerImplement implements ... | true |
245b547fb83333a7e6465015de2eac6e7d37cf6c | Java | AT-07/coding | /src/test/java/org/fundacionjala/coding/erik/DnaTest.java | UTF-8 | 759 | 2.546875 | 3 | [] | no_license | package org.fundacionjala.coding.erik;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* this class is DnaTest.
*/
public class DnaTest {
private Dna test;
/**
* this class ini.
*/
@Before
public void before() {
test = new Dna();
... | true |
cf866b42693312e2785e6405bf5903fdabeb8f02 | Java | apache/calcite | /core/src/main/java/org/apache/calcite/rel/rules/FilterTableScanRule.java | UTF-8 | 5,869 | 1.710938 | 2 | [
"Apache-2.0",
"MIT"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... | true |
8aa306c4c1308d661bf2929227a7aec081819d5e | Java | rvallet/ocp9-projetB4 | /src/myerp-model/src/main/java/com/dummy/myerp/model/bean/comptabilite/LigneEcritureComptable.java | UTF-8 | 2,679 | 2.609375 | 3 | [
"MIT"
] | permissive | package com.dummy.myerp.model.bean.comptabilite;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.dummy.myerp.model.validation.constraint.MontantComptable;
/**
* Bean représentant une Ligne d'écriture comptable.
*/
public class LigneEcr... | true |
2e1fe2eb5dae75a4d95eff51dc1642bf407ac506 | Java | bennythedroid/java | /PolandB05/src/edu/washington/ext/PayrollRecord.java | UTF-8 | 505 | 2.515625 | 3 | [] | no_license | package edu.washington.ext;
public class PayrollRecord implements Employee {
private String employeeName;
private double currentPay;
public PayrollRecord(String employeeName, double currentPay) {
}
@Override
public String getName() {
// TODO Auto-generated method stub
return null;
}
@Override
pub... | true |
05fc87ccb41ca45fb79435a019cc69818dc92889 | Java | ooclrickliu/credit | /src/main/java/cn/wisdom/api/controller/admin/UsersAdminController.java | UTF-8 | 5,226 | 2.140625 | 2 | [] | no_license | /**
* UsersController.java
*
* Copyright@2015 OVT Inc. All rights reserved.
*
* May 4, 2015
*/
package cn.wisdom.api.controller.admin;
import java.text.MessageFormat;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org... | true |
aae26cdd631df5a71deead691f4da013ff60b989 | Java | Sese127/travel-app | /src/main/java/com/Travall/App/model/date/Date.java | UTF-8 | 510 | 2.234375 | 2 | [] | no_license | package com.Travall.App.model.date;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import com.Travall.App.model.project.Project;
import lombok.Getter;
import lombok.Setter;
@Entity
public class Date {
@Id
@Getter
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
@... | true |
e2c0cbb4f5ba458f303e3246a02f1f9d393c551a | Java | habeascorpus/habeascorpus-data | /tokens/lucene-3.6.2/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/TokenizedPhraseQueryNode.java | UTF-8 | 8,493 | 1.726563 | 2 | [] | no_license | package TokenNamepackage
org TokenNameIdentifier
. TokenNameDOT
apache TokenNameIdentifier
. TokenNameDOT
lucene TokenNameIdentifier
. TokenNameDOT
queryParser TokenNameIdentifier
. TokenNameDOT
core TokenNameIdentifier
. TokenNameDOT
nodes TokenNameIdentifier
; TokenNameSEMICOLON
import TokenNameimport
java TokenNameI... | true |
90be2dbe35168d4648bfb7277c53377d155dae89 | Java | Chehan-nethsara/Temperature-Detect-App | /app/src/main/java/com/example/temperature_detect/Detail.java | UTF-8 | 1,215 | 2.21875 | 2 | [] | no_license | package com.example.temperature_detect;
public class Detail {
public String id;
public String roomtemp;
public String roomhumidity;
public String bodypulse;
public String bodytemp;
public Detail(String roomtemp, String roomhumidity, String bodypulse, String bodytemp) {
this.roomtemp =... | true |
3abbede5fcb14f63b6f26ca7c328ce7a3d7568e1 | Java | jakerobers/Snake | /Lab6/src/robersj/Lab6.java | UTF-8 | 747 | 3.34375 | 3 | [] | no_license | package robersj;
/**
* Project: Lab 6 - Snake
* Author: Jake Robers
* Date: January 24, 2014
* Professor: Dr. Rothe
* Course: SE 1021
*
* @author robersj
*
* This was an awesome lab. I enjoyed being able to have freedom to challenge myself.
* I feel like I learned a ton from this lab because I utiliz... | true |
c3ad8cc590a0b2484aa5a0d82b34c61ff78c3d5e | Java | popJun/java-example | /word-demo/src/main/java/com/popjun/word/demo/domain/DeviceDetails/QuestionList.java | UTF-8 | 899 | 2.265625 | 2 | [] | no_license | package com.popjun.word.demo.domain.DeviceDetails;
import com.deepoove.poi.data.RowRenderData;
import com.deepoove.poi.data.style.TableStyle;
import java.util.Arrays;
import java.util.List;
public class QuestionList {
private List<RowRenderData> questionList;
public List<RowRenderData> getQuestionList() {
... | true |
45bc63cc0daf333cefc94a603cc773364eaa5ee8 | Java | joyhooei/GameMultiChannelFrame | /sdkserver/src/main/java/com/u8/server/web/pay/sdk/XiaoQiPayCallbackAction.java | UTF-8 | 5,347 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package com.u8.server.web.pay.sdk;
import com.u8.server.common.UActionSupport;
import com.u8.server.constants.PayState;
import com.u8.server.data.UChannel;
import com.u8.server.data.UOrder;
import com.u8.server.log.Log;
import com.u8.server.sdk.xiaoqi.RSAHelper;
import com.u8.server.service.UOrderManager;
import com.u... | true |
d5f950595097100e49cf2c8ae37e7caac0155405 | Java | adorsys/secure-token-service | /sts-resource-server/src/main/java/de/adorsys/sts/resourceserver/ResourceServerErrors.java | UTF-8 | 346 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package de.adorsys.sts.resourceserver;
import java.util.ArrayList;
import java.util.List;
public class ResourceServerErrors {
private List<ResourceServerError> erros = new ArrayList<>();
public List<ResourceServerError> getErros() {
return erros;
}
public void setErros(List<ResourceServerError> erros) {
t... | true |
a12669e3453771002e5cfcc53fc1d38842bf00c6 | Java | UltraPoulet2/WifeyGame | /app/src/main/java/ultrapoulet/wifeygame/battle/skills/basicskills/WitchSkill.java | UTF-8 | 1,782 | 3.109375 | 3 | [] | no_license | package ultrapoulet.wifeygame.battle.skills.basicskills;
import ultrapoulet.wifeygame.battle.BattleCharacter;
import ultrapoulet.wifeygame.battle.BattleCharacter.EnemyAction;
import ultrapoulet.wifeygame.battle.BattleCharacter.PlayerAction;
import ultrapoulet.wifeygame.battle.skills.AbsSkill;
/**
* Created by John o... | true |
02ada9d22b04956d2b8425ab84e19a592fc710f2 | Java | anhui1995/EnglishLearn1 | /app/src/main/java/xin/xiaoa/englishlearn/fragment_other/ArtListViewItem.java | UTF-8 | 733 | 2.4375 | 2 | [] | no_license | package xin.xiaoa.englishlearn.fragment_other;
public class ArtListViewItem {
private String title;
private String subtitle;
private String id;
public ArtListViewItem(String title, String subtitle, String id) {
this.title = title;
this.subtitle = subtitle;
this.id = id;
}
... | true |
294a0d94487056a7c9a9f813edcf3cc975770ac6 | Java | JonathanLPoch/Frogger | /Frogger/src/Lillipad.java | UTF-8 | 2,699 | 3.140625 | 3 | [] | no_license | import javax.swing.*;
import java.awt.event.*;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
import java.io.InputStream;
import java.io.IOException;
//http://zetcode.com/tutorials/javagamestutorial/mo... | true |
46c61ee926f7a013926d6ee644f8c8755843bd5b | Java | Picik-picik/JAVA | /Chapter 01 Let's Start JAVA!/src/_07_Problem_01_2.java | UHC | 763 | 3.46875 | 3 | [] | no_license | public class _07_Problem_01_2 {
public static void main(String[] args) {
System.out.println(" 1-2 [߸ ּó]");
System.out.println(" 1)");
System.out.println("One" /* One 1 */);
System.out.println("Two /* Two 2 */");
System.out.println("Three");
/*
System.out.println(2);
// System.out.println("2");
... | true |
17c8ea7aa70fc3eab39524476d0f78a7cf35198f | Java | agotanemes/SerenityProject-Continuation | /src/main/java/com/firestarters/page/MenTeesKnitsPage.java | UTF-8 | 2,728 | 2.546875 | 3 | [] | no_license | package com.firestarters.page;
import java.util.List;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.Select;
import net.serenitybdd.core.pages.WebElementFacade;
import net.thucydides.core.annotations.DefaultUrl;
@DefaultUrl("http://qa2.dev.evozon.com/men/tees-knits-and-polos.html")... | true |
c2c2e47707e4725a9ebe4cf6e43d466c122ae5f2 | Java | agusbauer/products-api | /src/main/java/com/goteam/productsapi/products/ProductCommandLineRunner.java | UTF-8 | 689 | 2.28125 | 2 | [] | no_license | package com.goteam.productsapi.products;
import com.goteam.productsapi.products.models.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
@Component
public class ProductCommandLineRunner implement... | true |