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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
2ac98a7a39129be8ef6dd713438e98c9833afe19 | Java | neisoo/NetRadio | /src/com/zhongyuanhuan/blind/netradio/MainActivity.java | UTF-8 | 11,522 | 2.046875 | 2 | [] | no_license | package com.zhongyuanhuan.blind.netradio;
import java.util.ArrayList;
import java.util.List;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.os.Message;
import android.os.Vibrator;
import android.app.Activity;
import android.app.Service;
import android.util.Log;
impo... | true |
fd5789fac9035bd6839884d3e71c93d0d746d178 | Java | jordanlee871/ourstudybuddy | /src/com/billjc/framework/util/Constant.java | UTF-8 | 7,748 | 2.203125 | 2 | [] | no_license | package com.billjc.framework.util;
public class Constant {
/**
* 登录用户SESSION
*/
public static final String LOGIN_USER = "LOGIN_USER";
/**
* 列表每页显示的数量
*/
public static final int LIST_PAGE_SIZE = 50;
/**
* 邮件和短信配置复选框个数
*/
public static final int NOTICE_CHECK_COUNT = 90;
/**
*... | true |
157846222d05b3b9ff357f51be2255975b648400 | Java | mshanoudy/CS1653 | /Project/Phase_2/src/GroupClient.java | UTF-8 | 10,886 | 3.140625 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.List;
import java.io.ObjectInputStream;
/**
* GroupClient provides all the client functionality regarding the group server
*/
public class GroupClient extends Client implements GroupClientInterface
{
/**
* Method used to get a token from the group server. Right ... | true |
0194656149062010157c0c574f55a92b084a966c | Java | almoliu/Gaia-demo | /VMUpgradeLibrary/src/main/java/com/csr/vmupgradelibrary/codes/ReturnCodes.java | UTF-8 | 7,924 | 2.015625 | 2 | [] | no_license | /******************************************************************************
* Copyright (C) Cambridge Silicon Radio Limited 2015
*
* This software is provided to the customer for evaluation
* purposes only and, as such early feedback on performance and operation
* is anticipated. The software source code i... | true |
0186cb4d5e47a2bef4e5a9630c5559ce06426f45 | Java | tjin34/BU-Assist | /BUAssist/app/src/main/java/net/bucssa/buassist/Bean/Classmate/Class.java | UTF-8 | 2,244 | 2.53125 | 3 | [] | no_license | package net.bucssa.buassist.Bean.Classmate;
import java.io.Serializable;
/**
* Created by KimuraShin on 17/7/29.
*/
public class Class implements Serializable{
/**
* classId : 5
* classCode : CS 666
* classSection : A1
* className : Computer Art
* classSchedule : Tue, Thu 1:15-5:00 p... | true |
0671b1b24522be6fc5a13207e1dc3e0f22e6bfb8 | Java | alexbonilla/ComprobantesElectronicosWebDemo | /src/java/com/iveloper/comprobantes/modelo/notacredito/NotaCredito.java | UTF-8 | 2,303 | 1.765625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.iveloper.comprobantes.modelo.notacredito;
import com.iveloper.comprobantes.modelo.CampoAdicional;
import com.ivelo... | true |
83cdd52126db69e19d4a9d80056b19a07e1fbab3 | Java | agnieszkaq/uwb_1sem_OptGlob | /OptGlog/src/Rulette.java | WINDOWS-1250 | 2,235 | 3.0625 | 3 | [] | no_license | import java.util.Arrays;
public class Rulette {
int n;
double sum;
double[] index_tab, random_tab, distribution_tab, sort_tab, eval_tab;
double maxValue;
public Rulette() {
}
public Rulette(int n) {
this.n = n;
}
double get_max_value(double[] tab) {
sort_tab = tab;
Arrays.sort(sort_tab);
maxValue... | true |
0db2564ddb4611bb1eb040c0f075fed351424f8d | Java | anakolutka/woodstox | /wstx1/src/test/wstxtest/stream/BaseStreamTest.java | UTF-8 | 8,398 | 2.671875 | 3 | [] | no_license | package wstxtest.stream;
import java.io.*;
import java.util.HashMap;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import wstxtest.BaseWstxTest;
import wstxtest.cfg.*;
import com.ctc.wstx.stax.WstxInputFactory;
public class BaseStreamTest
extends BaseWstxTest
{
protec... | true |
a534c9a91f65b7d85a3be2d03d7eae5df7a6c739 | Java | Nkitoh/JavaTraining | /src/Interpret/ShowFrame.java | UTF-8 | 12,013 | 2.53125 | 3 | [] | no_license | package Interpret;
import java.awt.Button;
import java.awt.Choice;
import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Label;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt... | true |
2076be7a38803be6fbb55e8a7e96767bf673bdde | Java | Mararsh/MyBox | /released/MyBox/src/main/java/mara/mybox/data2d/Data2DMenuTools.java | UTF-8 | 23,773 | 1.882813 | 2 | [
"Apache-2.0"
] | permissive | package mara.mybox.data2d;
import java.util.ArrayList;
import java.util.List;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuItem;
import javafx.scene.control.SeparatorMenuItem;
import mara.mybox.controller.ControlData2D;
import mara... | true |
7b88e52980b31eb331f7b78550a40e6d4b14c95f | Java | treejames/tool | /Sms/src/main/java/com/pipipark/j/sms/Sms.java | UTF-8 | 1,051 | 2.609375 | 3 | [] | no_license | package com.pipipark.j.sms;
import com.pipipark.j.sms.entity.SmsConfig;
import com.pipipark.j.sms.entity.SmsContent;
import com.pipipark.j.system.entity.SimplePPPEntity;
import com.pipipark.j.system.exception.PPPServiceException;
/**
* 短信发送工具
* @see 抽象类,须实现config并进行必要配置后方可发送短信
* @author cwj
*/
@Suppre... | true |
848251125b544378c7e0243ab71d254c2842899e | Java | Echoes13/Movie_Event_db | /src/main/java/wad/repository/MovieRepository.java | UTF-8 | 247 | 2.140625 | 2 | [] | no_license | package wad.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import wad.domain.Movie;
//Elokuvarepositori
public interface MovieRepository extends JpaRepository<Movie, Long> {
public Movie findByName(String name);
} | true |
ec35b32ea3bfb355ac6c998eddac3cc0f2a5e865 | Java | leninkumar31/ObjectOrientedDesign | /mockito-demo/src/test/java/com/udemy/mockito/mockitodemo/SomeBusinessImplMockAnnotationsTest.java | UTF-8 | 1,099 | 2.375 | 2 | [] | no_license | package com.udemy.mockito.mockitodemo;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.jupiter.MockitoExtensi... | true |
ad5ff01011c6f9afc80689e7a6d9061e0ce86c18 | Java | dineshreddy9/java-ctci-programs | /string compression/src/StringCompress.java | UTF-8 | 849 | 3.640625 | 4 | [] | no_license | import java.util.Scanner;
public class StringCompress {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter String1");
String s1 = sc.nextLine();
String s = compressString(s1);
System.out.println("Compressed String is "+s);
}
pri... | true |
0499b44f004cba733632febcb83104c246715b55 | Java | olives2015/olives | /src/com/jeefw/service/frame/OlivesUserService.java | UTF-8 | 517 | 1.84375 | 2 | [] | no_license | package com.jeefw.service.frame;
import com.jeefw.model.frame.OlivesGroup;
import com.jeefw.model.frame.OlivesUser;
import core.service.Service;
import java.util.List;
/**
* Created by zhouyang on 2015/9/3.
*/
public interface OlivesUserService extends Service<OlivesUser> {
/**
* <pre>
* 根据用户信息... | true |
c9a1145afebb46007b51b9f918acdaaf268893c9 | Java | iantal/AndroidPermissions | /apks/comparison_androart/ro.btrl.pay/source/o/JS.java | UTF-8 | 4,878 | 1.601563 | 2 | [
"Apache-2.0"
] | permissive | package o;
import android.databinding.ViewDataBinding;
import android.databinding.ViewDataBinding.If;
import android.util.SparseIntArray;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
public cl... | true |
86f5c28a312fc2657ff8c44fd82a46f6daa809d1 | Java | apache/sis | /endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/matrix/AffineTransforms2D.java | UTF-8 | 22,225 | 2.328125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"MIT",
"EPL-1.0",
"Classpath-exception-2.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | true |
399f76f4c292225177b618dbc3930680c35c4794 | Java | Chendapeng1019/dubboDemo | /user-service-provider/src/main/java/com/atguigu/gmall/service/impl/UserServiceImpl2.java | UTF-8 | 846 | 2.359375 | 2 | [] | no_license | package com.atguigu.gmall.service.impl;/*
*@ClassName UserServiceImpl
*@Description
*@Author chendapeng
*@Date 2019/1/7
*/
import com.atguigu.gamll.bean.UserAddress;
import com.atguigu.gamll.service.UserService;
import java.util.Arrays;
import java.util.List;
public class UserServiceImpl2 implements UserService... | true |
516d54da9fb6b619bd0df860bf24b5e8adde6c6f | Java | songzx0309/SoApp | /mvc-demo/src/main/java/com/songzx/factory/method/support/NYVeggiePizza.java | UTF-8 | 206 | 2.015625 | 2 | [] | no_license | package com.songzx.factory.method.support;
import com.songzx.factory.method.facet.Pizza;
public class NYVeggiePizza extends Pizza {
public NYVeggiePizza() {
name = "NY Veggie Pizza";
}
}
| true |
1467c5c5d01115fff2f3ce9eb9bc4521b45185fb | Java | ugurdonmez/tutorials | /ieextreme7/src/af/Solution.java | UTF-8 | 1,997 | 3.15625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package af;
import java.util.Scanner;
/**
*
* @author ugur
*/
public class Solution {
public static void main(String [] args ) {
Scanner scanner = new Scanner(System.in);
i... | true |
b6d83ee45487509aa8ff0537c1c83a8a46a3ef5d | Java | hebrgit/rabbitmq | /order-provider/src/main/java/com/hebr/order/entity/Order.java | UTF-8 | 431 | 1.804688 | 2 | [] | no_license | package com.hebr.order.entity;
import lombok.Data;
import java.util.Date;
/**
* @ClassName Order
* @Author hebo
* @Date 2021/5/20 18:19
**/
@Data
public class Order {
private String id;
private String userId;
/**
* 订单编号
*/
private String commodityCode;
private int count;
privat... | true |
f61283c5f4f3a88c2241614cb6e75dcfd8a53b0f | Java | yyy192/Study_5 | /src/com/bh/b3/StaticTest.java | UTF-8 | 1,065 | 3.84375 | 4 | [] | no_license | package com.bh.b3;
public class StaticTest {
//접근지정자 [그외지정자] 데이터타입 변수명;
public static int num = 10; //객체 만들지 않고 사용 가능
public int num2 = 20;
//접근지정자 [그외지정자] 리턴타입 메서드명([메서드명]) {}
public static void staticMethod () {
System.out.println("Statix Method");
System.out.println(StaticTest.num);
// System.out.pr... | true |
49dc076969f1ed0c0e79c499228c5ea2b9f6964f | Java | mmassom96/ECE_251-Object_Oriented_Programming | /Lab5/Question1/src/Team.java | UTF-8 | 1,274 | 3.875 | 4 | [] | no_license | public class Team {
//These are the instance variables
private String name;
private int wins, losses, ties;
//These are the get and set methods
public String getName() { return name; }
public int getWins() { return wins; }
public int getLosses() { return losses; }
public ... | true |
a9a031cea99286e4c789580aefe4647b2f01850e | Java | stephengold/tonegodgui | /src/main/java/tonegod/gui/effects/cursor/CursorEffects.java | UTF-8 | 11,165 | 2.265625 | 2 | [
"BSD-2-Clause-Views"
] | permissive | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package tonegod.gui.effects.cursor;
import com.jme3.app.Application;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector2f;
import com.jme3.scene.Node;
import tonegod.gui.controls.extras.emitter.AlphaI... | true |
6915ae3a06cdb1b1c86de666159141d03ffffbe8 | Java | ihanfeng/BusPlat | /SimpleWeibo-master/src/main/java/me/vliupro/smb/action/ThumbAction.java | UTF-8 | 3,280 | 2.03125 | 2 | [] | no_license | package me.vliupro.smb.action;
import com.opensymphony.xwork2.ActionSupport;
import me.vliupro.smb.po.Thumb;
import me.vliupro.smb.po.User;
import me.vliupro.smb.service.ThumbService;
import me.vliupro.smb.service.ThumbServiceImpl;
import org.apache.struts2.interceptor.SessionAware;
import java.util.HashMap;
import j... | true |
4150339a18d7d489b78adb8efc70bc32e51d246d | Java | ofoo/myproject | /warehouse/src/main/java/com/guoguo/warehouse/common/DataJson.java | UTF-8 | 678 | 1.992188 | 2 | [] | no_license | package com.guoguo.warehouse.common;
import lombok.Data;
@Data
public class DataJson {
private Integer code;
private String msg;
private Long count;
private Object data;
public static DataJson list(String msg, Long count, Object data) {
DataJson dataJson = new DataJson();
dataJson... | true |
d0994e493eb16a13e98c2dbae3c2e216ee2cab48 | Java | newajax-1/WTF | /src/com/halo/wechat/saos/impls/VoiceMessageSaoImpl.java | UTF-8 | 494 | 1.984375 | 2 | [] | no_license | /**
*
*/
package com.halo.wechat.saos.impls;
import com.halo.wechat.messages.MsgType;
import com.halo.wechat.messages.VoiceMessage;
import com.halo.wechat.saos.SaoException;
/**
* @file VoiceMessageSaoImpl.java
* @author Junior
* @date 2015年8月24日 下午11:11:27
* @version 1.0
*/
public class VoiceMessageSaoImpl e... | true |
bce520622edb9987c5267567b71d63ae8a926ee3 | Java | chibenwa/james-project | /server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/ToSenderFolder.java | UTF-8 | 6,051 | 1.71875 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | 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... | true |
079046f3246cf3a5135c363f68af8b7fa87ff426 | Java | soltor45/2018-2020Code | /Chapter 4/MyShapes/Rectangle.java | UTF-8 | 673 | 3.53125 | 4 | [] | no_license | public class Rectangle
{
private double base;
private double height;
public Rectangle(double ba, double hi)
{
base = ba;
height = hi;
}
public double getbase()
{
return base;
}
public double getheight()
{
return hei... | true |
99f09dd798b3f7e6ac0e8e726e7f8023460339ba | Java | sealfe/java-demo | /src/loadSort/SubBase.java | UTF-8 | 715 | 3.53125 | 4 | [] | no_license | package loadSort;
public class SubBase extends Base {
// 静态变量、静态块执行顺序,按书写先后顺序
public static int a1 = getSuperStaticNumber();
public int b1 = getSuperInstanceNumber();
public SubBase()
{
System.out.println("----SubBase---: Init SuperClass " + this.b1);
}
static
{
System... | true |
2cca81a4620d4601d8c40f49f2ce914900b40d8d | Java | BeanNapkin/geekbrains_java | /Homework/src/HomeworkGenerics/Main.java | UTF-8 | 879 | 3.65625 | 4 | [] | no_license | package HomeworkGenerics;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) {
List<String> arr = new ArrayList<>(Arrays.asList("a", "b", "c", "d", "e"));
int element1 = 1;
int element2 = 2;
System... | true |
4131d197fc4f58b4d6c4293e2864ce76a09b4a46 | Java | sdgdsffdsfff/golf | /src/main/java/com/golf/dao/TravelPlanDao.java | UTF-8 | 778 | 2.28125 | 2 | [] | no_license | package com.golf.dao;
import java.util.List;
import com.golf.entity.TravelPlan;
public class TravelPlanDao {
private BaseDao m_baseDao;
public int delete(int id) {
return (Integer) m_baseDao.delete("travelPlan.delete", id);
}
@SuppressWarnings("rawtypes")
public List findAllTravelPlan() {
return m_base... | true |
e9201d3944586b26bb91be75c765d250480fb80d | Java | pinginglab/pingsec-utils | /src/main/java/com/pingsec/dev/domain/DownloadFile.java | UTF-8 | 2,319 | 2.359375 | 2 | [] | no_license | package com.pingsec.dev.domain;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serializable;
import java.time.Instant;
/**
* A DownloadFile.
*/
@Document(collection = "download_f... | true |
4d3b40ff6ae1a2e1ee1547939b1f60b41e253e58 | Java | hbwzhsh/tutorials | /zava/src/main/java/com/github/wangxuehui/rpc/test/ClientDemo.java | UTF-8 | 1,505 | 2.546875 | 3 | [] | no_license | package com.github.wangxuehui.rpc.test;
import com.github.wangxuehui.rpc.snrpc.SnRpcClient;
import com.github.wangxuehui.rpc.snrpc.SnRpcConnectionFactory;
import com.github.wangxuehui.rpc.snrpc.client.CommonSnRpcClient;
import com.github.wangxuehui.rpc.snrpc.client.SnNettyRpcConnectionFactory;
import com.github.wangxu... | true |
a6f742f153e5c3550104f4cacc417f6395f724b6 | Java | shk3029/Programmers | /src/com/company/kakaomobility/Mobility_1.java | UTF-8 | 876 | 3.0625 | 3 | [] | no_license | package com.company.kakaomobility;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class Mobility_1 {
public static void main(String[] args) {
solution(10);
solution(30);
solution(33);
solution(15);
solution(0);
solution(1)... | true |
8e4b6a6756d2d8f2256f02316d54e49d0b710e7e | Java | aqqbtgamer/iwanrun | /application/src/main/java/com/iwantrun/core/service/application/domain/Cases.java | UTF-8 | 10,654 | 1.90625 | 2 | [] | no_license | package com.iwantrun.core.service.application.domain;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.springfra... | true |
a07a637d5e70d4a54c5e78ec27a0b1d4ae6b3847 | Java | OliverXUZY/CS300-spring21 | /P09_Movie_Catalog/BSTNode.java | UTF-8 | 1,855 | 3.734375 | 4 | [] | no_license | /**
* Generic class implementing a Binary Node of a Binary Search Tree (BST)
*
* @param <T> type of the data carried by this binary node
* @author Sulong
*/
public class BSTNode<T extends Comparable<T>> {
// Note: DO NOT MAKE ANY CHANGE TO THIS CLASS AND DO NOT SUBMIT IT TO GRADESCOPE
private T data; /... | true |
3bec6c3871323902675ef42416d95c9aed6aded2 | Java | pavanshah/JobBoard | /src/main/java/edu/sjsu/cmpe275/controllers/CompanyController.java | UTF-8 | 11,543 | 2.40625 | 2 | [] | no_license | package edu.sjsu.cmpe275.controllers;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org... | true |
76369d4b444587c77ee3c0685ed4cb2f9af471c3 | Java | SLEEGit/JM | /src/test2418.java | UTF-8 | 943 | 3.15625 | 3 | [] | no_license | import java.util.Arrays;
public class test2418 {
public static void main(String[] args) {
int[] a = {1,2,2};
int[] b = new int[0];
System.out.println(Arrays.toString(mergeArrays(a,b)));
}
public static int[] mergeArrays(int[] a1, int[] a2) {
int[] summ = new int[a1.length + ... | true |
5b2adb4c3cc2ff3fb45f0aad01773703c6ad26e7 | Java | erichua23/EstimoteLab | /app/src/main/java/org/newbees/estimotelab/ui/SignUpActivity.java | UTF-8 | 661 | 1.703125 | 2 | [] | no_license | package org.newbees.estimotelab.ui;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import com.avos.avoscloud.AVAnalytics;
import com.avos.avoscloud.AVException;
import com.avos.avoscloud.AVUser;
import com.avos.avoscloud.SignUpCallback;
import or... | true |
8771ef2d02ea1f24b9ceb2233b484f6ba05af293 | Java | derricknjeru/AlgoDatastructure | /src/revision_v2/codility/Task3.java | UTF-8 | 3,302 | 3.8125 | 4 | [] | no_license | package revision_v2.codility;
import java.util.HashMap;
import java.util.Map;
public class Task3 {
public static void main(String[] args) {
/**
* An array A consisting of N Integers is given. We are looking for pairs of elements of the array that are equal but that occupy different positions in t... | true |
e8229d69379ed509c559e8b083b116fb37d776ea | Java | MonicaF20/gestionActivosNuevo | /src/gestionactivos/InicioController.java | UTF-8 | 4,808 | 2.09375 | 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 gestionactivos;
import gestionactivos.modelo.Usuario;
import java.io.IOException;
import java.net.URL;
import java... | true |
d350bffde042769b3b39d0f063b90b50ffdd6f77 | Java | PosEpn1900176/ES17G3_TesteIntegracao_TE | /testing_java/src/test/java/definition/Processo.java | UTF-8 | 785 | 2.234375 | 2 | [
"MIT"
] | permissive | package definition;
import groovy.json.internal.LazyMap;
public class Processo {
private static final String URL = "http://agapito-server.herokuapp.com/processos/";
private static LazyMap listaCampos = new LazyMap();
private static String ultimoCodigo;
public static void AdicionarCampos(String campo... | true |
5379d63692a05d20be2ba6c34446c72f48e0255f | Java | hragarwal/paypalslip-generator-tdd | /src/main/java/com/payslip/incometax/IncomeTaxThreshold.java | UTF-8 | 1,473 | 2.65625 | 3 | [] | no_license | package com.payslip.incometax;
import java.math.BigDecimal;
public class IncomeTaxThreshold {
private BigDecimal defaultTax;
private BigDecimal marginalTax;
private BigDecimal incomeThreshold;
public IncomeTaxThreshold(BigDecimal defaultTax, BigDecimal marginalTax, BigDecimal incomeThreshold) {
... | true |
8f2a77ccff5f8b57ea810f527014e09076d87efb | Java | EddieXu123/LeetCodeProblems | /RemoveCoveredIntervals.java | UTF-8 | 518 | 3.171875 | 3 | [] | no_license | class RemoveCoveredIntervals {
public int removeCoveredIntervals(int[][] intervals) {
Arrays.sort(intervals, (a, b) -> a[0] - b[0]);
int answer = 0;
int left = -1;
int right = -1;
for (int[] interval : intervals) {
if (interval[0] > left && interval[1] > ... | true |
a1f1420ea9f4b9280aae9426b77526f2156bdbbb | Java | mrbluesky0123/mrblueskyspringboot | /src/main/java/me/mrbluesky/mrblueskyspringbootstarter/MrblueskyspringbootstarterApplication.java | UTF-8 | 599 | 1.609375 | 2 | [] | no_license | package me.mrbluesky.mrblueskyspringbootstarter;
import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfigurat... | true |
22bb472a6199972ab998477da074441dc54a1140 | Java | Andreibich/javaLearning | /project_stock/common/src/main/java/com/htp/stock/service/validator/ProductCatalogValidator.java | UTF-8 | 1,397 | 2.625 | 3 | [] | no_license | package com.htp.stock.service.validator;
import com.htp.stock.domain.to.ProductCatalog;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ProductCatalogValidator implements ValidatorInterface<ProductCatalog> {
private static final ValidatorInterface<ProductCatalog> instance =... | true |
99b8b8d3ed6fa3d96356adffcc9160800d40f1cb | Java | WMystral/TP-ANDROID | /Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Lieur.java | UTF-8 | 613 | 2.421875 | 2 | [] | no_license | package fr.iut_fbleau.apl41.couleurs;
import android.database.Cursor;
import android.view.View;
import android.widget.SimpleCursorAdapter;
/*
Pour chaque composant de chaques lignes on appelle ce lieur, qui met une donnée dans un COMPOSANT
*/
public class Lieur implements SimpleCursorAdapter.ViewBinder {
@Over... | true |
20c4bf06e2235ebd923de84140d4615b1eb4e065 | Java | agenceVoyage44/agence_voyage | /BoVoyage44/src/test/java/fr/adaming/dao/tests/ClientDaoTest.java | UTF-8 | 2,487 | 2.21875 | 2 | [] | no_license | // package fr.adaming.dao.tests;
//
// import static org.junit.Assert.assertEquals;
// import static org.junit.Assert.assertNotNull;
//
// import org.junit.Ignore;
// import org.junit.Test;
// import org.junit.runner.RunWith;
// import org.springframework.beans.factory.annotation.Autowired;
// import org.sprin... | true |
6252fecc17329ca807ef81d9b76029e7598bc988 | Java | vasav-jain/Railway-Ticket-Booking-Simulation | /Ticket.java | UTF-8 | 780 | 3.203125 | 3 | [] | no_license |
public class Ticket
{
public void tic(String s1, String s3, String s4, int adult, int child, double price , String date, String returns )
{
Stations obj = new Stations();
System.out.println("\n\n___________________________________________\n*******************************************\n MUM... | true |
7437e7d5514db2b8294d47b6442454eaea1cf800 | Java | sergiorjuela/credicorpOneClick | /ExportPlugin/src/com/mega/vocabulary/SubjectToLifeCycle.java | UTF-8 | 532 | 1.640625 | 2 | [] | no_license | package com.mega.vocabulary;
public interface SubjectToLifeCycle extends ReportValue {
/*MetaClass ID*/
public static String ID = "~Utr)WAmX9vW0[Subject to Life Cycle]";
/*MetaAttributes*/
public static final String MA_Comment = "~f10000000b20[X]";
public static final String MA_Log = "~f20000000b60[X]";
... | true |
36240a5a36522051a1f6efbb634cab2ee2ab22b4 | Java | vikaskundarapu/Design-Patterns | /src/creational/builder/example2/builder/BurgerBuilder.java | UTF-8 | 2,707 | 3.8125 | 4 | [] | no_license | package creational.builder.example2.builder;
import creational.builder.example2.product.Burger;
/**
* Imagine you are at Hardee's and you order a specific deal, lets say, "Big
* Hardee" and they hand it over to you without any questions; this is the
* example of simple factory. But there are cases when the ... | true |
f3213a79ed1aef30644a821846a15c4628db6d1e | Java | ais106/NegotiatingConsentProject | /Client/app/src/main/java/uk/ac/soton/ecs/negotiatingconsent/collectables/Contact.java | UTF-8 | 1,823 | 2.609375 | 3 | [] | no_license | package uk.ac.soton.ecs.negotiatingconsent.collectables;
/**
* Created by Anna Soska on 21/07/15.
*/
public class Contact {
//Contact fields
public String phone;
public String phoneType;
public String email;
public String emailType;
public String logcall;
public String name;
public ... | true |
76bd03b3b672179055d4f991d316856f647e2ffb | Java | matt-richardson/teamcity-octopus-build-trigger-plugin | /octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/CustomAsyncBuildTriggerFactoryImplTest.java | UTF-8 | 2,400 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | package com.mjrichardson.teamCity.buildTriggers;
import com.intellij.openapi.diagnostic.Logger;
import com.mjrichardson.teamCity.buildTriggers.DeploymentComplete.DeploymentCompleteAsyncBuildTrigger;
import com.mjrichardson.teamCity.buildTriggers.DeploymentComplete.DeploymentCompleteSpec;
import com.mjrichardson.teamCi... | true |
378b5b261035ba0f6c3e491767963072df5d20eb | Java | AWildBeard/WildChat | /src/main/java/DataProcessor.java | UTF-8 | 9,926 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | true |
8ad72a9c99afd540d4cca378ffa11c797d4f45e2 | Java | yuweiqwe/DesignPattern | /src/main/java/com/ckp/test/handler/strengthen_filter/FilterManager.java | UTF-8 | 820 | 2.3125 | 2 | [] | no_license | package com.ckp.test.handler.strengthen_filter;
import com.ckp.test.handler.filter.Request;
/**
* 描述:
* ${DESCRIPTION}
*
* @ProjectName: DesignPattern
* @Package: com.ckp.test.handler.strengthen_filter
* @ClassName: FilterManager
* @Description: java类作用描述
* @Author: 余巍
* @CreateDate: 2019/3/1 18:07
* @Updat... | true |
1703125d1cae2c3ce1f45e899d242efcb487cfde | Java | darklaohai/Notify_service | /src/com/jodo/notify/util/DateUtil.java | UTF-8 | 2,504 | 2.84375 | 3 | [] | no_license | package com.jodo.notify.util;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class DateUtil {
DateFormat _yyyyMMdd_;
DateFormat _yyyy_MM_dd_hms_;
DateFormat _yyyyMMddhhmmss_;
... | true |
5538226c513c5a9b1b21fd2d912cd06d61bf9553 | Java | akakss225/Java_tutorial | /in Widow/Tutorial11/src/Main응용2.java | UHC | 443 | 3.578125 | 4 | [] | no_license |
public class Main2 {
public static int combine(int a, int b) {
//combineԼ ǹѴ.
int sum1 = 1;
int sum2 = 1;
int sum3 = 1;
for(int i = a; i >= 1; i--)
{
sum1 *= i;
}
for(int j = b; j >= 1; j--)
{
sum2 *= j;
}
for(int k = a - b; k >= 1; k--)
{
sum3 *= k;
}
return sum1/(sum2*sum3);
... | true |
db917694a4b731d4e791317ea0c8c5679cfe8b8b | Java | gfis/joeis-lite | /internal/fischer/mangf/A306642.java | UTF-8 | 390 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package irvine.oeis.a306;
import irvine.math.z.Z;
import irvine.oeis.recur.HolonomicRecurrence;
/**
* A306642 a(n) = Sum_{k=0..n} (3*n)!/(k! * (n-k)!)^3.
* @author Georg Fischer
*/
public class A306642 extends HolonomicRecurrence {
/** Construct the sequence. */
public A306642() {
super(0, "[[0],[-2880,16... | true |
30db8e7d57fe8ba6a57e89f6a2ba500d71216a4d | Java | phamvanhai-auto/selenium-webdriver-java-testng | /selenium/webdriver/Topic_16_Wait_III_Explicit.java | UTF-8 | 5,631 | 2.359375 | 2 | [] | no_license | package webdriver;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedCondi... | true |
8c58b30d96965ef41b37bf486cdf0656ae03ec10 | Java | hhnchau/FilmPro | /app/src/main/java/info/kingpes/phimpro/ListAdapter.java | UTF-8 | 1,722 | 2.390625 | 2 | [] | no_license | package info.kingpes.phimpro;
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.TextView;
import java.util.List;
public class ListAdapter extends RecyclerView.Ada... | true |
7dffb4c4e467cdc60c0ca8d74dc89859a5595b6b | Java | newSue/Mdmplugin | /src/com/winchannel/plugin/crm/spe/loreal/sms/Helper155.java | UTF-8 | 1,611 | 2.21875 | 2 | [] | no_license | /**
*
*/
package com.winchannel.plugin.crm.spe.loreal.sms;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.winchannel.datapro.json.JSONArray;
import com.winchannel.log.LogFactory;
import com.winchannel.log.Logger;
import com.winchannel.plugin.data.MobileDataHandler;
... | true |
61be840fce74704d1286747b1577c7269a70392c | Java | chenyunxin/ch-parent | /ch-core/src/main/java/com/ch/core/bean/BaseRes.java | UTF-8 | 151 | 1.5625 | 2 | [] | no_license | package com.ch.core.bean;
import lombok.Data;
@Data
public class BaseRes {
private Integer code;
private String msg;
private T data;
}
| true |
972cf960101fb86d8d3283b637f8cf146937eac2 | Java | FCWS/LionStudy | /app/src/main/java/lionstudy/fc/com/lionstudy/view/TitleBar.java | UTF-8 | 2,401 | 2.65625 | 3 | [] | no_license | package lionstudy.fc.com.lionstudy.view;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
imp... | true |
fce8bf56a4ec579a47c61366cd64d0e3e96c421a | Java | isabella232/fresco-1 | /vito/core/src/test/java/com/facebook/fresco/vito/core/VitoImageRequestTest.java | UTF-8 | 1,420 | 1.882813 | 2 | [
"MIT"
] | permissive | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.fresco.vito.core;
import static org.assertj.core.api.Java6Assertions.assertThat;
import static org.mockito.Mo... | true |
a4e57958c3ae741d8ee55e26cd1913586e951a3c | Java | codelibs/elasticsearch-repository-ssh | /src/main/java/org/codelibs/elasticsearch/repository/ssh/blobstore/SshBlobContainer.java | UTF-8 | 5,448 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | true |
1f337682d64d862f841e0117c94f6e2c9d594a0c | Java | bjutBigData/MyHTTPTrips | /src/com/Obstacle/Cross.java | UTF-8 | 18,839 | 3.03125 | 3 | [] | no_license | package com.Obstacle;
import com.Path.DefinedVertex.B1Vertex;
import com.Path.DefinedVertex.SubNumber;
import com.Path.Dijkstra.SubGraph.Floor;
import com.Path.Dijkstra.SubGraph.Vertex;
import com.Path.Dijkstra.SubGraph.Graph;
import com.sun.org.apache.bcel.internal.generic.SWAP;
/**
* Created by toy on 15-5-10.
*/... | true |
bd3a30f3ae456216008f2e1729cfa2bc7f19aa61 | Java | dsjzzwdy0/Finance | /loris-soccer/src/main/java/com/loris/soccer/bean/model/LeagueMap.java | UTF-8 | 3,199 | 2.625 | 3 | [] | no_license | package com.loris.soccer.bean.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.loris.base.util.ArraysUtil;
import com.loris.base.util.ArraysUtil.EqualChecker;
import com.loris.soccer.bean.SoccerConstants;
import com.loris.soccer.bean.table.League;
/**
* 联赛数据类
* @author... | true |
967c96d262c245e3efb14ab9515a6276d3abf164 | Java | zhangzhj/rainbow | /src/main/java/net/rainbow/resource/vfs/FileName.java | UTF-8 | 820 | 2.8125 | 3 | [] | no_license | package net.rainbow.resource.vfs;
import java.io.IOException;
public interface FileName {
/**
* 返回所代表的文件或实体对象
*
* @return
* @throws IOException
*/
public FileObject getFileObject() throws IOException;
/**
* 基础文件名,即使是目录也不以'/'开始或结尾
*
* @return
* @throws IOEx... | true |
d8e2e3836772eac9a3ec69f5f3ab1905381eb26e | Java | 11418030-Kiki/raport | /src/main/java/com/gmail/at/agusumbawa/dao/TadarusDaoImpl.java | UTF-8 | 4,098 | 2.515625 | 3 | [] | no_license | package com.gmail.at.agusumbawa.dao;
import com.gmail.at.agusumbawa.entity.TadarusModel;
import org.hibernate.*;
import java.util.List;
/**
* Created by Agus Suhardi on 2/18/2017.
*/
public class TadarusDaoImpl implements TadarusDao{
private final SessionFactory sessionFactory;
public TadarusDaoImpl(Sessi... | true |
1dafb9e6c02e20847cecfb4c7e4b1dab9f1872d6 | Java | Po-Hsuan-Huang/Exploration-of-event-segmentation-theory-using-LSTM | /Java Code/Update of DiskWorldEAR/src/EventSegmentationScenario/Fileprinter.java | UTF-8 | 5,478 | 2.984375 | 3 | [] | no_license | package EventSegmentationScenario;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
impor... | true |
abbe314b19a4526c301bfdea3d812d735bd40052 | Java | petermr/ami3 | /src/test/java/org/contentmine/html/util/HtmlUnitWrapperTest.java | UTF-8 | 3,427 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package org.contentmine.html.util;
import java.io.FileOutputStream;
import java.net.URL;
import org.contentmine.eucl.xml.XMLUtil;
import org.contentmine.graphics.html.HtmlElement;
import org.contentmine.graphics.html.util.HtmlUnitWrapper;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
impor... | true |
2cdb633f575e9356aa5d8ee940829469a831db9a | Java | prerna2903/orderMS | /src/main/java/com/infosys/repository/ProductsOrderedRepo.java | UTF-8 | 479 | 1.765625 | 2 | [] | no_license | package com.infosys.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.infosys.entity.MyKey;
import com.infosys.entity.ProductsOrderedEntity;
@Repository
public interface ProductsOrderedRepo extends JpaReposit... | true |
2327ffd7b2a9aaba328613de732ea4f42928ab91 | Java | zest133/elastic | /elasticTest/src/main/java/admin/IndexAdminExample.java | UTF-8 | 4,937 | 2.46875 | 2 | [] | no_license | package admin;
import org.elasticsearch.action.admin.indices.create.CreateIndexResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.ImmutableSettings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsea... | true |
50d37e6548e66d44429778f5a9575fde6ed6cbc0 | Java | gholdzhang/mc | /src/java/com/inetec/ichange/mc/action/SaveSnmpOIDAction.java | UTF-8 | 1,336 | 2.046875 | 2 | [] | no_license | package com.inetec.ichange.mc.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import com.inetec.common.exception.Ex;
import com.inetec.ichange.mc.pojo.SnmpOIDBean;
public class SaveSnmpOIDAction extends IAction {
static Logger log... | true |
22c7ae57171ad68447eeeffdd66b0a31e9604e31 | Java | dubenju/javay | /src/java/com/beatofthedrum/alacdecoder/AlacInputStream.java | UTF-8 | 754 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | package com.beatofthedrum.alacdecoder;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* Author: Denis Tulskiy
* Date: 4/7/11
*/
public class AlacInputStream extends DataInputStream {
/**
* Creates a DataInputStream that uses the ... | true |
fb8f4a64b90230a666148823a0717b83dae0992c | Java | AlexandroAndrade/PointOfSaleWebService | /src/main/java/com/gigaware/pointofsalews/dto/sale/read/SaleDTO.java | UTF-8 | 1,762 | 2.015625 | 2 | [] | no_license | /**
* Copyright (c) 2016, Gigaware Solutions.
*/
package com.gigaware.pointofsalews.dto.sale.read;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
/**
* @author Alex Andrade ( yngwie_ale... | true |
ada9766cfc78ecdc2840319846376b17f76a7ce8 | Java | smee/amor | /org.infai.amor.backend.neoblobstorage/src/org/infai/amor/backend/neostorage/EcoreRelationshipType.java | UTF-8 | 1,997 | 1.664063 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2009 InfAI.org
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... | true |
f0a5b7c0f1eb2b16fb64dc56c5a659e851ebe0d1 | Java | FavyTeam/Elderscape_server | /source/game/npc/impl/abyssal_sire/AbyssalSire.java | UTF-8 | 22,715 | 2.03125 | 2 | [
"MIT"
] | permissive | package game.npc.impl.abyssal_sire;
import com.google.common.collect.ImmutableMap;
import core.ServerConstants;
import core.GameType;
import game.position.Position;
import game.content.combat.CombatConstants;
import game.entity.Entity;
import game.entity.EntityType;
import game.entity.attributes.AttributeKey;
import g... | true |
0305db8031011b941e14f5e3d7306efd1aee1efb | Java | ClayLivince/PostStudent | /app/src/main/java/xyz/cyanclay/poststudent/ui/jwgl/trainmode/TrainModeFragment.java | UTF-8 | 11,021 | 1.804688 | 2 | [] | no_license | package xyz.cyanclay.poststudent.ui.jwgl.trainmode;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import androidx.a... | true |
ed0be0a131febbeeabbd4c5edb84bbb17f8cbd67 | Java | phamow/fest | /fest/fest-swing/src/test/java/org/fest/swing/format/JTreeFormatterTest.java | UTF-8 | 3,572 | 2.21875 | 2 | [] | no_license | /*
* Created on Mar 24, 2008
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | true |
74c776665a39644a0155f5e4764949625ee2f7d4 | Java | aniXification/enroscar | /sdk-dep/src/main/java/com/stanfy/enroscar/sdkdep/LowestSDKDependentUtils.java | UTF-8 | 2,595 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | package com.stanfy.enroscar.sdkdep;
import java.io.File;
import android.app.Application;
import android.content.ComponentCallbacks;
import android.content.Context;
import android.content.SharedPreferences.Editor;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.As... | true |
659371be03edb455ca1b5d6ff0569da228de0163 | Java | llxqb/MyMVPDemo | /app/src/main/java/com/freemud/app/mvp/demo/presenter/PresenterControl/MainControl.java | UTF-8 | 519 | 2.015625 | 2 | [] | no_license | package com.freemud.app.mvp.demo.presenter.PresenterControl;
import com.freemud.app.mvp.demo.entity.request.MainBannerRequest;
import com.freemud.app.mvp.demo.entity.response.MainBannerResponse;
/**
* Created by li.liu on 2017/12/13.
*/
public class MainControl {
public interface MainView extends LoadDataView... | true |
e0f3aa3cf309e55a47fb49436d65cbcc8617ca68 | Java | cckmit/Nuclos | /nuclos-client/src/main/java/org/nuclos/client/ui/model/AbstractListTableModel.java | UTF-8 | 3,965 | 2.328125 | 2 | [] | no_license | //Copyright (C) 2010 Novabit Informationssysteme GmbH
//
//This file is part of Nuclos.
//
//Nuclos is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your... | true |
27b8577bc6284e64cf5a6e29bda2e9c68db877c4 | Java | AnjuSreekumar08/CollegeBusTracker | /app/src/main/Java/ChangePasswordDriver.java | UTF-8 | 4,355 | 2.046875 | 2 | [] | no_license | package com.example.collegebustrack;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.... | true |
9cdee0c7c8bf83aacf2e2f48a2781d11066ce869 | Java | osake/Armadillo.Core | /Analytics/src/main/java/Armadillo/Analytics/Optimisation/Base/Operators/PopulationClasses/RandomInitialPopulation.java | UTF-8 | 7,816 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package Armadillo.Analytics.Optimisation.Base.Operators.PopulationClasses;
import org.joda.time.DateTime;
import org.joda.time.Seconds;
import Armadillo.Analytics.Optimisation.Base.OptimisationConstants;
import Armadillo.Analytics.Optimisation.Base.Operators.IndividualClasses.Individual;
import Armadillo.Analy... | true |
980d0735ed8b840344fbaac71c98cdc460b9330a | Java | moweipeng32577/xdarchives | /珠海数字文件中心/智能库房系统/project-lot/src/main/java/com/xdtech/project/lot/device/entity/DeviceInformation.java | UTF-8 | 2,212 | 1.828125 | 2 | [] | no_license | package com.xdtech.project.lot.device.entity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
@Table(name = "lot_device_information")
public class DeviceInformation {
@Id
@GenericGenerator(name = "idGenerator", strategy = "uuid") //生成32位UUID
@GeneratedValue(generato... | true |
c8885a77c732892e4e3a19c803fc9d317a1ff535 | Java | cha63506/CompSecurity | /Music-Audio/smule_source/src/com/flurry/sdk/ia$a.java | UTF-8 | 931 | 1.609375 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.flurry.sdk;
// Referenced classes of package com.flurry.sdk:
// ir, jz, jx
class teException extends ir
{
private ... | true |
d15e1ae5e378493f171dc61fd5edd0eb2251181d | Java | n-k-a/ArraySorterProject | /src/main/java/com/sparta/sort/MergeSort.java | UTF-8 | 1,398 | 3.046875 | 3 | [] | no_license | package com.sparta.sort;
public class MergeSort extends Sort{
public static void mergeSort(int[] array)
{
if (array==null){
return;
}
if(array.length>1){
int mid = array.length/2;
int [] left = new int [mid];
for(int i = 0; i<mid; i++){
left[i] = array[i];
... | true |
24582dcf2cb885fff30a83e6e30db749dc57d6af | Java | yangzwcn/flow-platform-x | /core/src/main/java/com/flowci/core/common/config/WebConfig.java | UTF-8 | 4,236 | 1.601563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2019 flow.ci
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | true |
8a4fb29ab3b0837404a99e7d981f5807225f6eb7 | Java | jbelyaeva/java_itgen | /itgen/src/main/java/data/model/materials/MaterialPerms.java | UTF-8 | 781 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package data.model.materials;
import com.google.common.collect.ForwardingSet;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public class MaterialPerms extends ForwardingSet<MaterialPermsData> {
private final Set<MaterialPermsData> delegate;
public MaterialPerms(MaterialPerms materi... | true |
107a9518242efc90470b86544b134030d129a1ca | Java | HD152502/JavaPractice | /JavaPractice/src/org/dimigo/oop/Question.java | UTF-8 | 994 | 3.4375 | 3 | [] | no_license | /**
*
*/
package org.dimigo.oop;
import java.util.Scanner;
/**
* <pre>
* org.dimigo.oop
* |_ Question
*
* 1. 개요 : 실습과제
* 2. 작성일 : 2017. 3. 31.
* </pre>
*
* @author : 구윤태
* @vresion : 1.0
*/
public class Question {
public static void main(String[] args) {
String question[] =... | true |
3f1ec8cf4529a81a4f7e4010d118dae785c04038 | Java | JamesMelgar/compi2javaccpr1 | /pr1Compilarodores2/src/Acciones/expresiones.java | UTF-8 | 83,229 | 2.578125 | 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 Acciones;
import static Acciones.accpaquete.imprimir_tabla_simbolos;
import static Acciones.accpaquete.llenar_tabla;
... | true |
21740d976d64a29810700970f6cf496334a00091 | Java | IebeMaes/JavaProject | /src/main/java/fact/it/restaurantapp/model/TakeAwayBestelling.java | UTF-8 | 1,785 | 2.328125 | 2 | [] | no_license | package fact.it.restaurantapp.model;
import javax.persistence.*;
import java.util.GregorianCalendar;
@Entity
public class TakeAwayBestelling {
public TakeAwayBestelling() {
}
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private int aantal;
private GregorianCalenda... | true |
124e3dc5dc4a308979de5f375014d84c3c3136c8 | Java | Nagendra993/PostgreSqlExample | /src/main/java/com/gi/entity/EmployeeEntity.java | UTF-8 | 433 | 2.25 | 2 | [] | no_license | package com.gi.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class EmployeeEntity {
@Id
private String ename;
private String esal;
public String getEname() {
return ename;
}
public void setEname(String ename) {
this.ename = ename;
}
public ... | true |
ad08920a82fe18b0241259646200973b61dbe3c2 | Java | 13024970727/seasons-food-platform | /service-business/src/main/java/com/seasonsfood/mall/business/service/impl/TagHasGoodsServiceImpl.java | UTF-8 | 2,916 | 2.09375 | 2 | [] | no_license | package com.seasonsfood.mall.business.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.seasonsfood.mall.business.api.domain.Goods;
import com.seasonsfood.mall.business.api.domain.Tag;
import com.seasonsfood.mall.business.api.domain.TagHasGoods;
import com.seasonsfood.mall.business.api.servi... | true |
9a7de6b18b78fa2c2c2d8567201a1a8eac0bce8e | Java | burakfirik/Pose | /src/animated_sprite_viewer/events/SlowDownAnimationHandler.java | UTF-8 | 1,257 | 2.96875 | 3 | [] | no_license | package animated_sprite_viewer.events;
import animated_sprite_viewer.AnimatedSpriteXMLLoader;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import sprite_renderer.SceneRenderer;
/**
* The SlowDownAnimationHandler responds to when the
* user requests to slow down animation. It proceeds
* ... | true |
2d85be345f60ca582032bb3c3104626d46d2ba6a | Java | salimk123/nimap2 | /src/main/java/com/nimap/project/model/Product.java | UTF-8 | 952 | 2.171875 | 2 | [] | no_license | package com.nimap.project.model;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import com.fasterxml.jackson.ann... | true |
ef50fb59f3044eac55b64811c9befac872ad1590 | Java | EtienneBerube/BostonHacks18 | /DontTrashMyHouse/DontTrashMyHouse/src/main/java/com/bostonHacks/DontTrashMyHouse/services/RentalServiceImpl.java | UTF-8 | 1,617 | 2.15625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.bostonHacks.DontTrashMyHouse.services;
import com.bostonHacks.DontTrashMyHouse.mdbModels.MdbHouse;
import com.bostonHacks.... | true |
8b2c0769044a2391b5bd38c7a8685c9a80ec4a60 | Java | Ktlh/hackaton | /src/main/java/me/codaline/model/questions.java | UTF-8 | 1,261 | 2.265625 | 2 | [] | no_license | package me.codaline.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class questions {
@Id
@GeneratedValue
int id_question;
String question;
String answer_1;
String answer_2;
String answer_3;
String answer_4;
... | true |