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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
4c11ccf9b439ca09bca6fd183f9df93d29d50124 | Java | vinesmario/huggy-bear | /industry/industry-generic/generic-business-infrastructure-parent/generic-business-infrastructure-client/src/main/java/com/vinesmario/microservice/client/immovable/dto/FacilityDTO.java | UTF-8 | 348 | 1.859375 | 2 | [] | no_license | package com.vinesmario.microservice.client.immovable.dto;
/**
* 场所
*/
public class FacilityDTO {
/**
* 租户ID
*/
private Long tenantId;
/**
* 名称
*/
private String name;
/**
* 用途:1-办公;2-会议;3-教学;4-居住;5-储物;9-其他。
*/
private Integer purpose;
}
| true |
22632c91eeced81ed6ac5ab7b598905b0eb29f63 | Java | zndroidx/APP-MenuBox | /lib_MenuBox/src/main/java/com/zndroid/menubox/core/IMenuItemClick.java | UTF-8 | 156 | 1.648438 | 2 | [] | no_license | package com.zndroid.menubox.core;
/**
* Created by lzy on 2020/5/27.
*/
public interface IMenuItemClick {
void onItemClick(MenuItem item);
}
| true |
e80f9d45f500afcddb89098908c791a86c082cdb | Java | zxc0622/llyb | /src/main/java/com/qdum/llhb/trademana/controller/RechargeOnlineController.java | UTF-8 | 2,166 | 1.992188 | 2 | [] | no_license | package com.qdum.llhb.trademana.controller;
import com.jfinal.aop.Before;
import com.jfinal.core.Controller;
import com.jfinal.ext.route.ControllerBind;
import com.qdum.llhb.fund.model.Fund;
import com.qdum.llhb.sys.utils.UserUtils;
import com.qdum.llhb.trademana.Constant;
import com.qdum.llhb.trademana.model.AlipayEr... | true |
70942f41ab4b9971791e4ceaa5b3db8a034bb3d8 | Java | LePhiHung97/springmvc | /src/main/java/com/phihung/springmvc/entities/Student.java | UTF-8 | 1,308 | 2.8125 | 3 | [] | no_license | package com.phihung.springmvc.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "Student")
public class Student {
@Id
@Gener... | true |
8e2ef82643f61be76323b945dcb7fe38e3cfa801 | Java | saitxuc/hippo-java | /hippo_open/hippo.network/src/main/java/com/hippo/network/ServerFortress.java | UTF-8 | 759 | 1.835938 | 2 | [] | no_license | package com.hippo.network;
import com.hippo.common.exception.HippoException;
import com.hippo.common.lifecycle.LifeCycle;
import com.hippo.network.transport.TransportConnectionManager;
import com.hippo.network.transport.TransportServer;
/**
*
* @author saitxuc
* 2015-3-30
*/
public interface ServerFortress exten... | true |
b1bebc8eba8b85650ec7f8c1fa340b1156b4e7c8 | Java | madhusudhan223/java | /lnd/src/DemoArrays2.java | UTF-8 | 749 | 3.4375 | 3 | [] | no_license | import java.util.Scanner;
public class DemoArrays2 {
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
System.out.println("enter no.of rows and columns");
int r=sc.nextInt();
int c=sc.nextInt();
int x[][]=new int[r][c];
int y[][]=new int[r][c];
int z[][]=new int[r][c];
System.out.pri... | true |
ab8dc3efe657e4a2ce781a0201da2a2f7e10544b | Java | tmphuang6/snow | /app/src/main/java/snow/music/activity/detail/DetailActivity.java | UTF-8 | 665 | 2.1875 | 2 | [
"MIT"
] | permissive | package snow.music.activity.detail;
import android.os.Bundle;
import androidx.annotation.Nullable;
import snow.music.R;
import snow.music.activity.BaseActivity;
/**
* 对 Activity 的过渡动画进行了自定义。
*/
public class DetailActivity extends BaseActivity {
@Override
protected void onCreate(@Nullable Bundle savedInsta... | true |
e5643915b07568296c327a480452ef761aa8a9f5 | Java | EmmanuelDS/Osyris | /osyris-model/src/main/java/be/gim/tov/osyris/model/traject/NetwerkSegment.java | UTF-8 | 2,404 | 1.921875 | 2 | [] | no_license | package be.gim.tov.osyris.model.traject;
import org.conscientia.api.model.ModelPropertyType;
import org.conscientia.api.model.annotation.Edit;
import org.conscientia.api.model.annotation.Model;
import org.conscientia.api.model.annotation.ModelClassName;
import org.conscientia.api.model.annotation.ModelStore;
import or... | true |
44aa73e7ffb143a00a30c6650d89b066318d5002 | Java | suppermanliu/SmartService | /app/src/main/java/com/hopen/smart/base/BaseFragment.java | UTF-8 | 2,267 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package com.hopen.smart.base;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widg... | true |
900cffd34bba87c490589d459bcc8a0b4d67f6a7 | Java | zhangsung/learngit | /sung-template/src/main/java/com/nssoft/controller/EasyUIGridQuery.java | UTF-8 | 10,660 | 1.90625 | 2 | [] | no_license | package com.nssoft.controller;
import org.apache.log4j.Logger;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import javax.annotation.Resource;
i... | true |
4f825cee00ffb5b710b374f6f16f48b45eb346e4 | Java | isibtain/WAAHotelResevationProject | /src/main/java/com/packt/webstore/domain/User.java | UTF-8 | 2,324 | 2.3125 | 2 | [] | no_license | package com.packt.webstore.domain;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.validation.Valid;
import javax.validation.constraints.... | true |
10a471a7e7349af41abace066317113446449c67 | Java | PlumpMath/homework | /IST239/Week3/HandEye/NewGameListener.java | UTF-8 | 121 | 1.789063 | 2 | [] | no_license | import java.util.EventListener;
public interface NewGameListener extends EventListener {
public void newGameEvent();
}
| true |
74ecda763bb35946313c4e8561d02692b0dbd261 | Java | hanji1122/RubyChina | /app/src/main/java/com/luckyhan/rubychina/model/response/UserResponse.java | UTF-8 | 379 | 1.960938 | 2 | [
"Apache-2.0"
] | permissive | package com.luckyhan.rubychina.model.response;
import com.luckyhan.rubychina.model.Meta;
import com.luckyhan.rubychina.model.User;
public class UserResponse {
public User user;
public Meta meta;
@Override
public String toString() {
return "UserModel{" +
"user=" + user +
... | true |
61897f97f2070da602defb1901e30b6054b705aa | Java | ConquestMC/cqmc-core | /src/main/java/com/conquestmc/core/cosmetics/EmoteCosmetic.java | UTF-8 | 232 | 2.125 | 2 | [] | no_license | package com.conquestmc.core.cosmetics;
import org.bukkit.entity.Player;
public class EmoteCosmetic implements Cosmetic {
@Override
public String getName() {
return null;
}
@Override
public void play(Player player) {
}
}
| true |
54c55b16b1803efe7c18f262b43c097b67133357 | Java | Kryspo/L2jRamsheart | /dist/gameserver/data/scripts/quests/_112_WalkOfFate.java | UTF-8 | 1,771 | 2.3125 | 2 | [
"MIT"
] | permissive | package quests;
import l2f.gameserver.model.instances.NpcInstance;
import l2f.gameserver.model.quest.Quest;
import l2f.gameserver.model.quest.QuestState;
import l2f.gameserver.scripts.ScriptFile;
public class _112_WalkOfFate extends Quest implements ScriptFile
{
//NPC
private static final int Livina = 30572;
priva... | true |
b6a27c4455c8618ae7ebfd1504249571abbb64da | Java | TaamouliLamia/ProjetMicroService | /BillService/src/main/java/com/project/billservice/web/BillResource.java | UTF-8 | 957 | 2 | 2 | [] | no_license |
package com.project.billservice.web;
import com.project.billservice.service.BillService;
import com.project.commons.dto.BillDto;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import static com.project.commons.utils.Web.API;
/**
* @author n.lamouchi... | true |
b5ef68fb0452c4da224be0af2781f07c40a12376 | Java | JustTrust/news_reader | /app/src/main/java/com/belichenko/a/news/utils/NewsGenerator.java | UTF-8 | 1,516 | 2.609375 | 3 | [] | no_license | package com.belichenko.a.news.utils;
import com.belichenko.a.news.models.News;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import io.reactivex.Single;
/**
* Created by a.belichenko on 16.06.2017.
... | true |
96f9da1afbe0059cda4dca3fcb00b9e996753828 | Java | Lelis-Alves/projeto-api-resource-server | /src/main/java/com/ealves/poc/service/CategoriaService.java | UTF-8 | 1,353 | 2.40625 | 2 | [] | no_license | package com.ealves.poc.service;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ealves.poc.exception.EntidadeNaoEncontradaException;
im... | true |
c3957cd892f3f600ebdd8c2f5a180d525e1d1136 | Java | Jeimmi/SEProjectV1 | /src/GreatTemple.java | UTF-8 | 212 | 2.546875 | 3 | [] | no_license | import java.awt.image.BufferedImage;
public class GreatTemple extends Building{
BufferedImage image;
public GreatTemple(){
super(4,4,4,4);
}
public GreatTemple(BufferedImage i){
super(4,4,4,4);
}
}
| true |
a6df4b35751cfa0131292d6ec49dd48e58b1bda1 | Java | gitByCPF/JavaLearning | /src/cpf/learn/chapter17/transformation/FileReaderDiff.java | UTF-8 | 1,795 | 2.96875 | 3 | [] | no_license | package cpf.learn.chapter17.transformation;
import org.junit.jupiter.api.Test;
import sun.nio.cs.ext.GBK;
import java.io.*;
/**
* @author CPF 创建于: 2021/7/13 11:48
* @version 1.0
*/
public class FileReaderDiff{
/**
*如果仅仅使用FileReader,那么默认使用的就是UTF-8来处理读进来的字节流.
* 因此,必须使用FileReader的父类InputStreamReader来指定编码类型.
... | true |
99e77dc79bedd88566c7f81b50a6bee041c1bdde | Java | whikloj/rdf-hashing-java | /src/test/java/ca/umanitoba/dam/rdfhashing/RdfHashTest.java | UTF-8 | 3,700 | 2.609375 | 3 | [
"MIT"
] | permissive | package ca.umanitoba.dam.rdfhashing;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.apache.jena.util.FileUtils.langTurtle;
import static org.apache.jena.util.FileUtils.langNTriple;
import java.io.IOException;
import java.io.... | true |
18ee542d419f99c68817194a32b935a6ba47c2a8 | Java | stupidcupid/algorithm | /src/main/java/com/datastructure/recursion/binarysearch/BinarySearchApp.java | UTF-8 | 1,242 | 3.65625 | 4 | [] | no_license | package com.datastructure.recursion.binarysearch;
/**
* Created by nanzhou on 2017/7/31.
*/
public class BinarySearchApp {
/**
* 递归 二分法
* @param args
*/
public static void main(String[] args) {
long[] arr = new long[]{1, 2, 4, 6, 8, 10, 12};
System.out.println(reFind(1, 0,... | true |
18b5acedbb7783e62397216eddde8362c3818502 | Java | vintop95/dp2-RnsSystem | /src/it/polito/dp2/RNS/sol3/rnsClient/RnsClient.java | UTF-8 | 10,870 | 2.0625 | 2 | [] | no_license | package it.polito.dp2.RNS.sol3.rnsClient;
import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;... | true |
e9c09a8ee94baaedd5ea989761bc6ba7de5bb9e1 | Java | Team3374/Hobbs-2017 | /src/org/usfirst/frc/team3374/robot/commands/VisionGuidedCommandGroup.java | UTF-8 | 884 | 2.15625 | 2 | [
"MIT"
] | permissive | /* */ package org.usfirst.frc.team3374.robot.commands;
/* */
/* */ import edu.wpi.first.wpilibj.command.CommandGroup;
/* */ import org.usfirst.frc.team3374.robot.RobotMap;
/* */
/* */ public class VisionGuidedCommandGroup extends CommandGroup
/* */ {
/* */ public VisionGuidedCommandGr... | true |
e62105851d8244bf8fa3583b38870419175c79d4 | Java | upswp/Algorithm | /src/algorithm_gold/BOJ3190_뱀2.java | UTF-8 | 2,302 | 3.265625 | 3 | [] | no_license | package algorithm_gold;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class BOJ3190_뱀2 {
static class Snake{ // 뱀 위치
int r;
int c;
public Snake() {}
public Snake(int r, int c) {
super();
this.r = r;
this.c = c;
}
}
static class Turn{ // 방향 D = 1 L = 3
... | true |
fe354e4599f10812c48e62a8d32d9d7889e83400 | Java | Rostanxd/ProyectoRFID | /BBRFIDSampleBT_New/src/main/java/co/kr/bluebird/newrfid/app/bbrfidbtdemo/entity/ReplenishmentWareResult.java | UTF-8 | 2,324 | 2.078125 | 2 | [] | no_license | package co.kr.bluebird.newrfid.app.bbrfidbtdemo.entity;
import java.util.List;
public class ReplenishmentWareResult {
public int id;
public String items;
public String replenishmentCount;
public String sales;
public String expenses;
public String residueWarehouse;
public String residueExte... | true |
7ff67721a61a76fb465ed6ddbddd2ccbfa9bdd00 | Java | underminethesystem/Kugelspiel | /app/src/main/java/com/example/jules/kugelspiel/Tile.java | UTF-8 | 1,559 | 2.953125 | 3 | [] | no_license | package com.example.jules.kugelspiel;
import android.graphics.Color;
import android.util.Log;
/**
* Created by User on 27.10.2016.
*/
public class Tile {
public static final int COLOR_WALL = Color.rgb(30,30,10) ;
public static final int COLOR_FLOOR = Color.rgb(0,111,111);
public static final int COLOR_... | true |
fb688205642820264bf47d06b776f1428b1e31b5 | Java | vyshnaviyalamareddy/BearcatMarketplace | /BearcatMarketplace/app/src/main/java/com/example/s531372/bearcatmarketplace/FirstActivity.java | UTF-8 | 2,756 | 2.03125 | 2 | [] | no_license | package com.example.s531372.bearcatmarketplace;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import com.par... | true |
af8a84b6b60a2e3d4965eb6b73ab65eb7811ab7c | Java | peishanwang/pdp-Individual | /Assignment4/src/main/java/edu/neu/ccs/cs5010/ICandyContainer.java | UTF-8 | 223 | 2.4375 | 2 | [] | no_license | package edu.neu.ccs.cs5010;
import java.util.List;
/**
* Interface of CandyContainer.
*/
public interface ICandyContainer {
/**
* Returns candy list.
* @return candy list.
*/
List<ICandy> getCandyList();
}
| true |
138cd47d38a4a46bac44e864887648f8f849e761 | Java | alibaydev/test-sado-orders2 | /src/main/java/edu/sado/DocumentNumber.java | UTF-8 | 3,233 | 2.34375 | 2 | [] | no_license |
package edu.sado;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for documentNumber complex typ... | true |
5859c23c277469bd333073d961429f83acc0bfe2 | Java | dreajay/jcode-filequeue | /src/main/java/com/jcode/filequeue/serializer/JDKSerializer.java | UTF-8 | 1,747 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | /**
*
*/
package com.jcode.filequeue.serializer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import com.jcode.filequeue.exception.SerializationException;
/**
* @Desc
*
* @Author daiju... | true |
380610443f928fdd501e88b3abea2e436190fe52 | Java | apache/tuscany-sca-2.x | /modules/sca-api/src/main/java/org/oasisopen/sca/annotation/OneWay.java | UTF-8 | 673 | 1.976563 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"W3C-19980720",
"BSD-3-Clause",
"W3C",
"MIT"
] | permissive | /*
* Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
* OASIS trademark, IPR and other policies apply.
*/
package org.oasisopen.sca.annotation;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.l... | true |
5c7c50f25809a686128d18a8789ab5f5bf21978e | Java | manishabshelke/WebDriverMaven | /src/test/java/testcases/LoginTest.java | UTF-8 | 1,086 | 1.984375 | 2 | [] | no_license | package testcases;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.Test;
import io.github.bonigarcia.wdm.WebDriverManager;
public cl... | true |
da89aabeaf1d60bf3c36b3239468356cd877cc83 | Java | JonathanJR/Integracion_Cafe_DSL | /Cafe/src/cafe/ContextEnricher.java | UTF-8 | 3,635 | 2.515625 | 3 | [] | no_license | package cafe;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFacto... | true |
419fddbc2ede996fc212eea767a0d65163d170e8 | Java | norteksoft/iMatrix-v6.5.RC2 | /src/main/java/com/norteksoft/product/web/wf/impl/WorkflowAction.java | UTF-8 | 1,075 | 2.046875 | 2 | [] | no_license | package com.norteksoft.product.web.wf.impl;
import com.norteksoft.wf.engine.client.FormFlowable;
/**
* 工作流Action接口
* @author qiao
* @param <T>
*/
public interface WorkflowAction<T extends FormFlowable> {
/**
* 启动并提交流程
* @return
* @throws Exception
*/
public String submitProcess();
/**
* 完成任务
*... | true |
6494e7480ab1e636d42a310d689f0ec0427d46ff | Java | prem1982/Lockh | /Java_Projects/FASeSOA/Order.Services/src/generated/gov/gsa/fas/orderdiscrepancy/v1/Reshipment.java | UTF-8 | 9,289 | 1.765625 | 2 | [] | no_license |
package gov.gsa.fas.orderdiscrepancy.v1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Reshipment complex type.
*
* <p>The following sche... | true |
d7e2638881b3e954955fdebd755b41a384107dd9 | Java | jaypatel8110/DataStructure_Practice | /stack/RecursionStack.java | UTF-8 | 1,195 | 3.640625 | 4 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.jay.stack;
import java.util.Stack;
/**
*
* @author JAY PATEL
*/
//using data structure
public class RecursionStack {... | true |
e33dc0ce33e0d7553b49ed396a5c4e24a33687ed | Java | tiarebalbi/sample-geocoding-api | /src/main/java/com/tiarebalbi/sample/geocodingapi/client/model/Geometry.java | UTF-8 | 2,412 | 2.21875 | 2 | [] | no_license | package com.tiarebalbi.sample.geocodingapi.client.model;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
... | true |
c3b26b2a2351b5491a2313c1c609298600824db3 | Java | liupanfeng/YangQuanClien | /app/src/main/java/com/meishe/yangquan/viewhoder/MineMyPointsHolder.java | UTF-8 | 2,525 | 2.046875 | 2 | [] | no_license | package com.meishe.yangquan.viewhoder;
import android.content.Context;
import android.text.Editable;
import android.text.InputType;
import android.text.TextWatcher;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.bumptech.glide.... | true |
832340bbf00b3588ea1271e5c6dce660fef53b1c | Java | kojw1017/mycgv | /spring_mycgv/src/main/java/com/spring/service/MemberService.java | UTF-8 | 378 | 1.5 | 2 | [] | no_license | package com.spring.service;
import javax.servlet.http.HttpSession;
import org.springframework.web.servlet.ModelAndView;
import com.mycgv.vo.CgvMemberVO;
public interface MemberService {
ModelAndView getMemberContent(String id);
ModelAndView getMemberList(String rpage);
String getResultJoin(CgvMemberVO vo);
Stri... | true |
b35b71187cd383327ecf10e278891e67861ebf8d | Java | ilgaleanos/calculadora_spring | /src/test/java/com/leonardo/calculadora/logic/entradas/operaciones/EliminarInTest.java | UTF-8 | 1,091 | 2.34375 | 2 | [] | no_license | package com.leonardo.calculadora.logic.entradas.operaciones;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.UUID;
import static org.springframework.test.util.AssertionErrors.*;
public class EliminarInTest {
@Autowi... | true |
43c53c68cb2834628eb26ff4d4e839813e4a7857 | Java | gitjguerra/Itaca | /web/src/main/java/com/csi/itaca/ItacaApplication.java | UTF-8 | 1,013 | 1.789063 | 2 | [] | no_license | package com.csi.itaca;
import com.csi.itaca.config.model.Configurator;
import com.csi.itaca.config.tools.ConfiguratorImpl;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplicati... | true |
9ba40b5f1a1faf02169caf489e660e72a24b84eb | Java | paulo01012018/res-q | /ACMERobotics/src/main/java/com/acmerobotics/library/vector/VectorIntegrator.java | UTF-8 | 645 | 3.03125 | 3 | [
"BSD-3-Clause"
] | permissive | package com.acmerobotics.library.vector;
import java.util.concurrent.TimeUnit;
public class VectorIntegrator {
private Vector sum, last;
public VectorIntegrator() {
sum = new Vector();
last = null;
}
public void add(Vector in) {
if (last == null) {
last = in;
... | true |
225f9b459c33ffad82c898640a01d5136d5f3c79 | Java | zkewal/chrome-rest-client | /RestClient/src/org/rest/client/storage/websql/AppDatabase.java | UTF-8 | 477 | 1.828125 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | package org.rest.client.storage.websql;
import com.google.code.gwt.database.client.service.Connection;
import com.google.code.gwt.database.client.service.DataService;
/**
* Main app database connection service. Any other databases services must
* extend this class.
*
* @author jarrod
*
*/
@Connect... | true |
bfbad4833bb7ef69d7b3db350ae7a347d5273bfc | Java | dembanakh/mana-wars | /core/src/com/mana_wars/ui/widgets/item_drawer/SkillLevelDrawer.java | UTF-8 | 1,644 | 2.640625 | 3 | [
"MIT"
] | permissive | package com.mana_wars.ui.widgets.item_drawer;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.utils.Align;
import com.mana_wars.model.entity.base.Rarity;
impo... | true |
03292e7e286ee4626f5db6cfeda08c2f6177ed34 | Java | shivanshu1992/MyProjects | /JavaPrograms/src/Java_Basic/LocalGlobalVariable.java | UTF-8 | 955 | 4.03125 | 4 | [] | no_license | package Java_Basic;
public class LocalGlobalVariable {
// these are global variable or class variable
int key= 34;
int number=90;
public static void main(String[] args) {
// these are local variables of main method
int a=12;
int b=360;
System.out.println("value of a inside the mai... | true |
700e9474077e18bed97ff70cde9260b0f8e97707 | Java | weiju-xi/RT-JAR-CODE | /com/sun/xml/internal/ws/policy/spi/PolicyAssertionCreator.java | UTF-8 | 801 | 1.554688 | 2 | [] | no_license | package com.sun.xml.internal.ws.policy.spi;
import com.sun.xml.internal.ws.policy.AssertionSet;
import com.sun.xml.internal.ws.policy.PolicyAssertion;
import com.sun.xml.internal.ws.policy.sourcemodel.AssertionData;
import java.util.Collection;
public abstract interface PolicyAssertionCreator
{
public abstract Stri... | true |
27c071c7d7219afafd904f949f724b88423b5d20 | Java | renchengwei/oa | /src/oa/service/PostService.java | UTF-8 | 4,979 | 2.1875 | 2 | [] | no_license | package oa.service;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import oa.dao.PostDao;
import oa.pojo.Post;
import oa.pojo.PostAndReply;
import oa.pojo.PostReply;
import oa.util.BeanCopyUtil;... | true |
8b9e97222ed0a16b55a41f78f443696ec4f7efef | Java | zhenghan1219/demo | /src/main/java/com/zzh/exercise/tencent/TencentAdFieldConstant.java | UTF-8 | 6,633 | 2.375 | 2 | [] | no_license | package com.zzh.exercise.tencent;
/**
* 字段维护常量
* 返回参数的字段列表、过滤条件字段
* @Author: wangxiaow@nicomama.com
* @Date: 2020/12/8
*/
public interface TencentAdFieldConstant {
/**
* 广告组id,仅支持微信公众平台广告主
* integer
*/
String ADGROUP_ID = "adgroup_id";
/**
* 推广计划id,仅支持微信公众平台广告主
* integer
... | true |
a271fe089c4519302c45cc48c492feea4dc8c50e | Java | aalnct/Algorithms | /src/javacertification/classdesign/Person2.java | UTF-8 | 405 | 3 | 3 | [] | no_license | package javacertification.classdesign;
public class Person2 {
String name;
int age;
Person2 () {
this.age = 29;
this.name = "Virat";
}
@Override
public int hashCode() {
return super.hashCode();
}
public int hashcode () {
return 100;
}
public ... | true |
c2a5fb1186ace788f13445403cca90ebf6bafad7 | Java | zuuraidrisova/JavaReview | /src/day53_Iterable/RemoveDuplicates.java | UTF-8 | 2,265 | 4.1875 | 4 | [] | no_license | package day53_Iterable;
import java.util.*;
public class RemoveDuplicates {
//access-modifier specifier return-type methodsName(parameter){body}
//access modifiers: public protected default private
//specifiers: static, final, abstract, synchronized
//4. how to achieve thread safety: using synchr... | true |
baf1bd40b9f8406ae55392e119e4ea0d54075426 | Java | 765947965/MVVM | /app/src/main/java/com/huike/face/device/business/screen/ScreenModel.java | UTF-8 | 760 | 2.078125 | 2 | [] | no_license | package com.huike.face.device.business.screen;
import com.huike.face.device.base.mvvm.FaceBaseModel;
import com.tencent.mmkv.MMKV;
/**
* @ProjectName: HuikeFace
* @Package: com.huike.face.device.business.screen
* @ClassName: ScreenModel
* @Description: java类作用描述
* @Author: 谢文良
* @CreateDate: 2020/3/31 10:31
* ... | true |
fd4fcb0de6928a7e42edcade2439c8220ca351cb | Java | jyh111/blog-inn | /blog/src/main/java/com/example/blog/controller/UserController.java | UTF-8 | 2,092 | 2.328125 | 2 | [] | no_license | package com.example.blog.controller;
import com.example.blog.bl.UserService;
import com.example.blog.po.User;
import com.example.blog.vo.ResponseVO;
import com.example.blog.vo.UserDisplayVO;
import com.example.blog.vo.UserForm;
import com.example.blog.vo.UserVO;
import org.springframework.beans.factory.annotation.Auto... | true |
e5ca7b72e80c33eb8868e27a6c5c8ba67659ac20 | Java | Denel91/Functional-Java | /src/main/java/Laboratorio/Dynamic_programming/BottomUp.java | UTF-8 | 5,366 | 3.796875 | 4 | [
"MIT"
] | permissive | package Laboratorio.Dynamic_programming;
public class BottomUp {
// Variabile di classe
private static final int UNKNOWN = 0;
/**
* Applica la tecnica Bottom-Up di programmazione dinamica alle seguenti procedure ricorsive.
*/
//------------ Versione ricorsiva ------------//
public stat... | true |
f6f1f3d82409e24d3a105c7e947fd4c6f3ed81d3 | Java | piaoxue85/workspace | /UPnPMonitor/src/cn/ipanel/dlna/DeviceBuilder.java | UTF-8 | 7,522 | 1.632813 | 2 | [] | no_license | package cn.ipanel.dlna;
import java.util.UUID;
import org.cybergarage.upnp.device.InvalidDescriptionException;
import org.cybergarage.upnp.std.av.renderer.AVTransport;
import org.cybergarage.upnp.std.av.renderer.ConnectionManager;
import org.cybergarage.upnp.std.av.renderer.MediaRenderer;
import org.cybergarage.upnp.... | true |
24b1ebaa9c6759a91b62c127d4f8026f2de58814 | Java | gangov/JavaOOP | /MotocrossSkeletonAndBusinessLogic/src/motocrossWorldChampionship/models/motorcycles/PowerMotorcycle.java | UTF-8 | 772 | 3 | 3 | [] | no_license | package motocrossWorldChampionship.models.motorcycles;
public class PowerMotorcycle extends MotorcycleImpl{
private static final double CUBIC_CENTIMETERS = 450;
private static final int MODEL_HORSE_POWER_LOWER_LIMIT = 70;
private static final int MODEL_HORSE_POWER_UPPER_LIMIT = 100;
public PowerMotorc... | true |
5de95ecb292dc765e9ccacc1fbbe67a54a9e6b20 | Java | 0xtinyuk/SearchEngineOnReuters21578 | /src/Dictionary.java | UTF-8 | 14,919 | 2.46875 | 2 | [] | no_license | import java.io.*;
import java.util.*;
import java.util.AbstractMap.SimpleEntry;
import org.tartarus.snowball.SnowballStemmer;
import org.tartarus.snowball.ext.*;
import java.math.BigDecimal;
public class Dictionary {
public HashMap<String,HashSet<Integer>> dict;
public HashSet<String> stopwords;
public HashMap<Int... | true |
28616f6c45cf1903e043255d01ffe2de62592ed7 | Java | TinsPHP/tins-symbols | /src/ch/tsphp/tinsphp/symbols/utils/ModifierHelper.java | UTF-8 | 876 | 2.25 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | /*
* This file is part of the TinsPHP project published under the Apache License 2.0
* For the full copyright and license information, please have a look at LICENSE in the
* root folder or visit the project's website http://tsphp.ch/wiki/display/TINS/License
*/
package ch.tsphp.tinsphp.symbols.utils;
import ch.ts... | true |
ed9b89dfe4d0ae522df85d9063b7a09e589f7b93 | Java | HubertBourget/FoodApp | /app/src/main/java/com/example/myrestaurant/LoginActivity.java | UTF-8 | 1,117 | 2.15625 | 2 | [] | no_license | package com.example.myrestaurant;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
public class LoginActivity extends AppCompatActivity{
//shared preferences
SharedPreferences sf;
... | true |
31a0ef35937558bb39240a4e98e345395f4defbe | Java | ulyn/eos | /eos-common/src/main/java/com/sunsharing/eos/common/serialize/Serialization.java | UTF-8 | 785 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package com.sunsharing.eos.common.serialize;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public interface Serialization {
/**
* get content type id
*
* @return content type id
*/
byte getContentTypeId();
/**
* get content type
*
... | true |
052ce3d4271c0fd4b43f533320a719ac75b35562 | Java | michelleADMVC/FullStackJava | /Spring/Licencia/src/main/java/com/example/app/repositories/PersonRepository.java | UTF-8 | 322 | 2.015625 | 2 | [] | no_license | package com.example.app.repositories;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.example.app.models.Person;
@Repository
public interface PersonRepository extends CrudRepository<Person, Long>{
List<Person>findAll();
... | true |
9caa1fb7e4192340b18f3adf31e5494040bdef76 | Java | Zekrom64/ZEngine | /MathLib/src/com/zekrom_64/mathlib/tuple/impl/Vector4I.java | UTF-8 | 1,213 | 2.828125 | 3 | [] | no_license | package com.zekrom_64.mathlib.tuple.impl;
import com.zekrom_64.mathlib.tuple.Vector4;
public class Vector4I extends Vector3I implements Vector4<Integer> {
public int w;
public Vector4I() {}
public Vector4I(Vector4I v) {
x = v.x;
y = v.y;
z = v.z;
w = v.w;
}
public Vector4I(int x, int y, int z, int... | true |
06b1251dea0c9a3695e04c7b3f99b982074cdcaa | Java | anisha-r/Mode1-Training | /Day2/BoxingDemo/src/p1/Demo.java | UTF-8 | 360 | 2.453125 | 2 | [] | no_license | package p1;
public class Demo {
public int a=5;
private String city = "coimbatore";
protected double b = 12.5;
String name = "anisha";
public static void main(String[] args) {
Demo obj =new Demo();
System.out.println(obj.a);
System.out.println(obj.city);
System.out.println(obj.b);
Sy... | true |
8f1c081437f34d40d7b0a75cf9aaad8473886f61 | Java | VasilSokolov/TestProject | /src/com/designpatterns/behavior/strategy/StrategyPatternDemo.java | UTF-8 | 133 | 1.632813 | 2 | [] | no_license | package com.designpatterns.behavior.strategy;
public class StrategyPatternDemo {
public static void main(String[] args) {
}
}
| true |
589be8c36156b61c0e1b872dbb7ed7c02d797f14 | Java | labbeh/semestre3 | /cpoa/workspace/tp2Suite/tests/irb/PlsClassementIRBTest.java | UTF-8 | 1,013 | 2.265625 | 2 | [] | no_license | package irb;
import static org.junit.Assert.*;
import java.util.HashSet;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class PlsClassementIRBTest
{
private PlsClassementIRB pls ;
private ClassementIRB irbMoy78910;
@Before
public void setUp() throws Exception
{
this.pls ... | true |
208853b706e6f57707a5f486949b4b8725c039aa | Java | stefanbugge/gesture-recogniser | /src/dk/loeschcke/matrix/helper/Action.java | UTF-8 | 240 | 1.546875 | 2 | [] | no_license | package dk.loeschcke.matrix.helper;
/**
* Created with IntelliJ IDEA.
* User: sbugge
* Date: 16/08/13
* Time: 14.49
* To change this template use File | Settings | File Templates.
*/
public enum Action {
TAP,
NONE, GESTURE
}
| true |
db2333c0b360d4f3ec6d9bdcbcfa4e5a6115a81b | Java | weltonvs/Ejemplos_DS_UDC | /Modulo1/src/paquete_a/ClaseMismoPaquete.java | UTF-8 | 539 | 3.15625 | 3 | [] | no_license |
package paquete_a;
/**
* Ejemplo de clase que pertenece al mismo paquete_a.
* @author weltonvs
*/
public class ClaseMismoPaquete {
public void metodoDeAcceso_2(){
Clase c = new Clase();
//c.privado = 1;//No es válido porque ese atributo es privado en la clase Clase.
c.protegido = 2;//Se... | true |
246444950f0d63a69acc2fc87bd0453fc9300a99 | Java | EricGhildyal/CS1653CryptoProject | /src/GroupServer.java | UTF-8 | 6,864 | 3.015625 | 3 | [] | no_license | /* Group server. Server loads the users from UserList.bin.
* If user list does not exists, it creates a new list and makes the user the server administrator.
* On exit, the server saves the user list to file.
*/
import java.net.ServerSocket;
import java.net.Socket;
import java.io.*;
import java.security.*;
import j... | true |
1200d10d8a1f886761253a2c0e56c36ca2f27992 | Java | karthikbhat19/Xplorify | /Xplorify/app/src/main/java/com/example/xplorify/Splash.java | UTF-8 | 1,665 | 2.015625 | 2 | [] | no_license | package com.example.xplorify;
import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout;
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;
impo... | true |
54b02eec783b2193e692a1779355f071040689f0 | Java | aharshbe/NewsHag | /NewsHag/app/src/main/java/badassapps/aaron/newshag/NavDDetailView.java | UTF-8 | 4,485 | 2.21875 | 2 | [] | no_license | //package badassapps.aaron.newshag;
//
//import android.content.ContentValues;
//import android.content.Intent;
//import android.database.sqlite.SQLiteDatabase;
//import android.graphics.drawable.Drawable;
//import android.support.v7.app.AppCompatActivity;
//import android.os.Bundle;
//import android.text.method.Scroll... | true |
d836545f48f2c1f6f3a2d67d44d974c2609a877b | Java | notmyown/de.nmo.eclipse | /de.nmo.eclipse.ui.games/src/de/nmo/eclipse/ui/games/KonamiCode.java | UTF-8 | 2,449 | 2.078125 | 2 | [] | no_license | package de.nmo.eclipse.ui.games;
import org.eclipse.core.expressions.PropertyTester;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.ui.IStartup;
/**
*... | true |
4b56d5ce169134ddb870041b9e69032c0e871d60 | Java | AT-03/coding | /src/main/java/org/fundacionjala/coding/Ruber/EANValidator.java | UTF-8 | 1,239 | 3.375 | 3 | [] | no_license | package org.fundacionjala.coding.Ruber;
/**
* Created by Ruber Cuellar on 2/21/2017.
*/
public final class EANValidator {
private static final int PAR = 1;
private static final int IMPAR = 3;
private static final int DIVISOR = 10;
/**
* Constructor.
*/
private EANValidator() {
}
... | true |
d60b37c5511742a5dfdc1a7c9e8d2e12d91687ad | Java | Kadphol/basic-java-test | /GetEmployee/src/main/java/Employee.java | UTF-8 | 1,430 | 2.8125 | 3 | [] | no_license | public class Employee {
private int employeeId;
private int threadId;
private short id;
private short albumId;
private String title;
private String url;
private String thumbnailUrl;
public Employee() { }
public Employee(int employeeId, int threadId, short id, short albumId, String ... | true |
7175d7dc4d1fbe0226631e96736de96142d179d8 | Java | TheScarastic/redfin_b5 | /SystemUIGoogle/sources/com/android/systemui/shared/system/ActivityManagerWrapper.java | UTF-8 | 2,232 | 2.09375 | 2 | [] | no_license | package com.android.systemui.shared.system;
import android.app.ActivityManager;
import android.app.ActivityTaskManager;
import android.content.pm.UserInfo;
import android.os.RemoteException;
import android.util.Log;
import java.util.List;
/* loaded from: classes.dex */
public class ActivityManagerWrapper {
private... | true |
1c3e60426624243d17df0829a19fdd445febd0f6 | Java | KristianHjelmsmarkKEA/Motorhome | /src/main/java/com/example/demo/Service/PriceService.java | UTF-8 | 1,009 | 2.171875 | 2 | [] | no_license | package com.example.demo.Service;
import com.example.demo.Model.Price;
import com.example.demo.Repository.PriceRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class PriceService {
@Autowired
PriceRepo ... | true |
3c2795a0af441b5bcd428e38118492d2ec82fc40 | Java | 1RG/Random-pixel-render | /src/lt/rg/rpr/view/AlertWindow.java | UTF-8 | 902 | 2.75 | 3 | [] | no_license | package lt.rg.rpr.view;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
public class AlertWindow {
static public String INFORMATION = "i";
static public String WARNING = "w";
static public String ERROR = "e";
static public void showInfo(String header, String text, Strin... | true |
f7449ad0974f5dc5027ef13fcbcd9644b30ffcde | Java | dngjs1/java_8_ex | /src/com/woohun/a3/MemberMain.java | UTF-8 | 268 | 2.703125 | 3 | [] | no_license | package com.woohun.a3;
public class MemberMain {
public static void main(String[] args) {
/*Member m = new Member();
m.info();
Member m2 = new Member();
m2.info();*/
Point p = new Point();
p.hap(10, 15);
p.hap(10, 15.1f);
p.hap(10.2f, 14.1f);
}
} | true |
259bc9744cb3242312a2eb0a6d8a04897706287f | Java | zuoerlost/fendany | /demo/src/main/java/com/fendany/utils/ws/WebSocketClientDemo.java | UTF-8 | 4,218 | 2.34375 | 2 | [] | no_license | package com.fendany.utils.ws;
import com.neovisionaries.ws.client.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
* Created by moilions on 2017/2/2... | true |
b7f40ab27f821e3aa1ff338b46431f09757cb4a1 | Java | zhangji92/workspace | /wangfeng/Wangfeng0530/app/src/main/java/com/example/administrator/wangfeng0530/Wang0531.java | UTF-8 | 721 | 2.28125 | 2 | [] | no_license | package com.example.administrator.wangfeng0530;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class Wang0531 extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
sup... | true |
f9da6c802e6d180d07a03eca842b545cafc8eef9 | Java | dennohdee/hrm_android | /app/src/main/java/com/example/hrm/UserRoomDatabase.java | UTF-8 | 800 | 2.234375 | 2 | [] | no_license | package com.example.hrm;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Entity;
import androidx.room.Room;
import androidx.room.RoomDatabase;
@Database(entities = UserRoom.class, exportSchema = false,version = 1)
public abstract class UserRoomDatabase extends RoomDatabase {
p... | true |
863ab601beb26d408bb059a612389989f6b3ce25 | Java | nkutsche/net.sqf.utils.process | /src/net/sqf/utils/process/queues/Task.java | UTF-8 | 2,443 | 2.734375 | 3 | [] | no_license | package net.sqf.utils.process.queues;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import javax.swing.SwingWorker;
import net.sqf.utils.process.queues.listeners.QueueListener;
public abstract class Task<IOType> extends SwingWorker<IOType, IOType> imple... | true |
a612643cbc808771b4be4b0123e1fe97f910ca5b | Java | pwaba/TestApp | /app/src/main/java/com/example/peter/testapp/MainActivity.java | UTF-8 | 1,750 | 2.078125 | 2 | [] | no_license | package com.example.peter.testapp;
import android.app.Activity;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
impor... | true |
9188b5704f101d858003686ef61a147096a63828 | Java | joe-tong/shiro | /src/main/java/com/werner/ping/service/Impl/IPrivilegeServiceImpl.java | UTF-8 | 1,342 | 2.109375 | 2 | [] | no_license | package com.werner.ping.service.Impl;
import com.werner.ping.bean.Privilege;
import com.werner.ping.mapper.PrivilegeMapper;
import com.werner.ping.service.IPrivilegeService;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
im... | true |
d1ab78d3ab3b5a054a3f477b950ed3d768e89152 | Java | andrelgirao22/truffle-api | /src/main/java/br/com/alg/trufflesapi/resources/StateResouce.java | UTF-8 | 980 | 2.21875 | 2 | [] | no_license | package br.com.alg.trufflesapi.resources;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.ann... | true |
db9b29eb2e114d4b0491d848e320513ae6aea02d | Java | zubedooo/JDBCHibernate | /hibernate-eclipse-postgresqlAnno/src/main/java/com/cms/deloitte/model/CardDetail.java | UTF-8 | 994 | 2.125 | 2 | [] | no_license | package com.cms.deloitte.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name = "CardDetail"... | true |
28844d0f03b2e3c1cc04f53302010fd681c4d877 | Java | pbartoszek/countmeup | /src/main/java/com/countmeup/controller/ResultsController.java | UTF-8 | 712 | 2.046875 | 2 | [] | no_license | package com.countmeup.controller;
import com.countmeup.domain.ResultService;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@RestController
public class ResultsController {
... | true |
fda5b3325e7b989f86539daa7571073933f05628 | Java | jtap60/com.estr | /src/com/estrongs/android/pop/spfs/CreateSiteFileObject.java | UTF-8 | 408 | 1.65625 | 2 | [] | no_license | package com.estrongs.android.pop.spfs;
import com.estrongs.fs.impl.r.b;
import com.estrongs.fs.w;
public class CreateSiteFileObject
extends b
{
public CreateSiteFileObject(String paramString)
{
super("SP://" + w.K.c(), w.K, paramString);
}
}
/* Location:
* Qualified Name: com.estrongs.android.pop.sp... | true |
a8b16de58ce68ebaa93716b5635c2624c3671cc7 | Java | lopotun/TQuickFix | /src/main/java/net/kem/tquickfix/builder/QFMessageMapperBuilder.java | UTF-8 | 6,637 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package net.kem.tquickfix.builder;
import java.util.HashMap;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: EvgenyK
* Date: 10/30/14
* Time: 2:43 PM
* Generates QF Component class file.
*/
public class QFMessageMapperBuilder {
private static final StringBuilder PUT_STATEMENTS = new StringBu... | true |
ea856d3882c62650bd600bf3dc55811863441b8f | Java | LudweNyobo88/ReversePolishNotation1 | /src/RPN.java | UTF-8 | 4,124 | 3.703125 | 4 | [] | no_license | import java.util.Scanner;
class StackNode
{
/*Stacks constructor with parameters*/
public StackNode(double data, StackNode underneath) {
/*calling the function of all stacks parameters*/
this.data = data;
this.underneath = underneath;
}
//Declaration of the StackNode constructo... | true |
37b169568e5f4abe7fae1724cabe720db81bf3ed | Java | JanDurry/StudentFitnessTracker | /app/src/main/java/android/mi/ur/studentfitnesstracker/Database/SessionDatabaseAdapter.java | UTF-8 | 8,342 | 2.421875 | 2 | [] | no_license | package android.mi.ur.studentfitnesstracker.Database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.mi.ur.studentf... | true |
3939b003db62ddaf209a18f5d61256dd0e76173f | Java | HuyaAuto/jsoagger-fx | /jsoagger-jfxcore-engine/src/main/java/io/github/jsoagger/jfxcore/engine/controller/main/layout/CardViewStructure.java | UTF-8 | 2,542 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | /*-
* ========================LICENSE_START=================================
* JSoagger
* %%
* Copyright (C) 2019 JSOAGGER
* %%
* 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
*
* ... | true |
5d344c01ea77c8fc07864e0fe0960ef04bbfb436 | Java | nareshreddy0789/QAwork | /pageobjects/src/main/java/com/apple/carnival/ui/HomePage.java | UTF-8 | 1,393 | 2.1875 | 2 | [] | no_license | package com.apple.carnival.ui;
import org.json.JSONObject;
import com.apple.carnival.qa.parser.JsonParserUtil;
import com.apple.carnival.ui.utilities.ElementLocatorUtility;
public class HomePage extends CarnivalUI {
private String jsonCreateRequestLink = "CreateRequestLink";
private String jsonOverViewOfHosts = "... | true |
46132faf1bfd80c5333dd962aeb7a78c58f5f482 | Java | RafRunner/CheckOut | /src/bancoDeDados/ProdutoDAO.java | ISO-8859-1 | 4,021 | 3.046875 | 3 | [] | no_license | package bancoDeDados;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import dominio.Produto;
import dominio.Promocao;
public class ProdutoDAO {
private static final String... | true |
8625d1390b6ce3322a100e0b68de39a90298d944 | Java | qinannmj/FireFly | /src/main/java/cn/com/sparkle/firefly/net/client/syncwaitstrategy/AbstractWaitStrategy.java | UTF-8 | 1,095 | 2.625 | 3 | [
"Apache-2.0"
] | permissive | package cn.com.sparkle.firefly.net.client.syncwaitstrategy;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
import cn.com.sparkle.firefly.net.netlayer.PaxosSession;
public abstract class AbstractWaitStrategy implements Wa... | true |
f745952bc26f6ac90fc230936c5cc432c1b5cbf6 | Java | hj458377603/AndroidDNF | /lol/src/com/test/utils/adapters/LazyAdapter.java | WINDOWS-1252 | 2,226 | 2.109375 | 2 | [] | no_license | package com.test.utils.adapters;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
im... | true |
6d61f457c60e5c18d4aa6ae1ab32785933b89dfa | Java | ffakenz/DAS | /project/workspace/gobierno/web_portal/src/test/java/ar/edu/ubp/das/src/concesionarias/RegistrarConcesionariaInteractorTest.java | UTF-8 | 2,575 | 2.0625 | 2 | [] | no_license | package ar.edu.ubp.das.src.concesionarias;
import ar.edu.ubp.das.mvc.action.DynaActionForm;
import ar.edu.ubp.das.mvc.config.DatasourceConfig;
import ar.edu.ubp.das.src.concesionarias.daos.MSConcesionariasDao;
import ar.edu.ubp.das.src.core.InteractorResponse;
import ar.edu.ubp.das.src.core.ResponseForward;
import org... | true |
4b50e2af94e07ed69c5f8d9bf33c8310d472acab | Java | chrisyao19/LeetCode | /Hash/290/equals, same-value-different-obj problem.java | UTF-8 | 1,318 | 3.71875 | 4 | [] | no_license | public class Solution {
public boolean wordPattern(String pattern, String str) {
String[] tmp = str.split(" ");
if(pattern.length()!=tmp.length) return false;
Map map = new HashMap();
for(Integer i=0; i<pattern.length();i++) { //using integer, no autoboxing-smae-value-different-obj... | true |
f708c98eba7ce1abc5570f2b5e367eed9f19f81f | Java | joseman1991/Ecuaciones_No_Lineales | /src/main/PanelFalsaPosicion.java | UTF-8 | 15,952 | 2.0625 | 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 main;
import javax.swing.JOptionPane;
import org.nfunk.jep.JEP;
/**
*
* @author JOSE
*/
public class PanelFalsaPosicion ex... | true |
a6f047141e3757b606e1fb715116afa8d4a7de8c | Java | ivan9105/MVC | /src/main/java/com/springapp/mvc/integration/weather/WeatherClient.java | UTF-8 | 1,600 | 2.296875 | 2 | [] | no_license | package com.springapp.mvc.integration.weather;
import com.springapp.mvc.integration.weather.schema.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;
import org.springframework.ws.soap.client.core.SoapActio... | true |
27137b05338071652894208a8a139cd5d57257ed | Java | FitnessEasy/comfybus | /ComfyBus/app/src/main/java/com/example/duytungdao/comfybus/remind/JSONDISTANCEObjects/JSONobjectStart.java | UTF-8 | 256 | 1.570313 | 2 | [] | no_license | package com.example.duytungdao.comfybus.remind.JSONDISTANCEObjects;
import org.json.JSONObject;
/**
* Created by duy tung dao on 10/30/2016.
*/
public class JSONobjectStart {
public String address;
public JSONobjectStart(JSONObject input){
}
}
| true |