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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
155a6f03adc675fef05f9ffd04972ac582f4c66e | Java | moutainhigh/boss2 | /src/main/java/cn/eeepay/framework/model/workOrder/WorkOrderTransfer.java | UTF-8 | 551 | 1.835938 | 2 | [] | no_license | package cn.eeepay.framework.model.workOrder;
/**
* @author :quanhz
* @date :Created in 2020/5/7 10:48
*/
public class WorkOrderTransfer {
private String[] orderNoArr;
private Integer receiverId;
public String[] getOrderNoArr() {
return orderNoArr;
}
public void setOrderNoArr(String[] o... | true |
eec18616f1b0903ac77096cb921974f143ff2687 | Java | IlyaFX/gammacases | /src/main/java/ru/ilyafx/gammacases/type/CaseItem.java | UTF-8 | 1,309 | 2.53125 | 3 | [] | no_license | package ru.ilyafx.gammacases.type;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import java.util.List;
import java.util.function.Consumer;
@AllArgsConstructor
@Getter
public class CaseItem {
private ... | true |
b328160da54e8937c47e641daa92330d3406c880 | Java | Turn-Phantom/yunding | /server/server-queue/src/main/java/com/yunding/server/queue/entity/IpAddrInfo.java | UTF-8 | 1,190 | 1.929688 | 2 | [] | no_license | package com.yunding.server.queue.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @desc IP地址福归属地信息表
* @date 2020-04-09... | true |
4d62bf1f1ae250baede7d4a314d0f1b7c3e3e16c | Java | assecopl/fh | /documentation/fh-docs/src/main/java/pl/fhframework/docs/dynamic_content/DynamicContentUC.java | UTF-8 | 17,981 | 2.078125 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package pl.fhframework.docs.dynamic_content;
import pl.fhframework.core.security.annotations.SystemFunction;
import pl.fhframework.core.uc.UseCase;
import pl.fhframework.core.uc.IInitialUseCase;
import pl.fhframework.core.uc.url.UseCaseWithUrl;
import pl.fhframework.core.util.ComponentsUtils;
import pl.fhframework.doc... | true |
22064d6cd3d66b3cd956116468b75c6cd8ab42c7 | Java | liveqmock/cdz-admin | /cdz-biz/biz-model/src/main/java/com/ga/cdz/domain/vo/admin/ChargingPriceAddVo.java | UTF-8 | 5,404 | 2.125 | 2 | [] | no_license | package com.ga.cdz.domain.vo.admin;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ga.cdz.domain.entity.ChargingPrice;
import com.ga.cdz.domain.group.admin.IMChargingPriceGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.... | true |
52edeb9acc3d4e20ee9c60d96965684e7a1ca9fd | Java | jhonemu/Client-Futbol-NXT | /src/api/futbol/GUI/VentanaPrincipal.java | UTF-8 | 9,831 | 1.976563 | 2 | [] | no_license | package api.futbol.GUI;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BoxLayout;
import javax.swing.ImageIco... | true |
7aaa7ed70855c2011cca62e92d788c1d421516d9 | Java | vimgaa/hello-es2 | /app/src/main/java/com/android/gl2jni/GL2JNIActivity.java | UTF-8 | 12,142 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 |
9be51443c9558b2b7a96587ac89c5b70d7dab1b1 | Java | x4e/vrtvm | /src/test/java/me/xdark/vrtvm/tests/ClassFileTests.java | UTF-8 | 1,091 | 2.578125 | 3 | [] | no_license | package me.xdark.vrtvm.tests;
import me.xdark.vrtvm.JavaObject;
import me.xdark.vrtvm.MemberDeclaration;
import me.xdark.vrtvm.VM;
import me.xdark.vrtvm.VMThread;
import me.xdark.vrtvm.mirror.JavaClass;
import me.xdark.vrtvm.tests.classfiles.HelloWorldGenerator;
import org.junit.jupiter.api.DisplayName;
import org.jun... | true |
8fa24906ca193aa64d55bc594adb294af4a1455c | Java | RadioCooperativa/Presidenciales2018 | /app/src/main/java/cl/cooperativa/presidenciales2018/RSSParserDetail.java | UTF-8 | 4,295 | 2.28125 | 2 | [] | no_license | package cl.cooperativa.presidenciales2018;
import android.content.Context;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URL;
import java.security.KeyManagementException;
import jav... | true |
11ad66f40d961cf2a3a5802ac4ab223098e13773 | Java | GabeOchieng/ggnn.tensorflow | /data/libgdx/BaseBulletTest_dispose.java | UTF-8 | 376 | 1.992188 | 2 | [] | no_license | @Override
public void dispose() {
world.dispose();
world = null;
for (Disposable disposable : disposables) disposable.dispose();
disposables.clear();
modelBatch.dispose();
modelBatch = null;
shadowBatch.dispose();
shadowBatch = null;
if (shadows)
((DirectionalShadowLight) lig... | true |
5abb0da37b8a02527eef9f41041798e17cfa46df | Java | fercarcedo/AlgMeter | /AlgMeter/src/main/java/fergaral/algmeter/Meter.java | UTF-8 | 1,252 | 3.203125 | 3 | [] | no_license | package fergaral.algmeter;
import java.util.Map;
import java.util.TreeMap;
/**
* Class used to measure the execution
* time of a given algorithm
*
* @author fercarcedo
*
*/
public class Meter {
private Algorithm algorithm;
private long startN;
private long endN;
private StepFunction stepFunction;
private... | true |
fcebf4aa0bc4b4a3a98b7877191f8c156b36e003 | Java | diachron/quality | /lod-qualitymetrics/lod-qualitymetrics-representation/src/main/java/eu/diachron/qualitymetrics/representational/interpretability/NoBlankNodeUsage.java | UTF-8 | 5,061 | 2.03125 | 2 | [
"MIT"
] | permissive | /**
*
*/
package eu.diachron.qualitymetrics.representational.interpretability;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.mapdb.DB;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.rdf... | true |
069da9adf678e0b45898053a303e48586ef87ca0 | Java | jozefzatko/page-flow-project | /page-flow-project/page-flow-project/page-flow-project/log-parser/src/test/java/sk/zatko/dp/logparser/parser/LogFileParserServiceAssemblyTest.java | UTF-8 | 1,504 | 2.359375 | 2 | [] | no_license | package sk.zatko.dp.logparser.parser;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import o... | true |
f59154077ea80a6ac807d06266ff98ef8329e1f0 | Java | VictorBonasa/Multimedia-RA3 | /WS Multimedia RA3/Teemo's Mushroom/src/com/victor/teemo/EndScreen.java | UTF-8 | 1,553 | 2.3125 | 2 | [] | no_license | package com.victor.teemo;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.GL10;
import com.badlogic.gdx.graphics.OrthographicCamera;
public class EndScreen implements Screen {
final Teemo juego;
OrthographicCamera camara;
long set... | true |
2bdaa2edc6e24e75de03cdf3cb92fb12e36fd635 | Java | okokokok123/ssm- | /mybatisCode/mybatis03/src/dao/IAreaInfoNewDao.java | UTF-8 | 140 | 1.867188 | 2 | [] | no_license | package dao;
import java.util.List;
import entity.AreaInfoNew;
public interface IAreaInfoNewDao {
public List<AreaInfoNew> getAll();
}
| true |
5efa5da39c9e3cd567141eeae9555381799ba931 | Java | OwnPurpose/httpserver-kafka | /src/com/kafka/KafkaProducer.java | UTF-8 | 808 | 2.515625 | 3 | [] | no_license | package com.kafka;
import java.util.Properties;
import com.protobuff.AccountBook.Account;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
import kafka.producer.ProducerConfig;
/**
* <p>
* This is a Kafka Producer. This will send received Account data to specified Kafka Queue.
* </p>
... | true |
4d96e4ca0296ebd5fecbecbc278313e8d27c0c73 | Java | git-sky/javabasics | /src/main/java/cn/com/json_tools/fastjson/domain/WoMen.java | UTF-8 | 492 | 2.328125 | 2 | [] | no_license | package cn.com.json_tools.fastjson.domain;
import com.alibaba.fastjson.annotation.JSONField;
/**
* fastjson解析有下划线的对象会有问题,需要用@JSONField(name="_name")解决。
*/
public class WoMen {
private String _3name;
private int _3age;
public int get_3age() {
return _3age;
}
public void set_3age(int _3age) {
this._3age =... | true |
b179ab6b78481ce6e839ece23e0d52ef30b64538 | Java | nguyentrongdoan/Contact-manager | /src/Controller/MainController.java | UTF-8 | 9,260 | 2.859375 | 3 | [] | no_license | package Controller;
import Commons.FileCSV;
import Commons.validation.FunValidation;
import Moderm.User;
//import java.io.BufferedReader;
//import java.io.FileReader;
//import java.io.FileWriter;
//import java.io.Writer;
//import java.nio.file.Files;
//import java.nio.file.Path;
//import java.nio.file.Paths;
import j... | true |
95edd71aa6b7c287d82c1bcdceacdd59dbf33c40 | Java | cheng13576927404/MyFramework | /XmwApp/src/main/java/com/xiaomaowu/activitys/fragments/MainTab03.java | UTF-8 | 628 | 1.9375 | 2 | [] | no_license | package com.xiaomaowu.activitys.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.xiaomaowu.R;
public class MainTab03 extends Fragment
{
@Override
public View... | true |
798b6f0958c2d6f80dcd140ec3b8a678924cbc52 | Java | qls0ulp/FCM-toolbox | /app/src/main/java/fr/smarquis/fcm/payloads/Payload.java | UTF-8 | 474 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | package fr.smarquis.fcm.payloads;
import androidx.annotation.DrawableRes;
import androidx.annotation.IdRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.app.NotificationCompat;
public interface Payload {
@DrawableRes
int icon();
@Nullable
CharSequence... | true |
46e9e3bda9f15262cce96279d0eeb6d13e4687d4 | Java | Peter-Chensl/JavaCode | /day_06_03/src/demo/Developer.java | UTF-8 | 285 | 2.40625 | 2 | [] | no_license | package demo;
public abstract class Developer extends Employee {
public Developer() {
// TODO Auto-generated constructor stub
super();
}
public Developer(String name,int age){
super(name,age);
}
@Override
public void work() {
// TODO Auto-generated method stub
}
}
| true |
432b0d79cf9fb96579458ab4386026ffe22634e9 | Java | tjudoubi/vben-admin-java | /admin-server/src/main/java/com/xm/admin/module/content/controller/ConArticleCategoryController.java | UTF-8 | 3,091 | 2.0625 | 2 | [] | no_license | package com.xm.admin.module.content.controller;
import com.xm.admin.module.content.entity.ConArticleCategory;
import com.xm.admin.module.content.payload.ArticleCategoryAddEditRequest;
import com.xm.admin.module.content.service.IConArticleCategoryService;
import com.xm.common.utils.ResultUtil;
import com.xm.common.vo.R... | true |
0f180233aa42f17f3e02c0801603e8ea8e7146a0 | Java | SreeHarsha1/Playground | /Finding the frequency of alphabets/Main.java | UTF-8 | 845 | 3.125 | 3 | [] | no_license | import java.util.Scanner;
class Main{
public static void main(String args[])
{
Scanner in = new Scanner(System.in);
String str1=in.nextLine();
String str = str1.toLowerCase();
int ch[] = new int[26];
for(int i=0;i<=25;i++)
{
ch[i]=0;
}
for(int i=0;i<str.le... | true |
350dcaf1c517c741a08fee3cf76410d0ece3feab | Java | hylrf0/practice | /src/main/java/thinkinjava/exercises/five/TwentyOne.java | UTF-8 | 1,267 | 3.90625 | 4 | [] | no_license | package thinkinjava.exercises.five;
/**
* Created by linrufeng on 2017/2/28.
* 21和22题
*/
public class TwentyOne {
private Money money;
public TwentyOne(Money money) {
this.money = money;
}
public void description() {
switch (money) {
case ONE:
System.ou... | true |
80955445d3271b4e5d04b67f5b712f5aad03bc36 | Java | WAndromeda/OOP | /Labs (3 Semester)/Lab5/MenuLab.java | UTF-8 | 4,196 | 3.078125 | 3 | [] | no_license | import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
public class MenuLab extends JFrame {
private final static int N = 3;
private String path = new String();
private Font font = n... | true |
c3cc76f7f85ba4cfc6f389663139f54a0492bbd4 | Java | awantik/spring-MindTree-7 | /spring-mvc-test-examples-master/controllers-unittest/src/test/java/net/skillspeed/spring/testmvc/todo/TestUtil.java | UTF-8 | 671 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package net.skillspeed.spring.testmvc.todo;
/**
* @author Awantik Das
*/
public class TestUtil {
private static final String CHARACTER = "a";
public static String createRedirectViewPath(String path) {
StringBuilder redirectViewPath = new StringBuilder();
redirectViewPath.append("redirect:")... | true |
7d6ea68e30f73c139ffe091b799f1bf8205f7fb3 | Java | soulline/soulline | /Yaoyle/src/com/yyl/sensor/YylSensorManager.java | UTF-8 | 3,014 | 2.53125 | 3 | [] | no_license | package com.yyl.sensor;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Vibrator;
public class YylSensorManager {
private Context context;
private SensorManage... | true |
dfbf872b3cc3f2b1fa0268102160d7e31d04d4d8 | Java | netallied/ADK | /de.netallied.adk/src/org/automationml/internal/aml/persistence/AMLCreateAttributeInstruction.java | UTF-8 | 3,637 | 1.953125 | 2 | [
"MIT"
] | permissive | /*******************************************************************************
* Copyright (c) 2019 NetAllied Systems GmbH, Ravensburg. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
*************************************************************************... | true |
1be73a90dfd2589b85bbb1c0051971f88c21a194 | Java | kishorsutar/Ds_Algo | /DS/src/main/java/ds/arraystring/CeaserCipher.java | UTF-8 | 391 | 3.375 | 3 | [] | no_license | package ds.arraystring;
public class CeaserCipher {
public static void main(String[] args) {
ceaserCepher("jahdfkjf", 45);
}
static void ceaserCepher(String s, int k) {
int base = 'a';
for (char c : s.toCharArray()) {
int value = ((c + k - base) % 26 + base);
... | true |
dfef33ab452f67d9af20f13347b68c7d74ca3d6c | Java | m1kit/cc-archive | /2019.09/2019.09.15 - AtCoder Beginner Contest 141/EWhoSaysAPun.java | UTF-8 | 2,649 | 2.796875 | 3 | [] | no_license | package dev.mikit.atcoder;
import dev.mikit.atcoder.lib.io.LightScanner;
import dev.mikit.atcoder.lib.io.LightWriter;
import dev.mikit.atcoder.lib.debug.Debug;
import java.util.ArrayList;
import java.util.List;
public class EWhoSaysAPun {
private static final int MOD = (int) 1e9 + 7;
public void solve(int ... | true |
8012c714ce56d73d2fd6545736a0b96e09213080 | Java | Kodr-me/algorithmic-questions | /src/main/java/Solutions/TreesAndGraphs/ListOfDepths.java | UTF-8 | 1,151 | 3.953125 | 4 | [] | no_license | package Solutions.TreesAndGraphs;
import java.util.ArrayList;
import java.util.List;
// Given a binary tree, design an algorithm which creates a linked list of all the nodes at each depth (e.g., if you have a tree with depth D, you'll have D linked lists).
public class ListOfDepths {
List<List<Integer>> solution... | true |
db6426365b1333cdd3ea895ad8b1d3498c1c7b2e | Java | mroslyak/myBusUI | /src/com/mybus/model/Stop.java | UTF-8 | 500 | 2.609375 | 3 | [] | no_license | package com.mybus.model;
import java.io.Serializable;
public class Stop implements Serializable {
String name, stopId;
public Stop(String stopId, String name){
this.stopId = stopId;
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
... | true |
5263b6fd18f504df395afb446db9fd6769ebaa25 | Java | richardmr36/richard-java-programs | /data-structures-and-algorithms/src/test/java/com/myprograms/algorithms/trees/TreeTraversalsTest.java | UTF-8 | 1,344 | 3.4375 | 3 | [] | no_license | package com.myprograms.algorithms.trees;
import org.junit.Assert;
import org.junit.Test;
import static org.junit.Assert.*;
public class TreeTraversalsTest {
private Node buildTree() {
Node root = new Node(1);
root.left = new Node(2);
root.right = new Node(3);
root.left.left = new... | true |
78c9694a4e4a404ff69c4cd6898a0ffa47bf681f | Java | isulley77/MKS22X-USACO | /USACO.java | UTF-8 | 1,560 | 2.8125 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class USACO{
public static int bronze(String filename) throws FileNotFoundException{
File f = new File(filename);
Scanner s = new Scanner(f);
int R, C, E, N;
int solution = 0;
int[] assign = new int[4];
for(int i = 0; i < 4; i++){
assign[i... | true |
53df2e0c825737d0e1a2ecdc92dc3d65e6351adc | Java | SmoothJM/LeetCodeAndSwordOffer | /src/dataStructure/WBTCBigPlus.java | UTF-8 | 2,569 | 3.546875 | 4 | [] | no_license | package dataStructure;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Stack;
public class WBTCBigPlus {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] nums = sc.nextLine().split(" ");
String num1 = nums[0];
String num2 = ... | true |
a6189fc3f6f2cdd696900ee9e17eddee60450a24 | Java | udallmo/155-Project | /app/src/main/java/uwaterloo/ca/lab3_204_08/AccelerometerEventListener.java | UTF-8 | 3,786 | 2.671875 | 3 | [] | no_license | package uwaterloo.ca.lab3_204_08;
import android.graphics.Color;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.widget.TextView;
import sensortoy.LineGraphView;
public class AccelerometerEventListener implements SensorEventListener {
... | true |
8826c42ef02ec3ec785dd98c003e2ecbb708d0fc | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_45ba5f439e094c07d10c3eb6cdd48c2c77b86fb9/CMPCertificate/2_45ba5f439e094c07d10c3eb6cdd48c2c77b86fb9_CMPCertificate_s.java | UTF-8 | 1,649 | 2.25 | 2 | [] | no_license | package org.bouncycastle.asn1.cmp;
import org.bouncycastle.asn1.ASN1Choice;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1Sequence;
import org.bouncycastle.asn1.DERObject;
import org.bouncycastle.asn1.x509.X509CertificateStructure;
public class CMPCertificate
extends ASN1E... | true |
e9db0eef4ac7ac41ebd304dde7f7d7879ae3006f | Java | axiopisty/usertypes | /jsr354-hibernate-usertypes/src/test/java/com/github/axiopisty/usertypes/hibernate/jsr354/MonetaryAmountTypeTest.java | UTF-8 | 6,470 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.github.axiopisty.usertypes.hibernate.jsr354;
import com.github.axiopisty.usertypes.wrapper.entities.MonetaryAmountWrapper;
import com.github.axiopisty.usertypes.wrapper.service.MonetaryAmountWrapperService;
import org.hibernate.type.BigDecimalType;
import org.hibernate.type.StringType;
import org.hibernate... | true |
f02759360e6c72e1f82b1abcd6692f7bb239ba38 | Java | evertrue/commoncrawl_utils | /src/main/java/org/commoncrawl/rpc/InProcessActor.java | UTF-8 | 12,122 | 2.9375 | 3 | [
"MIT"
] | permissive | package org.commoncrawl.rpc;
import java.io.IOException;
import java.util.concurrent.ThreadPoolExecutor;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.commoncrawl.async.EventLoop;
import org.commoncrawl.rpc.MessageData.Status;
import org.commoncrawl.util.shared.CCStri... | true |
190c94e9701023919c48e699e422c7e2cb3f582e | Java | jw20082009/cutter | /library/src/main/java/com/wilbert/library/basic/entity/ActionEntity.java | UTF-8 | 1,015 | 2.515625 | 3 | [] | no_license | package com.wilbert.library.basic.entity;
import android.os.Parcel;
/**
* 后期动作{@link Actions}:egg:灵魂出窍,视频分裂,动感光波,幻觉
*/
public class ActionEntity extends BaseEffectEntity {
public Actions action;
public ActionEntity() {
}
protected ActionEntity(Parcel in) {
super(in);
action = Acti... | true |
9c9f7b73b91ce8f2fdd8ed1f7aeb39b38c3c7890 | Java | suevip/orgwalkerljl-db | /orgwalkerljl-db-core/src/main/java/org/walkerljl/db/orm/entity/Database.java | UTF-8 | 1,199 | 2.234375 | 2 | [] | no_license | /*
* Copyright (c) 2010-2015 www.walkerljl.org All Rights Reserved.
* The software source code all copyright belongs to the author,
* without permission shall not be any reproduction and transmission.
*/
package org.walkerljl.db.orm.entity;
import java.io.Serializable;
import org.walkerljl.db.orm.enums.... | true |
f91441e1792b0744a558c8f49ed95c1be765d7f5 | Java | martinbiix/android_test_service | /src/com/test/serviceandroid/MyService.java | UTF-8 | 2,227 | 2.125 | 2 | [] | no_license | package com.test.serviceandroid;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.IBinder;
import android.widget.Toast;
public ... | true |
d7f80118d14aa6b00d332183882b068e08528875 | Java | chang19931127/DesignMode_Learn | /src/me/modedesign/behavior/chainofresponsibily/addsalary/CommonManager.java | GB18030 | 563 | 2.609375 | 3 | [] | no_license | package me.modedesign.behavior.chainofresponsibily.addsalary;
/**
*
* @author 43994897
*/
public class CommonManager extends Manager {
public CommonManager(String name) {
super(name);
}
@Override
public void requestApplication(Request request) {
if (request.getRequestType() == "" && request.getNumber() ... | true |
112c67a95734f2cbf74f4990e3151b84179e376c | Java | Outmanlmh/Java_HDdemo | /FMaven/src/main/java/com/neuedu/web/GetCookiesServlet.java | UTF-8 | 1,083 | 2.609375 | 3 | [] | no_license | package com.neuedu.web;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.H... | true |
f0df7312c0f7a80880489e9578d8ed31770497e1 | Java | Aconic/JavaGroupCode | /src/com/aconic/lessons/ZeroXClassWork/FrameZX.java | UTF-8 | 689 | 2.53125 | 3 | [] | no_license | package com.aconic.lessons.ZeroXClassWork;
import javax.swing.*;
import java.awt.*;
import java.io.IOException;
public class FrameZX extends JFrame
{
public FrameZX() throws IOException
{
setTitle("Game ZeroXing");
setLayout(null);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOS... | true |
76e61e8ce69fe669deb90dba5579fe9e57caaf17 | Java | ll905310073/S2SHweb | /物业管理/property/src/com/service/WuyeServiceImpl.java | UTF-8 | 966 | 1.90625 | 2 | [] | no_license | package com.service;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dao.AdminDao;
import com.dao.WuyeDao;
import com.model.Admin;
import com.model.User;
import com.model.Wuye;
import com.util.Page;
import com.util.Results;
@Service
public class WuyeServiceImpl implemen... | true |
8e65c6d311c34f3566ca0ea45692a7c2e8935794 | Java | xinwei5/autoconfig | /config-core/src/main/java/com/github/autoconf/helper/ZookeeperUtil.java | UTF-8 | 6,220 | 2.53125 | 3 | [] | no_license | package com.github.autoconf.helper;
import org.apache.curator.framework.CuratorFramework;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.Watcher;
import org.apache.zookeeper.data.ACL;
import org.apache.zookeeper.data.Stat;
import java.nio.charset.Chars... | true |
46a07a56a1a4a8514da927597eb4aa550e170e99 | Java | imloama/ncc-dev-tools | /src/com/yingling/extensions/listener/action/RetrenchAction.java | UTF-8 | 1,086 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.yingling.extensions.listener.action;
import com.intellij.openapi.ui.Messages;
import com.yingling.extensions.component.NccDevSettingDlg;
import com.yingling.extensions.listener.AbstractButtonAction;
import com.yingling.extensions.service.NccEnvSettingService;
import com.yingling.libraries.listener.Retrench... | true |
407029786ac0c9f964e1b70d0a59c09b51c3f072 | Java | our-graduation-project/bookmanager | /src/main/java/cn/hnist/bookmanager/controller/LabelController.java | UTF-8 | 3,500 | 2.265625 | 2 | [] | no_license | package cn.hnist.bookmanager.controller;
import cn.hnist.bookmanager.model.Label;
import cn.hnist.bookmanager.service.LabelService;
import cn.hnist.bookmanager.utils.APIResult;
import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
... | true |
0f34f8d1ac0b4cca899559fab0bf18359a6bc43c | Java | Rinze-ady/psikyo | /src/role/GirlBullet.java | UTF-8 | 1,087 | 3.046875 | 3 | [] | no_license | package role;
import frame.GameStartFrame;
import roleEnemy.EnemyRole;
import java.awt.*;
/**
* 女孩子弹类
*/
public class GirlBullet extends BaseRole{
/**子弹图像*/
public static Image girlBulletImage;
/**
* 角色构造方法
*
*/
public GirlBullet() {
super(GameStartFrame... | true |
bfdcfa1fb7dd18da36f7775c7942b3f9a9c44f6b | Java | shweta1122/Nagarro-Hybris-Training | /trainingfacades/src/com/nagarro/facades/populators/ProductDetailsPopulator.java | UTF-8 | 1,158 | 1.796875 | 2 | [] | no_license | /*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.nagarro.facades.populators;
import de.hybris.platform.commercefacades.product.data.ProductData;
import de.hybris.platform.converters.Populator;
import de.hybris.platform.core.enums.Gender;
import de.hybris.platform.core.m... | true |
5618cd2d7fa2d1c78a51641d189144cb9a2b7438 | Java | 17639101203/zhiliao_hotel_applets_api | /src/main/java/com/zhiliao/hotel/service/ZlInvoiceService.java | UTF-8 | 2,031 | 1.757813 | 2 | [] | no_license | package com.zhiliao.hotel.service;
import com.zhiliao.hotel.common.PageInfoResult;
import com.zhiliao.hotel.controller.invoice.params.InvoiceOrderVO;
import com.zhiliao.hotel.controller.invoice.vo.InvoiceOrderToPhpVO;
import com.zhiliao.hotel.controller.myAppointment.dto.InvoiceOrderDTO;
import com.zhiliao.hotel.model... | true |
24a426ade5c3a027c6ef5c7094f4c9f30a93c07b | Java | Moyuchen/WeiTitle | /app/src/main/java/com/bwie/test/Adapter/recycleAdapter.java | UTF-8 | 2,435 | 2.421875 | 2 | [] | no_license | package com.bwie.test.Adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.TextView;
import com.bwie.test.Bean.NewsType;
import com.bwie.test.R;
import java.util.List;
/*... | true |
bbfcc422b7f9f9f219229b01e203245a0af79417 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_00c63869d1ad8177374aa516c751d98ab80238a5/Space/2_00c63869d1ad8177374aa516c751d98ab80238a5_Space_s.java | UTF-8 | 4,925 | 3.21875 | 3 | [] | no_license | package org.newdawn.slick.util.pathfinding.navmesh;
import java.util.HashMap;
/**
* A quad space within a navigation mesh
*
* @author kevin
*/
public class Space {
/** The x coordinate of the top corner of the space */
private float x;
/** The y coordinate of the top corner of the space */
priv... | true |
a1d15153558ce711b117a3b28897ff3bab3ca28a | Java | bbbar326/sample | /sample/src/main/java/science/bbbar326/scraping/App2.java | UTF-8 | 605 | 2.421875 | 2 | [] | no_license | package science.bbbar326.scraping;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class App2 {
public static void main(String[] args) throws Exception {
Document document = Jsoup.connect("https://www.google.co.jp/search?q=沖... | true |
640bd15f6335a2e93871709a8b998f78ecd5b842 | Java | Sykoh-dev/LaboG_E | /src/main/java/MedicalAppointment/demo/modelsform/PatientCreateForm.java | UTF-8 | 903 | 2.40625 | 2 | [] | no_license | package MedicalAppointment.demo.modelsform;
import MedicalAppointment.demo.dataAccess.entity.Patient;
import lombok.*;
import org.hibernate.validator.constraints.Length;
import org.springframework.validation.annotation.Validated;
@Validated @Data
public class PatientCreateForm {
@Length(min = 2, max = 25)
... | true |
3cb452e6016aa467c355d7ed55122c3cf23adf90 | Java | djin/Tumpi | /tumpiApp/src/app/tumpi/servidor/conexion/SocketServidor.java | UTF-8 | 5,008 | 2.359375 | 2 | [] | no_license | package app.tumpi.servidor.conexion;
import android.os.AsyncTask;
import android.util.Log;
import java.io.*;
import java.net.*;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
/**
*
* @author 66785270
*/
public class SocketServidor {
private Socket socket_server = null;
// pri... | true |
78eaf21bccb3c7ffc5e59ffb1c87be929ac9cb60 | Java | premkumartak/SpringDemo | /src/main/java/com/example/demo/PersonRowMapper.java | UTF-8 | 573 | 2.46875 | 2 | [] | no_license | package com.example.demo;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.example.model.User;
public class PersonRowMapper implements RowMapper<User> {
public User mapRow(ResultSet resultSet, int arg1) throws SQLException {
User person... | true |
d39b7ca40d94ce5a393abf1306d349870f707c49 | Java | dafrito/Riviera | /src/script/proxies/FauxTemplate_Scenario.java | UTF-8 | 5,334 | 2.375 | 2 | [] | no_license | package script.proxies;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import asset.Scenario;
import asset.Terrestrial;
import inspect.Inspectable;
import logging.Logs;
import script.Conversions;
import script.ScriptConvertible;
import script.ScriptEnvironment;
import script.excepti... | true |
7a2c4e50def7b49acce11b08005a72adbcbb69d7 | Java | zhongxingyu/Seer | /Diff-Raw-Data/17/17_9af7143493ec5ea2c5037ac13dfa03eaf79eb353/MainActivity/17_9af7143493ec5ea2c5037ac13dfa03eaf79eb353_MainActivity_s.java | UTF-8 | 3,991 | 1.828125 | 2 | [] | no_license | package ovgu.gruppe1.ehskapp;
import java.io.FileNotFoundException;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.os.Environment;
import android.preference.Prefe... | true |
b3c63bebd02c6af11e4960aa0ffc6c73a0589174 | Java | shishanksingh2015/movie | /app/src/main/java/com/shishank/android/BasePresenter.java | UTF-8 | 324 | 1.820313 | 2 | [
"Apache-2.0"
] | permissive | package com.shishank.android;
import com.shishank.android.api.ApiService;
import javax.inject.Inject;
/**
* @author shishank
*/
public class BasePresenter {
@Inject
protected ApiService apiService;
protected BasePresenter() {
BaseApplication.getInstance().getApiComponent().inject(this);
... | true |
63cdfe3550d22e815a1b2940477bd7f2c08919ae | Java | cshuig/rosette | /src/main/java/se/leafcoders/rosette/controller/ResourceTypeController.java | UTF-8 | 2,464 | 2.21875 | 2 | [] | no_license | package se.leafcoders.rosette.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.query.Qu... | true |
f741a56cf35286ef24dd45be9a3ce75ae7f57799 | Java | 767455399/ClownFish | /app/src/main/java/com/example/administrator/clownfish/Car.java | UTF-8 | 555 | 2.671875 | 3 | [] | no_license | package com.example.administrator.clownfish;
/**
* 项目名称:ClownFish
* 类描述:
* 创建人:WangQing
* 创建时间:2016/5/23 14:18
* 修改人:WangQing
* 修改时间:2016/5/23 14:18
* 修改备注:
*/
public class Car {
private String carColor;
private static Car car = new Car();
private Car(){};
public static Car getCar(){
... | true |
1bdd1c1f3d387c2718182b93966d58c3adf101a0 | Java | roflinasuha/250663-STIW3054-A182-A1 | /src/CalculateEffort.java | UTF-8 | 637 | 2.5 | 2 | [] | no_license |
public class CalculateEffort {
public static double ManHours1(double UCP) {
double ucp = UCP;
double er1 =20;
double manHours1 = ucp * er1;
return manHours1;
}
public static double ManHours2(double UCP) {
double ucp = UCP;
double er2 =28;
double manHours2 = ucp * er2;
r... | true |
c8358af1b3c9491a3ec6650075f627753606e1bf | Java | RyanTech/NagaRepos | /src/jp/co/rakuten/android/basket/common/util/StringValidator.java | UTF-8 | 2,029 | 3.15625 | 3 | [
"Apache-2.0"
] | permissive | package jp.co.rakuten.android.basket.common.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* @author ts-nana.furuike
*
*/
public class StringValidator {
/**
* 数値のみの値かチェックします。
*
* @param value
* 検査値
* @return true 数値のみ false 数値以外の値がある
*/
... | true |
3983966a53227cd8f54d95150b8d42aaa2058eb0 | Java | HyesungKo/CmpE133 | /src/main/Main.java | UTF-8 | 1,463 | 2.59375 | 3 | [] | no_license | package main;
/**
*
* @author David
*/
import javafx.application.Application;
import javafx.application.Platform;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
public... | true |
31b7fe8c3d5fc84dcfa1cf33702b30549e54e6fd | Java | MLogica/Spring-Repository | /MusicStoreForm/src/main/java/aish/vaishno/musicstoreform/service/IMusicService.java | UTF-8 | 277 | 1.75 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aish.vaishno.musicstoreform.service;
/**
*
* @author Aishu
*/
public interface IMusicService {
String play();
String pause();
String stop();
}
| true |
6b012f6fbb6a1373d8f585c60dfe788d44789f0a | Java | tharakadileepa/Hibernate-project | /src/lk/udarabattery/newproj/business/custom/impl/OrderBOimpl.java | UTF-8 | 3,762 | 2.234375 | 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 lk.udarabattery.newproj.business.custom.impl;
import java.math.BigDecimal;
import java.sql.Connection;
import lk.udarabattery.... | true |
696b179eeeaa0fe495509bde317fcd407c3f2a7e | Java | tejaswinisimha/HMS_Auto | /Reusables/reusableFunctions/inventory/ItemMaster.java | UTF-8 | 4,469 | 2.3125 | 2 | [] | no_license | package reusableFunctions.inventory;
import org.openqa.selenium.WebDriver;
import GenericFunctions.DbFunctions;
import GenericFunctions.EnvironmentSetup;
import keywords.SeleniumActions;
import keywords.SeleniumVerifications;
import seleniumWebUIFunctions.KeywordSelectionLibrary;
import seleniumWebUIFunctions.Verific... | true |
59bbb1efe48bf0c217cd6d4e531e9fdcbf42d166 | Java | kuali/rice | /rice-middleware/impl/src/main/java/org/kuali/rice/kew/notes/dao/impl/NoteDAOJpa.java | UTF-8 | 1,342 | 2.0625 | 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 |
80365e8a33b353492b9eb868988b78af8b29d64d | Java | BibaboTech/react-native-fast-image | /android/src/main/java/vn/bibabo/so5/imageprocessors/BFilterPack.java | UTF-8 | 12,550 | 2.359375 | 2 | [
"MIT",
"Apache-2.0"
] | permissive | package vn.bibabo.so5.imageprocessors;
import android.content.Context;
import com.zomato.photofilters.geometry.Point;
import java.util.ArrayList;
import java.util.List;
/**
* Originally created by @author Varun on 01/07/15.
* <p>
* Added filters by @author Ravi Tamada on 29/11/17.
* Added multiple filters, the ... | true |
536b95c518327a70ac3de5a55d258723defe39c2 | Java | striveprince/strive | /app/src/main/java/com/cutv/ningbo/data/util/des/DES.java | UTF-8 | 5,010 | 2.640625 | 3 | [] | no_license | package com.cutv.ningbo.data.util.des;
import java.io.IOException;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
public class DES {
private byte[] desKey;
// public static final Strin... | true |
c1f21885936f655349cc53d165338eb983083f77 | Java | Razhan/Jump | /app/src/main/java/com/example/ranzhang/myapplication/Business/ChartBLL.java | UTF-8 | 3,046 | 2.6875 | 3 | [] | no_license | package com.example.ranzhang.myapplication.Business;
import android.content.Context;
import android.graphics.Color;
import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineD... | true |
03716f5b35f1fe6f0577dab683ce27016c6f161d | Java | boyvita/java_labs | /Lab4/src/ru/billing/stocklist/ItemCatalog.java | UTF-8 | 1,712 | 3.03125 | 3 | [] | no_license | package ru.billing.stocklist;
import javafx.util.Pair;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
// id add() item get(id) item[] get(price, category) remove id[]
public class ItemCatalog {
private HashMap<Integer, GenericItem> catalog = new HashMap<Int... | true |
55b939d27445aed65fd1b07ac1d972afffcb2dfb | Java | tmznf963/SIST-E | /0808/src/InheritanceDemo1.java | UHC | 679 | 4.03125 | 4 | [] | no_license |
public class InheritanceDemo1 {
public static void main(String[] args) {
Derived d = new Derived("Ballpen",1000);
}
}
class Base {
String name;
public Base(String name) {
System.out.println("θ "+name);
}
}
class Derived extends Base {
int price;
public Derived(String name , int price) {//ڽ θ ⺻() ȣѴ.
//... | true |
a87eb1fd6413b6aa3d0810bcdfb53a1d65a51b1c | Java | opus-research/RefDetector | /src/main/java/com/sdmetrics/model/XMITrigger.java | UTF-8 | 3,968 | 2.609375 | 3 | [] | no_license | /*
* SDMetrics Open Core for UML design measurement
* Copyright (c) 2002-2011 Juergen Wuest
* To contact the author, see <http://www.sdmetrics.com/Contact.html>.
*
* This file is part of the SDMetrics Open Core.
*
* SDMetrics Open Core is free software: you can redistribute it and/or modify
* it under... | true |
dcbab9d2208a1d0d1a288611476d03b62b50a5fb | Java | ikuboo/addingcode | /src/main/java/com/ikuboo/guava/future/ExecutorServiceDemo1.java | UTF-8 | 838 | 3.046875 | 3 | [] | no_license | package com.ikuboo.guava.future;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* @author yuanchunsen@jd.com
* 2018/1/21.
*/
public class ExecutorServiceDemo1 {
public static void main(String[] args) throws Interrup... | true |
62b9d9f8279ec96954979977121ad70fc00653d3 | Java | wb1992321/PictureSelector | /pictureselector/src/main/java/cn/wang/img/selector/views/PictureStagger.java | UTF-8 | 1,294 | 2.34375 | 2 | [] | no_license | package cn.wang.img.selector.views;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
/**
* author : wangshuai Created on 2017/5/16
* email : wangs1992321@gmail.com
*/
public class PictureStagger extends GridLayoutManager.SpanSizeLookup {
public static final in... | true |
708462e78835d570db2763b0b9a1babbdd9f71bc | Java | Ivan19981305/Netcracker-2021-Georgiev | /Дз к 16.04/Задание 1/Main.java | UTF-8 | 1,375 | 2.859375 | 3 | [] | no_license | package ivge;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
public class Main {
public static void main(String[] args) throws NoSuchMethodException, InvocationTargetException, IllegalAccess... | true |
0e0ab08274f501a385b6b5f1aaba65550dac1c79 | Java | Oroles/Hlin-PasswordManager | /Phone/app/src/main/java/com/example/oroles/hlin/Controllers/CommandManagerController.java | UTF-8 | 1,008 | 2.8125 | 3 | [
"MIT"
] | permissive | package com.example.oroles.hlin.Controllers;
import com.example.oroles.hlin.InterfacesControllers.ICommandManager;
import com.example.oroles.hlin.InterfacesControllers.IStore;
import java.util.ArrayList;
public class CommandManagerController implements ICommandManager {
private IStore mStore;
private ArrayL... | true |
c77143f5d8a78144cb71eaa20f19247021d2dd1e | Java | hoangpham1997/ChanDoi | /Project/ebweb2019/src/main/java/vn/softdreams/ebweb/service/util/DateUtil.java | UTF-8 | 7,301 | 2.484375 | 2 | [] | no_license | package vn.softdreams.ebweb.service.util;
import com.google.common.base.Strings;
import org.apache.commons.lang3.StringUtils;
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.temporal.IsoFields;
import java.util.Locale;
import java.util.Objects;
public class DateUtil {
public stat... | true |
ced7c6af97853b61bf4c4de3f0b5825e5b1110f9 | Java | EmmaStonePB/Scripts | /src/com/emmastone/rs3/scripts/esminer/tasks/banking/OpenBank.java | UTF-8 | 627 | 2.015625 | 2 | [] | no_license | package com.emmastone.rs3.scripts.esminer.tasks.banking;
import org.powerbot.script.methods.MethodContext;
import com.emmastone.rs3.scripts.esminer.data.Location;
import com.emmastone.rs3.scripts.framework.Task;
public class OpenBank extends Task {
public OpenBank(MethodContext ctx) {
super(ctx);
}
@Overr... | true |
e41c98ff7155585b8ff660d54938cc17881d37e7 | Java | lqf7F/cmfz | /src/main/java/com/baizhi/dao/ChapterDao.java | UTF-8 | 1,242 | 2.140625 | 2 | [] | no_license | package com.baizhi.dao;
import com.baizhi.entity.Chapter;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;
public interface ChapterDao {
@Select("select id,tit... | true |
c27590d9c258a78a729b684a4a182d76a72ba3f5 | Java | yuexiaoguang/tomcat8.5 | /src/javax/servlet/jsp/JspContext.java | UTF-8 | 6,955 | 2.546875 | 3 | [] | no_license | package javax.servlet.jsp;
import java.util.Enumeration;
import javax.el.ELContext;
/**
* <p>
* <code>JspContext</code>作为PageContext类的基类,并抽象出所有并不特定于servlet的信息.
* 允许在一个request/response Servlet的上下文外面使用Simple Tag Extension.
* <p>
* JspContext 提供许多工具到page/component作者和网页实现人员, 包括:
* <ul>
* <li>一个单一的API来管理不同作用域的命名空间... | true |
9ba55f48f0dcf7686a086d5956859378eff2bb58 | Java | smshen/sky-batch | /src/main/java/com/usee/sky/batch/processor/MessagesItemProcessor.java | UTF-8 | 519 | 2.34375 | 2 | [] | no_license | package com.usee.sky.batch.processor;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.stereotype.Component;
import com.usee.sky.model.Message;
import com.usee.sky.model.User;
@Component("messageProcessor")
public class MessagesItemProcessor implements ItemProcessor<User, Message>
{
... | true |
9f0eaeeecd7fcf2a19a415c38523feb39fe0f5aa | Java | HiEvi/javaTest | /src/everyday/three/RectCover.java | UTF-8 | 697 | 3.984375 | 4 | [] | no_license | package everyday.three;
/**
* 题目描述
* 我们可以用2*1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2*1的小矩形无重叠地覆盖一个2*n的大矩形,总共有多少种方法?
* n 1 2 3 4
* 方法数 1 2 3 5
* 解决思想:我的:由于宽度不变,都是2,则长度可以看成由1或2组成,问题就变成了n可以有多少种1或2组成的方法
*/
public class RectCover {
public int RectCover(int n) {
if (n==0 || n==1 || n==2) {
retur... | true |
4ba528e176bc4337f90677260f0df23ea0a19770 | Java | huangwei-github/yau_ksxt | /.svn/pristine/4b/4ba528e176bc4337f90677260f0df23ea0a19770.svn-base | UTF-8 | 973 | 1.859375 | 2 | [] | no_license | package com.lanou.service.impl;
import com.github.pagehelper.PageHelper;
import com.lanou.dao.INoticeMapper;
import com.lanou.entity.pojo.TbNotice;
import com.lanou.service.INoticeService;
import com.lanou.util.PageSplitor;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory... | true |
1833a5c5e6fd571f9e3e3709ad372fac983b3bc6 | Java | yh1993/Treasure | /app/src/main/java/com/dell/treasure/rank/TaskRankActivity.java | UTF-8 | 9,249 | 1.898438 | 2 | [] | no_license | package com.dell.treasure.rank;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
im... | true |
6ecbd0266f8bfd05ec58d49b1250000c76bd09ca | Java | longlivetmj/roadrunner | /src/main/java/com/tmj/tms/utility/DateFormatter.java | UTF-8 | 24,956 | 3.234375 | 3 | [] | no_license | package com.tmj.tms.utility;
import java.text.Format;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Month;
import java.util.*;
import java.util.concurrent.TimeUnit;
public class DateFormatter {
private Format formatter;
private NumberFormatter numberFormatter = new Numbe... | true |
973a573a5ad5826e9e1ef04cfe5c9c5ca37f1f96 | Java | MohdImranulHoqueLimon/product-list-vuejs | /src/main/java/com/vuejs/practice/User.java | UTF-8 | 249 | 1.765625 | 2 | [] | no_license | package com.vuejs.practice;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
int id;
String name;
int age;
String profession;
}
| true |
9fd120eb1bc2d08d7a2b49b8831c0124a6bbf4f8 | Java | littlehorse1019/std-arrow | /src/main/java/com/std/framework/model/orm/MapRule.java | GB18030 | 394 | 1.773438 | 2 | [] | no_license | package com.std.framework.model.orm;
/**
* @author Luox ORMMAPING ӳӿ
*/
public interface MapRule {
public String objMapTab (String className) throws Exception;
public String objMapCol (String fieldName) throws Exception;
public String tabMapObj (String className) throws Exception;
public String c... | true |
7e02489c8c7cb2b5d92cba80abac7ad3232447a8 | Java | ty2009137128/speczoo2 | /src/com/graduation/filter/RequestInterceptor.java | UTF-8 | 1,163 | 2.28125 | 2 | [] | no_license | package com.graduation.filter;
import com.graduation.model.User;
import com.graduation.web.SessionContext;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
//没有... | true |
98f3fa60840cbecfe26d6c63a59d46548a63aae9 | Java | noormoha/DCCast | /dccast/graphTheory/steinLib/STPTranslator.java | UTF-8 | 10,598 | 2.96875 | 3 | [
"MIT"
] | permissive | package graphTheory.steinLib;
import graphTheory.graph.Arc;
import graphTheory.graph.DirectedGraph;
import graphTheory.graph.UndirectedGraph;
import graphTheory.instances.steiner.classic.SteinerDirectedInstance;
import graphTheory.instances.steiner.classic.SteinerInstance;
import graphTheory.instances.steiner.classic.... | true |
96b8a65bca1937c4bb0c050f74d11896f450320e | Java | mariza1991/learning | /firsttest/src/test/java/tests/newTests/pageObject/pages/Index.java | UTF-8 | 997 | 2.4375 | 2 | [] | no_license | package tests.newTests.pageObject.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.Select;
public class Index extends PageObject {
@FindBy(name="fromPort")
WebElement fromPortSelect;
@Find... | true |
6bf48a42bfb9fc2595e2082c85e6767a8329100a | Java | silcab/tfgSactt | /SACTT-GUI/src/editorConsultaIntegrada.java | WINDOWS-1250 | 15,735 | 1.96875 | 2 | [] | no_license | import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
i... | true |
e884b4fbb7a323b38912436024901d0932cdaa40 | Java | taoboy/HZQ-Cloud | /hzq-system-service/system-api/src/main/java/com/hzqing/system/api/dto/serve/ServeDto.java | UTF-8 | 992 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package com.hzqing.system.api.dto.serve;
import com.hzqing.common.core.service.dto.BaseDto;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
* <p>
* 服务管理表
* </p>
*
* @author hzqing
* @since 2019-08-13
*/
@Data
@Accessors(chain = true)
public cla... | true |
e4ed95fabd2ab9f2b17f3b68efcb7ca3cd602278 | Java | talspektor/DesignPatterns | /src/p02/abstractFactory/PrinterType.java | UTF-8 | 77 | 2.109375 | 2 | [] | no_license | package p02.abstractFactory;
public enum PrinterType {
PLAIN_TEXT, HTML;
}
| true |
db00887ab0145075ec7fdc9ee6d97030d25d365c | Java | letimome/CustomDiff | /src/main/java/customs/controllers/alluvial/Alluvial_Feature_Product_Packages.java | UTF-8 | 4,959 | 2.0625 | 2 | [] | no_license | package customs.controllers.alluvial;
import java.util.ArrayList;
import java.util.Iterator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.s... | true |
79ad99f5fef8617825caa15ee8d2576dc9a76ae3 | Java | kenne12/PDSD_PRCDS_MONITORING | /src/java/entities/ActiviteRegionElementCout.java | UTF-8 | 4,703 | 1.90625 | 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 entities;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persisten... | true |
132c790da26e1e5c825b6a6e43a8bbeb24f9de1d | Java | aksasha13/Tetris-Java | /src/tetrisBlocks/TShape.java | UTF-8 | 196 | 1.773438 | 2 | [] | no_license | package tetrisBlocks;
import tetris.TetrisBlock;
public class TShape extends TetrisBlock
{
public TShape()
{
super(new int [][]{{1,1,1},
{0,1,0}});
}
} | true |