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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
6f6b085d3f6d2f0c5e4c08eb66eb65a2fb179403 | Java | Suranchiyev/sdet-java-b4 | /src/day30/Project.java | UTF-8 | 1,521 | 3.734375 | 4 | [] | no_license | package day30;
public class Project {
public static void main(String[] args) {
// 1. Validation. To determine if card number is valid or not
// - regular validation(Visa uses 13)
// - Luhn's Algorithm
// 2. To determine type of card
// - American Express numbers start with 34 or 37
// - Mas... | true |
b0e8b95c80dac30d02ade8790edfc614ae1eeb8f | Java | rhulha/Q3BSPParser | /test/net/raysforge/prodeus/TestGetAllUsedTextures.java | UTF-8 | 442 | 2.421875 | 2 | [
"MIT"
] | permissive | package net.raysforge.prodeus;
import java.io.IOException;
import java.util.List;
import net.raysforge.map.MapParser;
public class TestGetAllUsedTextures {
public static void main(String[] args) throws IOException {
MapParser mapParser = new MapParser("D:\\GameDev\\Tests\\base1.map");
List<String> allUsedText... | true |
424df64b30e045e4d70d040616a22c4c6b1e78eb | Java | Maopp/design_patterns | /src/main/java/com/catpp/design_patterns/structural_type_8/adapter_pattern/MediaPlayer.java | UTF-8 | 304 | 2.328125 | 2 | [] | no_license | package com.catpp.design_patterns.structural_type_8.adapter_pattern;
/**
* com.catpp.design_patterns.structural_type_8.adapter_pattern
*
* @Author cat_pp
* @Date 2019/1/17
* @Description mp3 播放器接口类
*/
public interface MediaPlayer {
void play(String audioType, String fileName);
}
| true |
9a2ecc1082c9bd3a189361f891fd0cd35d59b1f3 | Java | higgurat/CuteCats | /app/src/main/java/org/kpaikena/cutecats/adapters/RecyclerViewImageAdapter.java | UTF-8 | 2,331 | 2.46875 | 2 | [] | no_license | package org.kpaikena.cutecats.adapters;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import org.kpaikena.cutecats.R;
import org.kpaikena.cutecats.n... | true |
da4acb916ad867e99c81168700719cda27323d67 | Java | alexey-petrusevich/IMDB | /src/model/UnknownActor.java | UTF-8 | 935 | 2.984375 | 3 | [] | no_license | package model;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
/**
* Represents an unknown movie actor.
*/
final class UnknownActor extends AMoviePerson {
/**
* Returns an instance of {@code AMoviePerson}.
*/
UnknownActor() {
super("Unknown", "Unkn... | true |
55ede16386e2e431197f5492f1a92f481fd7d257 | Java | sksumit1/DesignPatterns | /src/factory_design_pattern/impl/Cat.java | UTF-8 | 194 | 2.8125 | 3 | [] | no_license | package factory_design_pattern.impl;
import factory_design_pattern.I_Animal;
public class Cat implements I_Animal {
@Override
public void makeSound() {
System.out.println("Meaow");
}
}
| true |
1486b891ab805252d70539cffbebe4679622f3e6 | Java | TimLin1024/DesignPattern | /DesignPattern/src/abstractfactory/MarinSauce.java | UTF-8 | 77 | 1.859375 | 2 | [] | no_license | package abstractfactory;
public class MarinSauce implements Sauce {
}
| true |
064e2566d39946124b8d6a8665e64903982104e0 | Java | pxson001/facebook-app | /classes5.dex_source_from_JADX/com/facebook/graphql/model/GraphQLTopicFeedOption__JsonHelper.java | UTF-8 | 2,918 | 1.851563 | 2 | [] | no_license | package com.facebook.graphql.model;
import com.facebook.debug.fieldusage.FieldAccessQueryTracker;
import com.facebook.graphql.enums.GraphQLObjectType;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
/* compiled from: Type-wrap... | true |
1a7c563991825ad7aeff7c80dfd2e96bd8d1b2bb | Java | minhlucvan/intem | /src/main/java/intem/mudules/stampfactory/input/StampFactoryOption.java | UTF-8 | 1,612 | 2.140625 | 2 | [] | no_license | package intem.mudules.stampfactory.input;
import java.util.HashMap;
/**
* Created by minh on 27/09/16.
*/
public class StampFactoryOption {
public static final int INPUT_CSV = 0;
public static final int OUTPUT_PNG = 1;
public static final int OUTPUT_PDF = 2;
public static final int OUTPUT_SINGLE =... | true |
0ae703be405bb1bdeec1ee93325f8fe27255a5e1 | Java | thelordvampire/thread_example | /src/TwoThreads1/DuLieu.java | UTF-8 | 675 | 2.609375 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package TwoThreads1;
/**
*
* @author C0907I1030
*/
public class DuLieu {
private String[] ArrName={"An","Dat","Nam","Cuong","Duy"};
private int index,flag=1;
public int getFlag() {
return flag;
... | true |
2a624597ad9641058fa7565af9cb3165d0b47c68 | Java | leorolland/ESIR1_prog | /tp2/src/util/TestUnitaireCouple.java | UTF-8 | 4,049 | 3.1875 | 3 | [] | no_license | package util;
// les outils externes
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
// les types du projet
import types.Rationnel;
import rationnel.RationnelSimple;
import util.Couple;
public class TestUnitaireCouple
{
// ------------------------------------------------
// composantes d... | true |
5299879c73d4c596232889d95f4c0895b3713678 | Java | wuyizhong/SpringFramework.wangmeng.definition | /benefits/benefits-moudle/benefits-bean/src/main/java/com/lx/benefits/bean/dto/enterpriseadmin/credit/CreditExchangeResDto.java | UTF-8 | 1,151 | 1.921875 | 2 | [] | no_license | package com.lx.benefits.bean.dto.enterpriseadmin.credit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @author unknow on 2018-12-05 21:31.
*/
@Data
@ApiModel("企业后台积分充值OR退款信息")
public class CreditExchangeResDto {
@ApiModelProperty(value = "积分变更i... | true |
99330294504bb39f261fd81af1f4f2e6b2b397f5 | Java | Weird-Light/Algorithm-bro | /leetcodetest/src/part_1/medium/arrayandmatrix/FindDuplicate287.java | UTF-8 | 1,084 | 3.875 | 4 | [
"MIT"
] | permissive | package part_1.medium.arrayandmatrix;
public class FindDuplicate287 {
public int findDuplicate(int[] nums) {
// 方法一 桶排序 用空间换时间
// int[] cnt = new int[nums.length + 1];
// for(int num : nums) {
// cnt[num]++;
// }
// for(int i = 1; i < cnt.length; ++i) {
... | true |
31bf2c53997fcf97c413aa2d9f8b560147bbfd21 | Java | sagyad/qaworks | /src/main/java/Elements/Base.java | UTF-8 | 219 | 1.851563 | 2 | [] | no_license | package Elements;
import Utility.Browsers;
import org.openqa.selenium.WebDriver;
/**
* Created by Owner on 03/08/2017.
*/
public class Base {
WebDriver Driver = Browsers.driver(Browsers.BrowserType.CHROME);
}
| true |
97672d0ec4bee174074ff9283a2aeb9b7e397452 | Java | danimaniarqsoft/files | /src/main/java/mx/danimaniarqsoft/files/util/ExcludeFiles.java | UTF-8 | 2,352 | 1.921875 | 2 | [] | no_license | package mx.danimaniarqsoft.files.util;
import java.util.ArrayList;
import java.util.List;
public class ExcludeFiles {
private ExcludeFiles() {
}
public static List<String> getExcludedFolders() {
List<String> folder = new ArrayList<>();
folder.add(".settings");
folder.add(".git")... | true |
e3c29858b838f95eb5a84ad1199beb0d26e71735 | Java | saimatab/AppiumTestProject | /src/au/com/miracletek/forms/AutomationTestForm3.java | UTF-8 | 7,529 | 1.679688 | 2 | [] | no_license | package au.com.miracletek.forms;
import org.openqa.selenium.By;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.remote.RemoteWebDriver;
import au.com.miracletek.common.BasePage;
import au.com.miracletek.common.Constants;
import au.com.miracletek.common.DriverConfig;
import io.appium.java_client.Mobi... | true |
ad9e22c726501fabca102dc025c13e4a3e8ee36a | Java | editariyus26/app_buku | /src/app_buku/Buku.java | UTF-8 | 3,520 | 2.28125 | 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 app_buku;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax... | true |
48b6227a4af584ac2b3d195e8a06d71ec9dbcd80 | Java | minhduc24/OOLT.20202.20184071.BuiMinhDuc | /Lab06/src/hust/soict/hedspi/aims/disc/DigitalVideoDisc.java | UTF-8 | 1,381 | 2.796875 | 3 | [] | no_license | package hust.soict.hedspi.aims.disc;
import hust.soict.hedspi.aims.media.Media;
/**
* DigitalVideoDisc
*/
public class DigitalVideoDisc extends Media{
private String director;
private int length;
public String getDirector() {
return director;
}
public void setDirector... | true |
82d027bb27da47c0fd9e6ea2fdb140b5b40ba857 | Java | ortstd15/MyFirstXML | /src/XMLReaderDOM/XMLReaderDOM.java | UTF-8 | 342 | 2.546875 | 3 | [] | no_license | package XMLReaderDOM;
import controller.EmployeeController;
import model.Employee;
public class XMLReaderDOM {
public static void main(String[] args) {
EmployeeController controller = new EmployeeController();
for (Employee e : controller.readEmployees()) {
System.out.println(e)... | true |
b8e32ed627e386b95bf50c254555cfe14125c3c9 | Java | ginkoc/learning | /spring-netty-rabbitmq/src/main/java/com/ginko/learning/snr_integration/rabbitmq/RabbitmqConfig.java | UTF-8 | 759 | 2.109375 | 2 | [] | no_license | package com.ginko.learning.snr_integration.rabbitmq;
import org.springframework.amqp.core.MessageProperties;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author ginko
* @date 5/6/20
*/
@Configurat... | true |
fc9dc8f0572aaf6ecddc684a486da648fa0bd91d | Java | ccare/eden-ws | /src/test/java/ccare/symboltable/impl/javascript/DefinitionTest.java | UTF-8 | 9,693 | 1.90625 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* Copyright (c) 2010, Charles Care
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions... | true |
74f50ff13101dcc16c4a46f5ca9a9df17f67c67a | Java | coheigea/tdq-studio-se | /main/plugins/org.talend.dataprofiler.core/src/org/talend/dataprofiler/core/migration/impl/CreateDQRulesFolderTask.java | UTF-8 | 2,422 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | // ============================================================================
//
// Copyright (C) 2006-2019 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... | true |
8245e4ee0ac71ce557f4e2d8393bab9eb6a9fe3d | Java | jdpc86/springMVCdemo | /src/main/java/nl/brianvermeer/snyk/springmvc/controller/UploadController.java | UTF-8 | 3,663 | 2.515625 | 3 | [] | no_license | package nl.brianvermeer.snyk.springmvc.controller;
import nl.brianvermeer.snyk.springmvc.controller.util.CookieUtil;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.CookieValue;
import org.springframework.web.bind.annotation.Reque... | true |
73de9d2b673a93e877a1e445af0b64aaf1444492 | Java | srikanthrsb/kontakt-beacon-admin-sample-app | /app/src/main/java/com/kontakt/sample/receiver/BackgroundScanReceiver.java | UTF-8 | 444 | 1.992188 | 2 | [] | no_license | package com.kontakt.sample.receiver;
import android.content.Context;
import com.kontakt.sample.broadcast.AbstractBroadcastHandler;
import com.kontakt.sample.broadcast.NotificationBroadcastHandler;
public final class BackgroundScanReceiver extends AbstractScanBroadcastReceiver {
@Override
protected AbstractB... | true |
eb433637035515fcc21c4aad2b298127dcdfa46b | Java | florius88/CitasPSP | /MutantesInhumanosYViceversa/src/mensajes/entidades/Usuario.java | UTF-8 | 3,146 | 2.421875 | 2 | [] | no_license | package mensajes.entidades;
import java.io.Serializable;
import javax.swing.ImageIcon;
/**
*
* @author Flor
*/
public class Usuario implements Serializable{
//Informacion del usuario
private int idUsuario;
private String email;
private String pwd;
private String confirmarPwd;
private ... | true |
509e60501399a87db9eb6fabc74b4451e828a388 | Java | CyrusVatandoost/traffic-flow-simulator | /src/Display.java | UTF-8 | 10,324 | 3.046875 | 3 | [] | no_license | import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.util.ArrayList;
import javax.swing.JComponent;
/**
* This class displays the elements of the simulation.
*/
public class Display extends JComponent {
private int width;
private int height;
private int windowWidth;
private ... | true |
f61ca3b8f965caa67162a253befd311df892409f | Java | karthik814-java/MyRetail | /src/main/java/com/myretail/catalog/product/ws/dao/ProductPriceDAO.java | UTF-8 | 831 | 2.171875 | 2 | [] | no_license | package com.myretail.catalog.product.ws.dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;
import com.myretail.catalog.product.ws.model.Price;... | true |
810da46b03aada5ec13bad5eb23fdaf137cbaa0a | Java | ShambhaviAwasthi/DSA-Practice-Questions | /Add Two Numbers.java | UTF-8 | 1,344 | 3.625 | 4 | [] | no_license | /*
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
You may assume the two numbers do not contain any leading zero, except the number 0 itself.
Ex... | true |
6a47b63858c3a37cfb18ffc41222a9a76c9b099f | Java | lxjlovelxy/kbssadmin | /src/main/java/com/kbss/admin/cms/filter/entity/CommonError.java | UTF-8 | 739 | 2.15625 | 2 | [] | no_license | package com.kbss.admin.cms.filter.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* <p></p>
* <p>Created by qrf on 2018/10/25.</p>
*
* @author qrf
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonError {
pri... | true |
743a2a2092065c140cadf0832efc305e381b1e29 | Java | horryq/BigGame | /BigGameServer/src/main/java/com/biggame/net/interfaces/NetClient.java | UTF-8 | 249 | 1.976563 | 2 | [] | no_license | package com.biggame.net.interfaces;
import java.util.concurrent.CompletableFuture;
/**
* Created by guofeng.qin on 2016/12/29.
*/
public interface NetClient {
CompletableFuture<NetClient> connect(String host, int port);
void close();
}
| true |
28884b1c956aa4491f260b7d8fd5945c8e0dc2ab | Java | maryfalcon/testproject | /src/main/java/com/example/testproject/model/Note.java | UTF-8 | 945 | 2.109375 | 2 | [] | no_license | package com.example.testproject.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.vladmihalcea.hibernate.type.json.JsonBinaryType;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import ja... | true |
006780c451d16404196505dce48b173693f64348 | Java | IMHuber/graphlib | /src/main/java/model/UndirectedGraph.java | UTF-8 | 685 | 2.890625 | 3 | [] | no_license | package model;
import lombok.Data;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
@Data
public class UndirectedGraph implements Graph {
public UndirectedGraph() {
setVertices(new ConcurrentHashMap<>());
setEdges(new CopyOnWriteArrayList<>());
... | true |
a645f6b7c7e16335271906f9a24ead32cc89e7f4 | Java | Arjunarju717/WebScraping | /web-scraping/src/main/java/com/webscraping/customrepositoryimpl/CustomEventDetailsRepositoryImpl.java | UTF-8 | 1,009 | 2.3125 | 2 | [] | no_license | package com.webscraping.customrepositoryimpl;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import com.webscraping.customrepository.CustomEventDetailsRepository;
import com.webscraping.entity.EventDetails;
publi... | true |
985ba18eb0e324a75ba9f4db1bbb3bf76eddff6c | Java | malifeng/design_pattern | /src/main/java/com/mlf/structural/facade/PointsPaymentService.java | UTF-8 | 209 | 2.140625 | 2 | [] | no_license | package com.mlf.structural.facade;
public class PointsPaymentService {
public boolean pay(PointsGift pointsGift){
System.out.println("支付"+pointsGift.getName());
return true;
}
}
| true |
ae5f0807e483eef4e11e4b953027a144106b39b2 | Java | ankit-joinwal/sbox | /SociallBoxService/src/main/java/com/bitlogic/sociallbox/service/business/impl/CategoryServiceImpl.java | UTF-8 | 2,091 | 2.234375 | 2 | [] | no_license | package com.bitlogic.sociallbox.service.business.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bitlogic.sociallbox.data.m... | true |
824064b08952bba37b3fd3a8a2ab774bb7b4d431 | Java | ozzylamberth/prueba1-caja-de-apuestas | /ApuestaSOA/src/ormsamples/CreateApuestaData.java | UTF-8 | 3,694 | 1.992188 | 2 | [] | no_license | /**
* Licensee: DuKe TeAm
* License Type: Purchased
*/
package ormsamples;
import org.orm.*;
public class CreateApuestaData {
public void createTestData() throws PersistentException {
PersistentTransaction t = orm.ApuestaPersistentManager.instance().getSession().beginTransaction();
try {
orm.DAOF... | true |
fdae028d0c5332cfcb0f4c0bd584f7ead6788e29 | Java | rkeshmir/telegramCrawler | /telegram-ob/src/main/java/ir/adventure/observer/client/core/org/telegram/api/phone/call/TLAbsPhoneCall.java | UTF-8 | 293 | 1.648438 | 2 | [] | no_license | package ir.adventure.observer.client.core.org.telegram.api.phone.call;
import ir.adventure.observer.client.core.org.telegram.tl.TLObject;
/**
* @author Ruben Bermudez
* @version 1.0
*/
public abstract class TLAbsPhoneCall extends TLObject {
public TLAbsPhoneCall() {
super();
}
}
| true |
ed2cb29ae1b6a0d4723dc0dd1683ac2eb9601ab3 | Java | amikar/nba-scores | /src/main/java/nba_score_parent/nba_score/dto/Broadcast.java | UTF-8 | 1,745 | 2.140625 | 2 | [] | no_license |
package nba_score_parent.nba_score.dto;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fast... | true |
9059e9a40861ff5ae0d3cd6c48a58b9c80671c6a | Java | keyman1995/gene | /com.ycjcjy.gene/com.ycjcjy.gene.dao/src/main/java/com/ycjcjy/gene/model/CardTicketSalve.java | UTF-8 | 1,278 | 1.851563 | 2 | [] | no_license | package com.ycjcjy.gene.model;
import net.onebean.core.extend.FiledName;
import net.onebean.core.extend.IgnoreColumn;
import net.onebean.core.extend.TableName;
import net.onebean.core.model.BaseModel;
import javax.xml.crypto.Data;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
@TableNa... | true |
f54a39c323e6c5a0df2e14de103b54a333da3618 | Java | ChoiSukwoo/University_Java | /University_Java_2-2/SourceCode/week12/DataOutputStreamEX.java | UTF-8 | 735 | 3.34375 | 3 | [] | no_license | package week12;
import java.io.BufferedOutputStream;
import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.OutputStream;
public class DataOutputStreamEX {
public static void main(String[] args) throws Exception {
//바이트 ... | true |
e873f980159eaf82bb8d914865c59c04b162a187 | Java | prathapc/TwitterDashboardAppEngine | /src/main/java/com/akosha/servlet/ListToJavaScriptVar.java | UTF-8 | 507 | 2.421875 | 2 | [] | no_license | package com.akosha.servlet;
import java.util.List;
public class ListToJavaScriptVar {
public static String toJavascriptArray(List<String> followers){
Object[] arr = followers.toArray();
StringBuffer sb = new StringBuffer();
sb.append("[");
for(int i=0; i<arr.length; i++){
sb.append("\"").ap... | true |
64aa37966c3db8af35e1dbce91ff4b1ec2647ab6 | Java | guozeyuyzg/dc_spark | /src/main/scala/com/ipaynow/test/substring.java | UTF-8 | 625 | 2.609375 | 3 | [] | no_license | package com.ipaynow.test;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class substring {
public static void main(String[] args) throws Exception{
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
String createTime = "2019-07-03 18:33:55";
... | true |
e0c1d08107a9f5003ed299113b37a60d86f51aff | Java | BAT6188/qidian_Android | /app/src/main/java/com/uautogo/qidian/model/ConfigUrl.java | UTF-8 | 1,722 | 1.75 | 2 | [] | no_license | package com.uautogo.qidian.model;
/**
* Created by uuun on 2018/8/2.
*/
public class ConfigUrl {
//服务器地址
public final static String URL_BASE = "https://etc.uautogo.com/api/ckeInfo";
//查询CKE余额
public final static String URL_GETCARMONEY = URL_BASE+"/queryCkeInfoById";
//设置支付密码
public final s... | true |
79116dfae3e757fecacb35c4386de1cb36786c3c | Java | The-Dawwctor/sempre-robot | /src/edu/stanford/nlp/sempre/interactive/robot/Goal.java | UTF-8 | 2,345 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package edu.stanford.nlp.sempre.interactive.robot;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.testng.collections.Lists;
import org.apache.commons.math3.complex.Quaternion;
import edu.stanford.nlp.sempre.Json;
import edu.stanford.nlp.sempre.interactive.robot.Point;
/* Represent... | true |
93ffa77f4e2bab271593a78f6ce609939f2e167d | Java | fabatef/6.005 | /ic03-testing/src/IntSetTest.java | UTF-8 | 1,529 | 3.109375 | 3 | [] | no_license |
import static org.junit.Assert.*;
import org.junit.Test;
public class IntSetTest {
//
// Testing strategy:
//
// Partition for this.intersect(that) -> result:
//
// this.size: 0, 1, >1
// that.size: 0, 1, >1
// result.size: 0, 1, >1
// this = that, this subset-of that, th... | true |
98b620d3f9da9e246ef29aebb27137a849994d17 | Java | hohorim/haninum_hojuino | /src/main/java/com/example/um/parents.java | UTF-8 | 2,772 | 2.4375 | 2 | [] | no_license | package com.example.um;
import android.content.DialogInterface;
import android.os.Bundle;
import android.os.Handler;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import and... | true |
804a40f080949631dbedb329fa0e33f86be4da25 | Java | sangeethasundar/java_files | /thoughtworks.java | UTF-8 | 464 | 2.75 | 3 | [] | no_license | import java.io.*;
import java.util.*;
import java.lang.*;
public class thoughtworks
{
public static void main(String[] args)
{
int flag,f=0,i,j;
String str="bat";
char ch[]={'t','a','b','c'};
for(i=0;i<str.length();i++)
{
flag=0;
for(j=0;j<ch.length;j++)
{
if(str.charAt(i)==ch[j])
{
flag=1;
break;
}
... | true |
cc83c14d3ce5f9d9d0c88539129e0c527b08257a | Java | radhi-ka/Java-Project | /Programs new/Core/src/com/easylearnjava/methodoverloading/Demo.java | UTF-8 | 378 | 3.03125 | 3 | [] | no_license | package com.easylearnjava.methodoverloading;
public class Demo {
public static void main(String[] args) {
// TODO Auto-generated method stub
Employee emp= new Employee();
double sal= emp.calculateEmpSalary(1);
System.out.println("The employee salary is : " + sal);
emp.calculateEmpSalary(6);
emp.calculateEmpSalary(... | true |
0992529859729e0f40ccf69ec48cc940a3c98578 | Java | ShahidHussainAbbasi/myplus | /src/main/java/com/service/abbasiWelfare/DonationService.java | UTF-8 | 3,573 | 2.0625 | 2 | [
"MIT"
] | permissive | package com.service.abbasiWelfare;
import java.util.List;
import java.util.Optional;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.doma... | true |
f5e361ae1cea9250585784f7a2efe4e9bb0f6e89 | Java | sekarandikaa/TP2PBO2021 | /src/tp2pbo/tp2pbo.java | UTF-8 | 25,510 | 2.046875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tp2pbo;
import java.awt.HeadlessException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Prepared... | true |
ea21862a198f970589eb6e92e5844b7594de21c3 | Java | RopeMC/RopeMC | /src/main/java/de/ropemc/api/wrapper/net/minecraft/network/play/server/S29PacketSoundEffect.java | UTF-8 | 755 | 1.90625 | 2 | [
"MIT"
] | permissive | package de.ropemc.api.wrapper.net.minecraft.network.play.server;
import de.ropemc.api.wrapper.net.minecraft.network.INetHandler;
import de.ropemc.api.wrapper.net.minecraft.network.play.INetHandlerPlayClient;
import de.ropemc.api.wrapper.net.minecraft.network.PacketBuffer;
import de.ropemc.api.wrapper.WrappedClass;
@W... | true |
34e6a7bc70af5a5d8a2e2b7e8fb97cdab534e164 | Java | alanxu/wisteria | /wisteria-core/src/test/java/com/thomsonreuters/trtn/wisteria/core/protocol/BasicProtocolFilter.java | UTF-8 | 6,285 | 2.578125 | 3 | [] | no_license | package com.thomsonreuters.trtn.wisteria.core.protocol;
import com.thomsonreuters.trtn.wisteria.core.filter.Filter.NextFilter;
import com.thomsonreuters.trtn.wisteria.core.filter.FilterBase;
import com.thomsonreuters.trtn.wisteria.core.session.Session;
public class BasicProtocolFilter extends FilterBase{
p... | true |
d1defa15666128d06edf97b8a9c307caf6c04d5b | Java | sengeiou/ISportTracker | /app/src/main/java/com/isport/tracker/main/WelcomeActivity.java | UTF-8 | 8,051 | 1.71875 | 2 | [] | no_license | package com.isport.tracker.main;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
i... | true |
0eac77e2a44a68b54c6384b7229c18ac4746311f | Java | ndxt/centit-framework | /framework-system-static/src/main/java/com/centit/framework/staticsystem/po/UnitInfo.java | UTF-8 | 8,355 | 2.0625 | 2 | [] | no_license | package com.centit.framework.staticsystem.po;
import com.centit.framework.model.basedata.IUnitInfo;
import com.centit.support.algorithm.DatetimeOpt;
import java.lang.reflect.Field;
import java.util.Date;
/**
* FUnitinfo entity.
*
* @author MyEclipse Persistence Tools
*/
// 机构信息表
public class UnitInfo implements ... | true |
1d9cc029ec230fa586f271dfbb3c5439518e2081 | Java | BatyrMSU/Java_hw_5_jdbc | /src/main/java/entities/Organization.java | UTF-8 | 1,181 | 2.703125 | 3 | [] | no_license | package entities;
import org.jetbrains.annotations.NotNull;
public class Organization {
private int id;
private @NotNull String name;
private @NotNull int inn;
private @NotNull int account;
public Organization(int id, @NotNull String name, int inn, int account) {
this.id = id;
th... | true |
7fd35796717cab14ccc5e71e569ce3524d7009bf | Java | cmFodWx5YWRhdjEyMTA5/smell-and-machine-learning | /ast_results/MirakelX_mirakel-android/new_ui/src/test/java/de/azapps/mirakelandroid/test/MirakelTestCase.java | UTF-8 | 445 | 1.585938 | 2 | [] | no_license | // isComment
package de.azapps.mirakelandroid.test;
import org.junit.After;
import org.junit.Before;
import org.robolectric.RuntimeEnvironment;
public class isClassOrIsInterface {
@Before
public void isMethod() throws Exception {
isNameExpr.isMethod(isNameExpr.isFieldAccessExpr);
isNameExpr.i... | true |
8c4ce486d06c0876b56f2f2173659bf49b30f8b6 | Java | StefanLiebenberg/closure-utilities | /src/main/java/slieb/closure/internal/SoyDelegateOptimizer.java | UTF-8 | 6,183 | 1.945313 | 2 | [
"MIT"
] | permissive | package slieb.closure.internal;
import com.google.common.collect.*;
import com.google.javascript.jscomp.Compiler;
import com.google.javascript.jscomp.*;
import com.google.javascript.rhino.Node;
import com.google.javascript.rhino.Token;
import javax.annotation.Nonnull;
import java.util.HashMap;
import java.util.HashS... | true |
066a3c169b652418ecf0c98bba3610de08915cf5 | Java | gturri/dokuJClient | /src/main/java/dw/xmlrpc/exception/DokuWordblockException.java | UTF-8 | 518 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package dw.xmlrpc.exception;
/**
* Thrown if a page can't be edited because of a wordblock.
*
* The list of forbidden words for a given wiki are defined in its wordblock.conf file.
* If one try to edit a page addind one of this words, DokuWiki won't allow the edition,
* and this exception will be thrown.
*/
publ... | true |
36e0d2ae5c73d3ca30f23d3998c372cd23a074db | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_0698af25394407268a1055b19a3dd0aa0a824ab5/PrincipalController/2_0698af25394407268a1055b19a3dd0aa0a824ab5_PrincipalController_s.java | UTF-8 | 28,988 | 2.0625 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Controle;
import Log.Log;
import Modelo.Item;
import Modelo.Lista;
import Modelo.Subitem;
import Persistencia.GravadorXML;
import Visao.ProjetoFinal;
import java.awt.AWTException;
impo... | true |
4a750ac3767815f0cc1f1ac078be2764e0bbec13 | Java | oludarebusari/SMSAutomation | /SMSAutomation/smsautomation/src/test/java/stepDefinitions/testSuite/regression/engage/ManageUpsellScreenSteps.java | UTF-8 | 7,556 | 1.875 | 2 | [] | no_license | package stepDefinitions.testSuite.regression.engage;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.PageFactory;
import org.testng.Assert;
import components.elements.CommonElementLocator;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import pageObjects.engage.C... | true |
c6ad901e226dde2346714ec92f8ae5c1907fde5b | Java | hardkyo/sangkuk_backup | /bipbip1/src/com/kitri/map/dao/MapDaoImpl.java | UHC | 7,152 | 2.15625 | 2 | [] | no_license | package com.kitri.map.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.kitri.map.model.MapDto;
import com.kitri.util.db.DBClose;
import com.kitri.util.db.DBConnection;
public... | true |
5be6395fc02d437249389db8b7f6cbb538df41aa | Java | tayduivn/training | /core/src/java/gov/georgia/dhr/dfcs/sacwis/core/lookup/codestables/Covsfdsn.java | UTF-8 | 302 | 1.507813 | 2 | [] | no_license | package gov.georgia.dhr.dfcs.sacwis.core.lookup.codestables;
public interface Covsfdsn {
public static final String COVSFDSN = "COVSFDSN";
public static final String COVSFDSN_CS = "CS";
public static final String COVSFDSN_SF = "SF";
public static final String COVSFDSN_US = "US";
}
| true |
8ea33ad3f5752ca6de45c0642e5b31da90725262 | Java | xiaoqiangdehehe/eatcrabs | /polyFinance-eatcrabs-backstage-web/src/test/java/com/ptteng/MyTest.java | UTF-8 | 1,687 | 1.867188 | 2 | [] | no_license | package com.ptteng;
import com.alibaba.fastjson.JSON;
import com.auth0.jwt.internal.org.apache.commons.codec.digest.DigestUtils;
import com.ptteng.bo.PageHandleBO;
import com.ptteng.domain.business.Banner;
import com.ptteng.domain.business.Product;
import com.ptteng.dubbo.BackstageConsumer;
import com.ptteng.utlis.Md5... | true |
b96309d0780b7eca2186317941da9641f3cc1197 | Java | shossains/SEM | /src/main/java/gui/ChooseGameScreen.java | UTF-8 | 3,005 | 2.65625 | 3 | [] | no_license | package gui;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.Button;
import com.badlogic.gdx.utils.viewport.... | true |
7dd21b625dc9d06e56f492c4b195d72e965ff165 | Java | liuxiangwin/cqrs-axon-demo | /cqrs-axon-api/src/main/java/com/demo/api/event/order/OrderCreatedEvent.java | UTF-8 | 548 | 1.78125 | 2 | [] | no_license | package com.demo.api.event.order;
import com.demo.api.model.OrderProduct;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;
import org.axonframework.commandhandling.model.AggregateMember;
import java.util.List;
@... | true |
fcae3624385f27ac0b14dfae89fdab2a6645dc9f | Java | ajay74984/corejavademos | /src/main/java/stats/DocStatistics.java | UTF-8 | 752 | 2.9375 | 3 | [] | no_license | package stats;
public class DocStatistics {
private long docSize;
private long timeTaken;
private DocStatistics(long docSize, long timeTaken) {
this.docSize = docSize;
this.timeTaken = timeTaken;
}
public static DocStatistics create(long docSize, long timeTaken) {
return new DocStatistics(docSize, tim... | true |
78649a4fcacbf16c41da629c8c470e39af3bc41a | Java | npcardoso/PhDThesis | /libcrowbar/diagnostic-server/src/main/java/io/crowbar/rest/models/NodeModel.java | UTF-8 | 868 | 2.328125 | 2 | [] | no_license | package io.crowbar.rest.models;
import io.crowbar.diagnostic.spectrum.Node;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
@ApiModel(value = "Node",
description = "Node resource representation")
public final class NodeModel {
private final Node... | true |
48f191d29add439ac3675d92abf8c1983ab83d0e | Java | duartencar/FEUP-LPOO | /2º Project/src/engine/Swimmer/SwimmerContestsController.java | UTF-8 | 2,591 | 3.59375 | 4 | [] | no_license | package engine.Swimmer;
import java.util.ArrayList;
import engine.Contest.Contest;
import engine.Contest.ContestOptions;
import engine.Contest.ContestOptions.SwimmingStyle;
/**
* Class that holds contest controllers
* @see Contest
* @see ContestOptions
*/
public class SwimmerContestsController {
private ArrayL... | true |
6758fe332fdbe1804ccb3d6a1ed12e64a69cf675 | Java | wilmermoina/Tiwintza | /src/java/ec/gob/tiwintza/recursos/Validaciones.java | UTF-8 | 2,348 | 2.90625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ec.gob.tiwintza.recursos;
/**
*
* @author Diego
*/
public class Validaciones {
private String fnumero;
public static int EvaluarCaracter(char Caracter)
{
return (int)Caracter - 48;
}
p... | true |
c845679ce89f5fca535bd4a1d31fd5d75b76ebfb | Java | gustavopacheco22/Zigesa | /JavaAppZigesa/src/VO/EmpleadoVO.java | UTF-8 | 2,938 | 2.46875 | 2 | [] | no_license | package VO;
public class EmpleadoVO {
/*Todo los atributos*/
private Long idempleado;
private Long dni;
private String nombre;
private String apellido;
private int telefono;
private String domicilio;
private String correoelectronico;
private String estado;
private String cargo;
... | true |
d3db24f605d8f5b3fbb4c0dee268b5f3bea4ef9d | Java | Sigmundom/HastyPastry | /core/src/com/mygdx/hastypastry/views/FailedLevelView.java | UTF-8 | 4,580 | 2.484375 | 2 | [] | no_license | package com.mygdx.hastypastry.views;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
i... | true |
6f64b803bc8b1e28f63a607535274168f2380832 | Java | jiayibing1987/LeetCode_Algorithms | /LeetCode_Algorithms/src/dynamicprogramming/CoinChange.java | UTF-8 | 1,735 | 3.625 | 4 | [] | no_license | package dynamicprogramming;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* #322. Coin Change
* @author Ryan
*
*/
public class CoinChange {
//brute force with memorization
Map<Integer, Integer> map = new HashMap<Integer, Integer>();
public int coinChange1(int[]... | true |
f5da24d0e71c9c007c73ab01229cc0240fb05c08 | Java | KrinaPatel0412/FirebaseDemo | /app/src/main/java/com/example/firebasedemo/fragments/RegisterFragment.java | UTF-8 | 5,652 | 2.109375 | 2 | [] | no_license | package com.example.firebasedemo.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.Button;
import android.widget.LinearLayout;
import and... | true |
8ad224c4b211c204288828a88d35aa4cfd7a9050 | Java | Eddie-jeon2016/sugeo | /sugeo/src/main/java/four/mng/menu/web/MngMenuController.java | UTF-8 | 3,335 | 1.96875 | 2 | [] | no_license | /** ===============================================
* Copyright(c) 4DEPTH 2017
* @fileName MngMenuController.java
* @author Chang-il Jeon
* @since 2017. 2. 7.
* @version 1.0
*
*=================================================
*/
package four.mng.menu.web;
import java.util.List;
import javax.annotation.Resou... | true |
719fb6808719a33ef743da9696cc89d584074551 | Java | hlabay22/LocalGuideAndTravellerJFX | /src/Controllers/LoginController.java | UTF-8 | 8,037 | 2.296875 | 2 | [] | no_license | package Controllers;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.Text... | true |
c5a7e22174137740b2d7cfe0cac3701c7dedd2df | Java | HANICA-DEA/simply-the-rest-jeremiedevos | /src/main/java/nl/jeremiedevos/dea/services/ItemResource.java | UTF-8 | 2,079 | 2.6875 | 3 | [] | no_license | package nl.jeremiedevos.dea.services;
import nl.jeremiedevos.dea.services.dto.ItemDTO;
import nl.jeremiedevos.dea.services.exceptions.IdAlreadyInUseException;
import nl.jeremiedevos.dea.services.exceptions.ItemNotAvailableException;
import javax.ejb.Singleton;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
... | true |
4a7ce2855a06fc2b07bc3a0806e637d2fd6622c0 | Java | Mishka250/shop | /src/main/java/sh/shop/addd/entity/User.java | UTF-8 | 531 | 2.03125 | 2 | [] | no_license | package sh.shop.addd.entity;
import lombok.*;
import javax.persistence.*;
@Entity
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "user_")
public class User {
@Id
@Column(name = "id_user")
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer id;
@Column(name = "pa... | true |
19fbef35046d41da9d241118d359908394e12b53 | Java | kodluyoruz-java-101-31102020-ders-proje/chapter2-class-object-inharitance | /chapter2-class-sample/src/main/multilevel/inheritance/sample/Vehicle.java | UTF-8 | 370 | 3.203125 | 3 | [
"MIT"
] | permissive | package main.multilevel.inheritance.sample;
public class Vehicle {
protected short wheelCount;
public Vehicle() {
this.wheelCount = 0;
}
public Vehicle(short wheelCount) {
this.wheelCount = wheelCount;
}
public void setWheelCount(short wheelCount) {
this.wheelCount = wheelCount;
}
public void sh... | true |
78b529e1f755f5168bcb094e286f66265b082206 | Java | navicor90/APPS | /SistemaAcademicoBeta/src/java/entidades/EstudianteMateria.java | UTF-8 | 2,628 | 2.390625 | 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 entidades;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Gene... | true |
6ac44f9b90afa8a46b27c5094d22e15f4946a988 | Java | YINQIEIE/MVPDemo | /app/src/main/java/com/yq/wanandroid/main/MainModel.java | UTF-8 | 609 | 2.265625 | 2 | [] | no_license | package com.yq.wanandroid.main;
import com.yq.mvpbase.IContract;
import com.yq.wanandroid.http.BaseResponse;
import com.yq.wanandroid.http.Response.User;
import com.yq.wanandroid.http.RetrofitManager;
import retrofit2.Call;
import retrofit2.Callback;
public class MainModel implements IContract.IModel {
public s... | true |
157faee38037a76ef0ba5475cebe7d92dbba52b9 | Java | hieuthanden/Simply-UCI-JAVA-compiler-and-interpreter | /Compiler/src/lexer/Lexer.java | UTF-8 | 5,798 | 2.890625 | 3 | [] | no_license | package lexer;
import java.io.IOException;
import java.io.Reader;
import java.util.Map;
import common.Diagnostics;
import common.Location;
import lexer.tokens.StaticToken;
import lexer.tokens.IdentifierToken;
import lexer.tokens.IntegerToken;
import lexer.tokens.StringToken;
import lexer.tokens.Tag;
import lexer.toke... | true |
97c2bffee664fa1b21b03193da2b0e6bf9c4fee4 | Java | sdhs2017/hscode2019 | /src/main/java/member/ruinye/design_patterns/behavior_patterns/producer_consumer/await_signal/TestAwait_signal.java | UTF-8 | 797 | 2.4375 | 2 | [] | no_license | package member.ruinye.design_patterns.behavior_patterns.producer_consumer.await_signal;
import member.ruinye.design_patterns.behavior_patterns.producer_consumer.await_signal.producers.SyslogProducer;
import member.ruinye.design_patterns.behavior_patterns.producer_consumer.await_signal.producers.WinlogProducer;
public... | true |
5cdae45843486d1a2c027b20c7d7293361de595e | Java | danielcsar/Programacao-Orientada-a-Objetos | /atividades/Exercicio15/Main.java | WINDOWS-1250 | 926 | 2.796875 | 3 | [] | no_license | package exercicio5;
public class Main {
public static void main(String[] args) {
BebidaAlcoolica cerveja = new BebidaAlcoolica("Cerveja", 12, 8);
BebidaAlcoolica vinho = new BebidaAlcoolica("Vinho", 150, 12);
Eletrodomestico tv = new Eletrodomestico("Tv", 2000, 110);
Eletrodomestico geladeira = new Eletrodo... | true |
543e54e86d4733bb330a594e1215263a250caea6 | Java | janmonschke/phonegap-android | /framework/src/com/phonegap/ContactAccessorSdk5.java | UTF-8 | 24,937 | 2.078125 | 2 | [
"MIT"
] | permissive | // Taken from Android tutorials
/*
* Copyright (C) 2009 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-... | true |
54c104992f2aaa9933777f44a5bce56e98fd1743 | Java | ihabo01/bpms-cases | /src/test/java/org/intalio/tempo/cases/server/MockServiceClient.java | UTF-8 | 458 | 1.710938 | 2 | [] | no_license | package org.intalio.tempo.cases.server;
import org.apache.axiom.om.OMElement;
import org.apache.axis2.AxisFault;
import org.apache.axis2.client.ServiceClient;
public class MockServiceClient extends ServiceClient {
public MockServiceClient() throws AxisFault {
super();
// TODO Auto-generated const... | true |
7af2ce8dcdbddac3db7f6068147ace82f3a36013 | Java | Hasnain-Ali06/Book-Management-System | /src/mainScreen.java | UTF-8 | 2,273 | 2.828125 | 3 | [] | no_license | import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.Priority;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class mainScreen extends Application{
... | true |
07a3e339974f5a015f3d0ea9fa7467abf39e543b | Java | 13400540848/lvyou | /code/src/main/java/org/ume/school/modules/user/money/UserMoneyAdminController.java | UTF-8 | 1,258 | 1.90625 | 2 | [] | no_license | package org.ume.school.modules.user.money;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.... | true |
49ff96875d656e9d1ce2fd80ed92e8a2dcb7b8a8 | Java | carlol11/CateFinal | /Cate/app/src/main/java/com/cate/cate/activities/DecisionsActivity.java | UTF-8 | 33,820 | 1.765625 | 2 | [] | no_license | package com.cate.cate.activities;
import android.content.ContentResolver;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler... | true |
1ee83cc876ad967ce4d136e4be60070cfce0c294 | Java | lixianSharp/S2SH | /Struts2/day29_struts/src/gz/itcast/a_action/UserAction.java | UTF-8 | 331 | 2.234375 | 2 | [] | no_license | package gz.itcast.a_action;
/**
* struts2的Action的三种使用方式。
*
*
* 第一种方式:不需要实现或继承任何接口或类。不实现Action接口。
* @author 贤元
*
*/
public class UserAction {
public String login() throws Exception{
System.out.println("UserAction");
return "success";
}
}
| true |
df0e8b6f85b8f2f4e9697c69824484d67fe90431 | Java | Sayouni/sciBate | /main/src/main/java/com/sci/da/front/Msg/service/ManuscriptService.java | UTF-8 | 1,242 | 1.890625 | 2 | [] | no_license | package com.sci.da.front.Msg.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sci.da.front.Msg.dto.ManuscriptDTO;
import com.sci.da.front.Msg.dto.PersonalManuscriptDTO;... | true |
51b3aa9d64fc4a534671d7b53ec74d0619e8267a | Java | apache/jackrabbit | /jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/security/authorization/jackrabbit/acl/AccessControlListImplTest.java | UTF-8 | 7,488 | 2.15625 | 2 | [
"W3C",
"Apache-2.0"
] | 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 |
d86239eaff72272272d5f9b645a18827685a41e5 | Java | baidu/baiduads-sdk | /java/baiduads-sdk-auto/src/test/java/com/baidu/dev2/api/sdk/imagemanage/model/UploadImageRequestTest.java | UTF-8 | 2,156 | 1.71875 | 2 | [
"Apache-2.0"
] | permissive | /*
* dev2 api schema
* 'dev2.baidu.com' api schema
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.baidu.dev2.api.sdk.imagemanage.model;
import com.baidu.dev2.api.sdk.imagemanage.... | true |
26e035b3d877c6a1e5d5d42c3d67d7823eaea7f9 | Java | liuzjmike/breakout | /src/breakout/PlainBlock.java | UTF-8 | 384 | 2.515625 | 3 | [] | no_license | package breakout;
public class PlainBlock extends Block {
public static final int TOTAL_HIT = 1;
public static final int POINTS = 1;
public static final String[] IMAGES = {"brick2.gif", "brick3.gif"};
public PlainBlock() {
super(TOTAL_HIT, POINTS, IMAGES);
}
@Override
public ... | true |
a6d85f2cce3b0258abc308e5b0dc29172aeeb09b | Java | jarekzopola/nmm2018 | /src/nmm2010/NMMProject.java | UTF-8 | 42,169 | 1.648438 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nmm2010;
import biz.ekoplan.nmm2010.devices.NMMNoiseMeasurementSet;
import biz.ekoplan.nmm2010.devices.NMMNoiseMeasurementSets;
import biz.ekoplan.nmm2010.enums.NoiseSourceModelType;
import biz.ekoplan.nmm2010.... | true |
bdd4ed1470de3751e75d96dfd0467817df429472 | Java | open-team-go/pmp_base | /src/main/java/com/arz/pmp/base/mapper/PmpSystemLogEntityMapper.java | UTF-8 | 1,686 | 1.796875 | 2 | [] | no_license | package com.arz.pmp.base.mapper;
import com.arz.pmp.base.entity.PmpSystemLogEntity;
public interface PmpSystemLogEntityMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table pmp_system_log
*
* @mbg.generated
*/
int deleteByPrimar... | true |
f963b56182468ad6f557f9a8325121e11ab630ee | Java | sevengram/astro-android | /util/GeoTimeUtil.java | UTF-8 | 2,332 | 2.90625 | 3 | [] | no_license | package com.mydeepsky.android.util;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
public class GeoTimeUtil {
private static final String CHINA_STANDARD_TIME = "China Standard Time";
public enum GeoZone {
WORLD, CHINA, EUROPE, NAMERICA, O... | true |
8a727f7e3ab01595b2ef8e759a64184cff96699b | Java | abignold/BigRDR | /src/bigrdr/CaseList.java | UTF-8 | 4,033 | 2.921875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bigrdr;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
... | true |
37b58921150c79c43e833e869775fd36c2fe9ab2 | Java | oynix/u911 | /app/src/main/java/com/oy/u911/function/dribbble/model/ImageJson.java | UTF-8 | 849 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.oy.u911.function.dribbble.model;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Author : xiaoyu
* Date : 2017/10/2 14:39
* Describe :
*/
public class ImageJson implements Serializable {
@SerializedName("hidpi")
private String hidpi;
@Seriali... | true |
260fa7d17639310679c9ef8b5fd643a0a3f3128e | Java | jnartey/School-Management-System | /CoreJavaJDBC_Assessment/src/CoreJava/Utils/OracleQueries.java | UTF-8 | 1,616 | 2.40625 | 2 | [] | no_license | package CoreJava.Utils;
public class OracleQueries {
public final static String GETSTUDENTBYGMAIL = "SELECT * FROM STUDENT "
+ "WHERE EMAIL = ?";
public final static String GETALLINSTRUCTORS = "SELECT * FROM INSTRUCTOR";
public final static String GETINSTRUCTORBYGMAIL = "SELECT * FROM INSTRUCTOR "
+ "WHER... | true |
042901be0a2bea67bfbeb3d03db7bb7f2d453a67 | Java | huangxuesong2018/arclncode | /microservices-project1/spring-demo-test/src/main/java/com/springinaction/chapter_03/runtimeinject/AutoScanConfig.java | UTF-8 | 439 | 1.859375 | 2 | [] | no_license | package com.springinaction.chapter_03.runtimeinject;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
/**
* @author HXS
* @copyright
* @since 2019-02-21
*/
@Configuration
@Compone... | true |