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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
64fd5445c787974437157f6024b2fd9b41a4f9b4 | Java | complitex/flexpay | /ab/src/org/flexpay/ab/service/impl/TownTypeServiceImpl.java | UTF-8 | 10,261 | 1.9375 | 2 | [] | no_license | package org.flexpay.ab.service.impl;
import org.apache.commons.lang.StringUtils;
import org.flexpay.ab.dao.TownTypeDao;
import org.flexpay.ab.persistence.TownType;
import org.flexpay.ab.persistence.TownTypeTranslation;
import org.flexpay.ab.persistence.filters.TownTypeFilter;
import org.flexpay.ab.service.TownT... | true |
3afd65d5ed9bb4ed69d4892fd4bb0399562bf82b | Java | claudemirramosferreira/ECM | /codigo/src/ecm-interactive/ecm-core/src/main/java/br/interactive/ecm/util/DatabaseUtil.java | UTF-8 | 2,801 | 2.40625 | 2 | [] | no_license | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | true |
00e6d80f7e126801eca703748cd2955b2740040d | Java | MohamadHojabr/EconomyClient | /app/src/main/java/com/economyportal/economyportalclient/utility/ClickListener.java | UTF-8 | 255 | 1.898438 | 2 | [] | no_license | package com.economyportal.economyportalclient.utility;
import android.view.View;
/**
* Created by mohamad on 10/30/2016.
*/
public interface ClickListener {
void onClick(View view, int position);
void onLongClick(View view, int position);
}
| true |
97f9efed6d0fddbcc0d27b9e038e4d472e8b25f6 | Java | cdi1001/QBGTimesheet | /timesheet/src/main/java/timesheet/model/Employee.java | UTF-8 | 1,625 | 2.3125 | 2 | [] | no_license | package timesheet.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
im... | true |
a29f380c1cab190a99f73ea983c0092773328434 | Java | SHAVIKA-GROUP/taxis | /taxis/src/main/java/com/shavika/taxis/service/TripService.java | UTF-8 | 336 | 1.882813 | 2 | [] | no_license | package com.shavika.taxis.service;
import com.shavika.taxis.api.dto.Trip;
import com.shavika.taxis.api.exception.ShavikaAppException;
public abstract interface TripService {
public abstract int insertTrip(Trip trip) throws ShavikaAppException;
public abstract int genrateMail(Trip trip) throws ShavikaAppE... | true |
8a3d61769d5c66ce4de02b6930c3b5712c3eb5fc | Java | grzegul/JavaPlayground | /Testing/src/test/java/io/github/grzegul/junit/helper/StringHelperTest.java | UTF-8 | 1,480 | 2.5 | 2 | [] | no_license | package io.github.grzegul.junit.helper;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
public class StringHelperTest {
StringHelper s;
@Before
public void before()... | true |
e0db4448e943b5c588d8a4657694119674a3796d | Java | Oaks907/bookspace | /LeetCode/src/S101_200/S108_ConvertSortedArraytoBinarySearchTree.java | UTF-8 | 629 | 3.234375 | 3 | [] | no_license | package S101_200;
import model.TreeNode;
/**
* Create by haifei on 26/3/2019 5:46 PM.
* <p>
* https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/
*/
public class S108_ConvertSortedArraytoBinarySearchTree {
public TreeNode sortedArrayToBST(int[] nums) {
return helper(nums, 0, nums.len... | true |
149c3382ebceecd3622e9797f8a16731786efa4f | Java | xujianhai/mycat-netty | /src/main/java/io/mycat/netty/mysql/auth/PrivilegeFactory.java | UTF-8 | 1,346 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package io.mycat.netty.mysql.auth;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
/**
* Created by snow_young on 16/8/7.
*/
public class PrivilegeFactory {
private static final Logger logger = LoggerFactory.getLogger(PrivilegeFactory.class);
// todo: refactor privilege, pr... | true |
951fbcdb614ac58f80d2c55d5bb0124ff286a758 | Java | vostreshtw/krankenhaus | /Vostres_s0566769_Aufgabe8/src/de/htw/krankenhaus/modell/Aufenthalt.java | UTF-8 | 3,009 | 2.890625 | 3 | [] | no_license | package de.htw.krankenhaus.modell;
/**
* Klasse fuer Aufenthalte
*
* @author Yevheniia Vostres (566769)
* @since 16.04.2019
*
*/
import java.util.Date;
import java.util.LinkedList;
public class Aufenthalt {
private String patientenName;
private int patientenNummer;
private long dauer;
p... | true |
0784d678dd73aa3af8b0c7e62b2a96a7140013f5 | Java | moutainhigh/easysaas-project | /easysaas-portal/src/main/java/org/easymis/easysaas/portal/service/DictionaryService.java | UTF-8 | 497 | 1.546875 | 2 | [] | no_license | package org.easymis.easysaas.portal.service;
import java.util.List;
public interface DictionaryService {
List getEstiblishYearType();
List getRegisteredCapitalType();
//企业状态列表
public List getCompanyStatusList();
//资本币种列表
public List getMoneyList();
//企业类型列表
public List getCompanyTypeList();
//... | true |
94b92f63372e244278020373775c05979b07cc73 | Java | ninjaframework/ninja-appengine | /ninja-appengine-module/src/main/java/ninja/appengine/AppEngineEnvironmentInterceptor.java | UTF-8 | 1,515 | 1.835938 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2012-2018-2014 the original author or authors.
*
* 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 ... | true |
47cb9f99c1b2db4a470af834536ade24a7ac503f | Java | flyingonion93/SDI_ws | /PR02_prj-rmi_Clients/src/client/ComputeTestClient.java | UTF-8 | 1,743 | 2.78125 | 3 | [] | no_license | package client;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.Serializable;
import java.rmi.Naming;
import java.rmi.RemoteException;
import interfaces.compute.ComputeServerInt;
import interfaces.compute.TaskInt;
import interfaces.echo.EchoInt;
public class... | true |
8b37b61ecbaca8bb3c9a2dc007705a956bcc8edd | Java | GmwEnterprise/Learn | /VueCrudDemo/vue-demo-crud/src/main/java/com/example/vuedemocrud/po/People.java | UTF-8 | 993 | 2.640625 | 3 | [] | no_license | package com.example.vuedemocrud.po;
public class People {
public static final byte SEX_MAN = 1;
public static final byte SEX_WOMAN = 2;
private Integer id;
private String name;
private Byte sex;
private String role;
@Override
public String toString() {
return "People {" +
... | true |
42ae31317548153f3e783c36cca267c0ba9c6911 | Java | lw-bthub/api-demo | /demo/java/src/main/java/com/bthub/apidemo/dto/WsMessage.java | UTF-8 | 422 | 2.390625 | 2 | [] | no_license | package com.bthub.apidemo.dto;
public class WsMessage<T> {
private String event;
private T data;
@Override
public String toString() {
return String.format("Message [event=%s, data=%s]", event, data);
}
public String getEvent() {
return event;
}
public void setEvent(String event) {
this.event = event;
... | true |
0fe9961266041a9725f4828713276ffa1837309d | Java | colorshifter/caaers | /caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/domain/LabLoad.java | UTF-8 | 4,498 | 2.140625 | 2 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*******************************************************************************
* Copyright SemanticBits, Northwestern University and Akaza Research
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caaers/LICENSE.txt for details.
******************************************... | true |
7d4742cf35599602e6c6366caef3d3da1c54c1b7 | Java | yogabraman/Simacol | /app/src/main/java/com/smart/simacol/Adapters/BookingAllAdapter.java | UTF-8 | 2,070 | 2.203125 | 2 | [] | no_license | package com.smart.simacol.Adapters;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.firebase.ui.d... | true |
aa368749a4b289a12b42b13f30ff3800f6719924 | Java | Akankshaanshu/CalculatorMaven | /src/main/java/com/devops/traing/jenkins/JenkinsCalculator.java | UTF-8 | 234 | 2.453125 | 2 | [] | no_license | package com.devops.traing.jenkins;
public class JenkinsCalculator {
public int addnumbers(int number1, int number2) {
return number1+number2;
}
public int subnumbers(int number1, int number2) {
return number1-number2;
}
}
| true |
0fed8cc1d3c7c9048671d4938fb4df52fde9ac97 | Java | sunweifengfeng/community | /src/main/java/life/kobefengfeng/community/community/exception/ICustomizeErrorCode.java | UTF-8 | 246 | 1.8125 | 2 | [] | no_license | package life.kobefengfeng.community.community.exception;
/**
* @Author KobeFL
* @Description TODO
* @Date 2021/6/14 17:41
* @Version 1.0
*/
public interface ICustomizeErrorCode {
String getMessage() ;
Integer getCode();
} | true |
38a0c0442efc154ecb2e71e3711072e4fa72e239 | Java | VonGriff/ADK | /Labb1/Konkordans.java | UTF-8 | 1,665 | 2.96875 | 3 | [] | no_license | import java.util.LinkedList;
import java.io.RandomAccessFile;
import java.io.IOException;
import java.io.FileNotFoundException;
public class Konkordans {
private static RandomAccessFile file;
private static Path
public Konkordans() {
int i;
}
public static void main(String[] args) throws I... | true |
81ed4645be9e5e0268a2ae0c853bbbae74a8af94 | Java | wirdakurnia/Deteksi-Hangeul | /app/src/main/java/com/wirnin/hanguldetection/Fragment/FragmentKalimat.java | UTF-8 | 6,086 | 1.890625 | 2 | [] | no_license | package com.wirnin.hanguldetection.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.firebase.ui.database.FirebaseRecyclerAdapter;
import com.firebase.ui.database.FirebaseR... | true |
1847f9f485b4039fafb17e40d06430f8f558b771 | Java | xabe/EJB_REMOTE_JBOSS | /ejb/src/main/java/es/xabe/arquitectura/ejb/RegistroEJBImpl.java | UTF-8 | 830 | 2.109375 | 2 | [] | no_license | package es.xabe.arquitectura.ejb;
import java.util.List;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor;
import es.xabe.arquitectura.... | true |
f71ecaeef0ca2eb7cdc2a55c49205134aeaae62e | Java | newtutorials/Jackson-Examples | /src/main/java/org/newtutorials/jackson/standard/JacksonSimpleExample.java | UTF-8 | 2,271 | 3.09375 | 3 | [] | no_license | package org.newtutorials.jackson.standard;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.newtutorials.jackson.standard.model.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Created by dani on 5/20/201... | true |
cb6159de20d4f994797d76e74f1b1c43cb2cbfc7 | Java | tracyly/WYCDemo | /app/src/main/java/com/weishop/test/mvp/MvpTestActivity.java | UTF-8 | 2,354 | 2.03125 | 2 | [] | no_license |
package com.weishop.test.mvp;
import android.os.Bundle;
import android.view.View;
import android.widget.AbsListView;
import android.widget.ListView;
import com.weishop.test.R;
import com.weishop.test.list.ListData;
import com.weishop.test.list.draglistview.ListViewAdapter;
import com.weishop.test.mvp.base.BaseMvpAct... | true |
a033c61891babbfea32d5e6937524ee935305502 | Java | format686/L2jOrg | /Gameserver/src/main/org.l2j.gameserver/org/l2j/gameserver/network/clientpackets/RequestRecipeShopManageList.java | UTF-8 | 1,198 | 2.265625 | 2 | [] | no_license | package org.l2j.gameserver.network.clientpackets;
import org.l2j.gameserver.enums.PrivateStoreType;
import org.l2j.gameserver.model.actor.instance.L2PcInstance;
import org.l2j.gameserver.network.serverpackets.ActionFailed;
import org.l2j.gameserver.network.serverpackets.RecipeShopManageList;
import java.nio.ByteBuffe... | true |
4f34bd7df9309982e4237e334312efc36ee8fa5e | Java | Ravibhushan222/Java | /Week4/src/Exception_handl/finally_.java | UTF-8 | 492 | 3.03125 | 3 | [] | no_license | package Exception_handl;
public class finally_ {
public static void main(String [] args){
int i = 5;
int j = 0;
// int k =i/j;
try {
int m=i/j;
}
catch(ArithmeticException e) {
System.out.println("can't divide zero");
System.out.pri... | true |
71cab37bb2fa7989c79c11fedace26487b289f4d | Java | shubham9415/ProgramsJava | /DoubleCheck.java | UTF-8 | 365 | 3.015625 | 3 | [] | no_license | package com.practice;
public class DoubleCheck {
public static void main(String[] args) {
/* Object d = new Double(123);
String s = (String)d;
System.out.println(s);*/
DoubleCheck check = new DoubleCheck();
check.printThis();
}
public void printThis(){
... | true |
e504c0a7df1b1dd980ddcc41d7adccdbfb162769 | Java | vaarcilal/ST0245-032 | /laboratorios/lab03/codigo/MainSearchBySubject.java | UTF-8 | 2,277 | 4.03125 | 4 | [] | no_license | import java.util.*;
import java.io.*;
/**
* This class contains the methods necessary to read doto from a .txt document, transform it into Student objects, add tem to an ArrayList data structure and search said
* data tructure by semester and subject.
*
* @author Isabel Piedrahita
* @version 24/03/2019
*/
publi... | true |
9b34ffe6ca8faf269c6fada8ec067c1af086965f | Java | hassanlatif/sqm-api | /src/com/stc/sqm/hajj/DatabaseAccess.java | UTF-8 | 10,974 | 2.625 | 3 | [] | no_license | package com.stc.sqm.hajj;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
i... | true |
ab55d1994a3a3a48377401c0ac27b6708ca76fec | Java | ManojReddyPothuganti/HackerRanker | /Algorithms/ChiefHooper.java | UTF-8 | 589 | 3.203125 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int[] a ... | true |
bd33e513329da6afea6165e8f900f88a18b8c2bd | Java | AlexanderUkhta/subscribegenerator | /src/main/java/com/a1s/subscribegeneratorapp/excel/WriteToExcel.java | UTF-8 | 8,815 | 2.421875 | 2 | [] | no_license | package com.a1s.subscribegeneratorapp.excel;
import com.a1s.subscribegeneratorapp.config.MsisdnAndExcelProperties;
import com.a1s.subscribegeneratorapp.model.ReportData;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.p... | true |
7088a471a67d7d032adcb0657d1eb9f2450e5de1 | Java | asifu9/myproject | /fullApp/server/src/main/java/com/share/master/data/service/UserCredentialService.java | UTF-8 | 580 | 1.90625 | 2 | [] | no_license | package com.share.master.data.service;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
import com.base.domain.UserCredential;
/**
* Created by jt on 1/10/17.
*/
import com... | true |
55b37b7093853f5eb5ebffc8b16442525d8e4f13 | Java | Ilya28/mFAL-IDE | /src/test/java/asmparser/LangParserTest.java | UTF-8 | 2,087 | 2.765625 | 3 | [] | no_license | package asmparser;
import bingenerator.commandinfo.MFALCommand;
import bingenerator.commandinfo.MFALCommandParam;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.*;
public class LangParserTest {
@Test
public void parseLine() {
//MFALCommand t... | true |
2377ec6e9bcdc16bff48101ae78e17bd96e6a0a8 | Java | tangjizhou/algorithm | /src/main/java/net/mshome/twisted/algorithm/leecode/GenerateParentheses.java | UTF-8 | 461 | 2.390625 | 2 | [] | no_license | package net.mshome.twisted.algorithm.leecode;
import java.util.Collections;
import java.util.List;
/**
* https://leetcode-cn.com/problems/generate-parentheses/
* 生成所有有效的括号组合
*
* @author tangjizhouchn@foxmail.com
* @since 2020/8/9
*/
public class GenerateParentheses {
public List<String> generateParenthesis... | true |
0bbbfb9b6cadf856f566fee0e35520f375ac26cf | Java | xgzsChris/questionnaire | /src/Model2/checkcode.java | UTF-8 | 2,101 | 2.34375 | 2 | [] | no_license | package Model2;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.awt.image.BufferedImage;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.io.ByteArra... | true |
38843f176ed3b4dd7a73eb0a99d12029d1b5076f | Java | tskulbru/TodoApp | /src/no/evry/todo/data/TodoItem.java | UTF-8 | 430 | 2.28125 | 2 | [] | no_license | package no.evry.todo.data;
public class TodoItem {
public String id;
public String title;
public String desc;
public boolean finished;
public TodoItem(String id, String title, String desc, boolean finished) {
this.id = id;
this.title = title;
this.desc = desc;
this.finished = finished;
}
public Tod... | true |
9e3103b04bedc3b683027acb85816c669789cd54 | Java | iamslash/learntocode | /leetcode3/SplitStringsbySeparator/MainApp.java | UTF-8 | 571 | 3.03125 | 3 | [] | no_license | // Copyright (C) 2023 by iamslash
import java.util.*;
// 30ms 20.00% 45.1MB 40.00%
// brute force
// O(N) O(N)
class Solution {
public List<String> splitWordsBySeparator(List<String> words, char separator) {
List<String> ans = new ArrayList<>();
for (String word : words) {
S... | true |
3dcbd8a72e553855ccbedac6ee075e8301108d0c | Java | khushboobajaj25/LeetCode-Problems | /src/LeetcodeProblems/LinkedList_Cycle.java | UTF-8 | 489 | 2.734375 | 3 | [] | no_license | package LeetcodeProblems;
public class LinkedList_Cycle {
}
class Solution141 {
public boolean hasCycle(ListNode head) {
ListNode slow,fast;
slow=fast=head;
while(fast!=null &&fast.next!=null && fast.next.next!=null)
{
slow=slow.next;
fast=fast.next.next;
... | true |
909e445e4d171b25f449ac381c3c075bd5b99249 | Java | dhananjay762/Test-Automation-Framework | /src/test/java/com/store/pages/ShoppingPage.java | UTF-8 | 1,225 | 2.203125 | 2 | [] | no_license | package com.store.pages;
import org.openqa.selenium.By;
import com.store.utility.Keywords;
public class ShoppingPage extends Keywords{
private By casualDressSideMenu = By.xpath("//ul[@class='tree dynamized']/li/a[normalize-space()='Casual Dresses']");
private By firstProduct = By.xpath("//ul[contains(@class, 'pr... | true |
3f20c1d483053299632c0d272e5a52b5993ffc7d | Java | sitimaeturoh/netbeans | /CollectionImpl/src/List/TestList.java | UTF-8 | 11,647 | 2.328125 | 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 List;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.util.List;
import java.util.ArrayList;
impo... | true |
985161e2f8a02a5920b7158f19b30d75a6dcd3b1 | Java | ilefotiv/progetto-ing-soft | /SimpleTwitterServer/src/server/hibernate___foundation/ENota.java | UTF-8 | 12,075 | 2.234375 | 2 | [] | no_license | /**
* "Visual Paradigm: DO NOT MODIFY THIS FILE!"
*
* This is an automatic generated file. It will be regenerated every time
* you generate persistence class.
*
* Modifying its content may cause the program not work, or your work may lost.
*/
/**
* Licensee: DuKe TeAm
* License Type: Purchased
... | true |
c3cf7b21b853a4a539f5f58b599c43a796b2c171 | Java | xumingyi/WanAndroid | /common/src/main/java/com/sgitg/common/common/OnStepperNavigationBarListener.java | UTF-8 | 311 | 1.695313 | 2 | [] | no_license | package com.sgitg.common.common;
/**
* 描述:
*
* @author 周麟
* @created 2018/3/12 14:09
*/
public interface OnStepperNavigationBarListener {
/**
* STEP组件下一步按钮状态回调
*
* @param enabled 是否可用
*/
void onChangeEndButtonEnabled(boolean enabled);
}
| true |
001a5da6aae3764d6c540638cfd4dbff75835ee5 | Java | sunlight3d/Aptech | /C2009i/Android/21-09-2022/app/src/main/java/nguyenvana/aprotrain/com/database/TblNotes.java | UTF-8 | 381 | 1.859375 | 2 | [] | no_license | package nguyenvana.aprotrain.com.database;
public class TblNotes {
public static final String TABLE_NAME = "tblNotes";
public static final String COLUMN_ID = "_id";
public static final String COLUMN_CONTENT = "content";
public static final String COLUMN_IMPORTANT = "isImportant";
public st... | true |
03a43549cfd70c4a6a72457b133f35de24884950 | Java | zongyangqu/DevelopTools | /app/src/main/java/com/quzy/coding/ui/activity/StaggeredGridActivity.java | UTF-8 | 5,038 | 2.109375 | 2 | [] | no_license | package com.quzy.coding.ui.activity;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
import com.coding.qzy.baselibrary.utils.AbToastUtil;
import com.coding.qzy.baselibrary.widget.refreshview.SpringView;
import com.coding.qzy.... | true |
44db0454c471d6bd0ee4df9924995d3add1e87f4 | Java | techgeeker/java | /java-test/src/com/reflection/VipUser.java | UTF-8 | 896 | 2.609375 | 3 | [] | no_license | package com.reflection;
public class VipUser extends User implements Comparable<VipUser> {
private Integer score;
private String vipNo;
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public String getVipNo() {
... | true |
f97402f9f088688320bdbcc6a1ba6fbbacaa1254 | Java | AirYoukai/an-ze-xian | /anZeXian/src/main/java/com/anzexian/demo/entity/extend/InsuranceServiceExtend.java | UTF-8 | 1,467 | 2.015625 | 2 | [] | no_license | package com.anzexian.demo.entity.extend;
import com.anzexian.demo.entity.InsuranceCompany;
public class InsuranceServiceExtend {
private InsuranceCompany insuranceCompany;
private String createTimeFrom;
private String createTimeTo;
private String orderByOne;
private String orderByTwo;
private ... | true |
dd48c3c773110acd58d2c13c10f4f91adc238d1b | Java | lfbermeo/fp-utpl-18-clases | /semana_6/src/Ejercicio_2.java | UTF-8 | 697 | 3.34375 | 3 | [] | no_license |
import java.util.Scanner;
public class Ejercicio_2 {
public static void main(String[] args) {
Scanner entrada = new Scanner (System.in);
String cadena_final;
int suma=0;
int edad;
int contador = 1;
cadena_final = String.format("%s\t%s\n","Edad", "Suma");
wh... | true |
620144bf7ad0cb8aaf1603e610b97b4340ea505e | Java | bellmit/origin | /family_order/src/soa/com/asiainfo/veris/crm/order/soa/group/groupTrans/action/qry/TransSnB2SnAction.java | UTF-8 | 669 | 1.773438 | 2 | [] | no_license |
package com.asiainfo.veris.crm.order.soa.group.groupTrans.action.qry;
import com.ailk.common.data.IData;
import com.asiainfo.veris.crm.order.pub.frame.bcf.util.IDataUtil;
import com.asiainfo.veris.crm.order.soa.frame.bcf.group.common.base.trans.ITrans;
public class TransSnB2SnAction implements ITrans
{
@Overrid... | true |
7b3facb7146486915505d1246b0a970bfff4ae6c | Java | masler77/json_jackson | /src/main/java/json/bindingWriter.java | UTF-8 | 2,254 | 2.84375 | 3 | [] | no_license | package json;
import java.io.File;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.... | true |
b28964f971eb5c7359e9c416512ea66f75d887a6 | Java | denghui1010/realtime-store | /src/main/java/com/goodow/realtime/store/CollaborativeString.java | UTF-8 | 9,362 | 2.15625 | 2 | [] | no_license | /*
* Copyright 2012 Goodow.com
*
* 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 |
34fdddef173c28db5b9ee9a77a3dfcf91e909360 | Java | TuyenHuynhCong/hocjava | /JavaCore/src/Mang_TimKiem/TimKiemPhanTu.java | UTF-8 | 1,666 | 3.421875 | 3 | [] | no_license | package Mang_TimKiem;
import java.util.Scanner;
public class TimKiemPhanTu {
public static void NhapMang(int M[])
{
Scanner sc=new Scanner(System.in);
for(int i=0;i<M.length;i++)
{
System.out.println("M["+i+"]=");
M[i]=sc.nextInt();
}
}
public static void XuatMang(int M[])
{
for(int i=0; i<M.len... | true |
2f019fddd6bd656291f31f991733b2ca6b82dea4 | Java | anshulBharath/CISC230-classwork | /Lab10/src/Misc.java | UTF-8 | 953 | 3.6875 | 4 | [] | no_license | import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.ListIterator;
import java.util.Scanner;
public class Misc {
public void method1() {
System.out.println("How now brown cow");
}
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int in = 0;
... | true |
ff91aa185d472183bc996166112cd8045b72a7f3 | Java | bellmit/java-zk-pipeline-spo | /spo/spoJdbcDal/src/com/vtb/domain/TaskStatusReturn.java | UTF-8 | 1,496 | 2.09375 | 2 | [] | no_license | package com.vtb.domain;
import java.util.Date;
import ru.masterdm.compendium.domain.crm.StatusReturn;
public class TaskStatusReturn extends VtbObject {
private static final long serialVersionUID = 1L;
private StatusReturn statusReturn;
private String statusReturnText;
private Date dateReturn;
private Long idUs... | true |
59a32dc6f816bd01a3b9e7ea7a61f8b4c3e0efbc | Java | tmntduke/Pattern | /src/Proxy/StaticProxy.java | UTF-8 | 447 | 2.796875 | 3 | [] | no_license | package Proxy;
/**
* Created by tmnt on 2017/4/5.
*/
public class StaticProxy implements Star {
private Real real;
public StaticProxy(Real real) {
this.real = real;
}
@Override
public void prepare() {
System.out.println("proxy prepare");
}
@Override
public void sin... | true |
db3855dd7e76e2fd86fc7c15644f7c465ef767d5 | Java | MIMteamQuizMaster/Quizmaster | /src/main/java/controller/fx/GradeFX2.java | UTF-8 | 3,735 | 2.671875 | 3 | [] | no_license | package controller.fx;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.scene.control.Label;
import model.Grade;
import java.time.LocalDate;
public... | true |
70881536464f8a102d8302571fa8fc3d43d9fe67 | Java | tianxincc/ecommerce | /src/main/java/com/ecommerce/service/PromoService.java | UTF-8 | 228 | 1.703125 | 2 | [] | no_license | package com.ecommerce.service;
import com.ecommerce.service.model.PromoModel;
public interface PromoService {
//根据itemid获取即将进行的和正在进行的活动
PromoModel getPromoByItemId(Integer itemId);
}
| true |
50863a0eb316748f8c6fb7b3467e3ad4f951f6af | Java | EAGzzyCSL/Smartable2 | /app/src/main/java/adapter/Adapter_main_viewPager_kind.java | UTF-8 | 3,924 | 2.421875 | 2 | [] | no_license | package adapter;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import an... | true |
0a8c8fc00766086704be8bbf4118bac7a7295ace | Java | mlwmlw/jetris | /place.java | UTF-8 | 2,365 | 2.921875 | 3 | [] | no_license | public class place
{
boolean place[][]=new boolean[12][19];//場地
Player player;//方塊消掉時呼叫小朋友
place()
{
for(int i=0;i<12;i++)
{
for(int j=0;j<19;j++)
{
if(i==0 ||i==11)
place[i][j]=true;
else
{
if(j==18)
place[i][j]=true;
}
}
}
}
public void ... | true |
dbcc158f9aead89f371d6dbe5688c751e9e653d6 | Java | anPerez4120/MetalCrawler | /app/src/main/java/csc472/depaul/edu/metalcrawler/GameComponents/CellularAutomata/Room.java | UTF-8 | 2,310 | 2.953125 | 3 | [] | no_license | package csc472.depaul.edu.metalcrawler.GameComponents.CellularAutomata;
import android.support.annotation.NonNull;
import java.util.ArrayList;
import java.util.List;
public class Room implements Comparable<Room>
{
public List<Coord> tiles; // get pr set
public List<Coord> edgeTiles;
public List<Room> co... | true |
6190d33552726a2a7beda275e6f138dfa30d6ccf | Java | jcarreracpp/CS245Program1 | /BSet.java | UTF-8 | 1,543 | 2.546875 | 3 | [] | no_license | package cs245guiproject1;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.*;
public class BSet extends JButton{
public BSet(){}
public JButton back(){
JButton temp = new JButton();
temp.setText("Back");
temp.setActionCommand("MM");
... | true |
12156b657917dbbe7eaa24af422c72127253e51d | Java | wajda/web-harvest | /webharvest-core/src/main/java/org/webharvest/runtime/processors/XsltProcessor.java | UTF-8 | 4,366 | 1.710938 | 2 | [
"BSD-2-Clause"
] | permissive | /* Copyright (c) 2006-2007, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copy... | true |
8f0bc0de029dbffd289c6db1d5baa709c2f095bf | Java | Bleink/hgsm | /hotelguestmanagementsystem/src/main/java/edu/miu/cs/cs425/seniorproject/hotelguestmanagementsystem/config/WebSecurityConfig.java | UTF-8 | 3,491 | 2.140625 | 2 | [] | no_license | package edu.miu.cs.cs425.seniorproject.hotelguestmanagementsystem.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.dao.DaoAuthenticat... | true |
41d83872e03c7adc7f144a0bcafbf74fe68b25c8 | Java | MeesterVers/GroepProject4-SIE-V1D | /src/model/presentie/Presentie.java | UTF-8 | 580 | 2.890625 | 3 | [] | no_license | package model.presentie;
import model.persoon.Student;
public class Presentie {
private Student student;
private String status;
public Presentie(Student student, String status) {
this.student = student;
this.status = status;
}
public Student getStudent() {
return student;... | true |
f07270a0df0a8473d286122f7cb558044c8c80e1 | Java | suyash-capiot/bookingEngine | /src/main/java/com/coxandkings/travel/bookingengine/orchestrator/holidays/HolidaysSearchAsyncProcessor.java | UTF-8 | 8,358 | 1.976563 | 2 | [] | no_license | package com.coxandkings.travel.bookingengine.orchestrator.holidays;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.w3... | true |
ea157b4f61b64bbbba8744e5a6e97e31e3ac616f | Java | MetallFoX/Evolution | /src/main/java/ru/cardgame/GameDiscardPile.java | ISO-8859-6 | 1,001 | 3.03125 | 3 | [] | no_license | package ru.cardgame;
import java.util.ArrayList;
import java.util.Collection;
/**
* .
* <p/>
* Created by MetallFoX on 21.11.2015.
*/
public class GameDiscardPile implements DiscardPile {
private int size;
private Collection<Card> cards;
public GameDiscardPile() {
cards = new ArrayList<>();
... | true |
293008ed061f5863338f19e0cf29209e54f47dc9 | Java | yishuai10/JavaDesignPatterns | /Chapter09_Abstract Factory/after/EmployeeDAO.java | UTF-8 | 968 | 2.625 | 3 | [] | no_license | package AbstractFactory.after;
import AbstractFactory.after.IDBCommand;
import AbstractFactory.after.IDBConnection;
import AbstractFactory.after.IDataReader;
import AbstractFactory.after.*;
import AbstractFactory.others.EmployeeDO;
import java.util.ArrayList;
import java.util.List;
/**
* 下面是最终的设计方案,把同类型的数据库处理操作绑定在同... | true |
69590bc7a5976c4e722150a1bfee19228b5f8697 | Java | mgijax/fedatamodel | /src/mgi/frontend/datamodel/ProbeCloneCollection.java | UTF-8 | 1,004 | 2.546875 | 3 | [] | no_license | package mgi.frontend.datamodel;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* ProbeCloneCollection
* @author mhall
* Returns a collection of probes and clones.
*/
@Entity
@Table (name="probe_clone_collection")
public class Prob... | true |
dc16bc5c4d3fdd47ded55e81ac76cbdd81c41b30 | Java | crom52/all4pet | /src/main/java/com/springboot/ServiceController/ViewController.java | UTF-8 | 1,632 | 2.375 | 2 | [] | no_license | package com.springboot.ServiceController;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.ann... | true |
721ea177cb976e500201782df7e5aecfc8c5d2aa | Java | buitoan89/codegym_Buivantoan | /chuyendoitiente/src/controllers/ChuyenDoiTien.java | UTF-8 | 306 | 1.8125 | 2 | [] | no_license | package controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class ChuyenDoiTien {
@GetMapping("/chuyentien")
public String showform(){
System.out.println("AAA");
return "chuyentien";
}
}
| true |
83c56f9dffd0d4b74025fdfcfae93d6f9c473b4a | Java | rcoolboy/guilvN | /app/src/main/java/com/p118pd/sdk/O0O0O00.java | UTF-8 | 765 | 1.835938 | 2 | [] | no_license | package com.p118pd.sdk;
import org.jetbrains.annotations.NotNull;
/* renamed from: com.pd.sdk.O0O0O00 */
public final class O0O0O00 extends O0OO0<double[]> {
public final double[] OooO00o;
public O0O0O00(int i) {
super(i);
this.OooO00o = new double[i];
}
public int OooO00o(@NotNull d... | true |
13ed8191db2ae44e1648849ba5095224f37b98be | Java | Chicachu/Word-Frequency | /src/HashTable.java | UTF-8 | 4,236 | 3.328125 | 3 | [] | no_license | public class HashTable {
private Cell[] my_table;
private int TABLE_SIZE = 9973;
private int[] polyIndex;
private int cells_used = 0;
public HashTable() {
my_table = new Cell[TABLE_SIZE];
initializePolynomialIndex();
}
/**
* Uses hashing function 1.
* @param the_word The word to be added.
* @param ... | true |
0d7fdff74079fd741527ee86a510d604c566608d | Java | kzubrinic/futura-radionice-java | /FuturaRadioniceJava/src/r05/rjesenja_zadataka/Zadatak3.java | WINDOWS-1250 | 2,623 | 3.46875 | 3 | [] | no_license | package r05.rjesenja_zadataka;
import java.io.BufferedReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.net.URLConnection;
import java.util.Scanner;
/**
* @author Krunoslav ubrini
* 21. tra 2015.
*/
public c... | true |
503ebfa574ea3511d66c2a02a9c7e05213ee604b | Java | treenewbi/groot | /groot/src/main/java/com/huangwu/designmode/behavior/AttackA.java | UTF-8 | 317 | 2.484375 | 2 | [] | no_license | package com.huangwu.designmode.behavior;
/**
* @Package: com.huangwu.designmode.behavior
* @Author: huangwu
* @Date: 2018/7/11 22:03
* @Description:
* @LastModify:
*/
public class AttackA implements IAttackBehavior {
@Override
public void attack() {
System.out.println("远程攻击");
}
}
| true |
698080e36a15f42e2fff8dca5213334d78d9997b | Java | erickrocha/com.rochatec.athena | /core/business/src/main/java/com/rochatec/athena/facade/impl/SupplyFacadeImpl.java | UTF-8 | 2,964 | 2.15625 | 2 | [] | no_license | package com.rochatec.athena.facade.impl;
import java.util.Calendar;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import com.rochatec.athena.eao.local.ShipperEaoLocal;
import com.rochatec.athena.eao.local.SupplierEaoLocal;
import com.rochatec.athena.facade.local.SupplyFacadeLocal... | true |
d634c76dd5c9aa1fddf5d98c4b456399e75d3fef | Java | tenebrius1/tp | /src/main/java/seedu/address/model/person/Student.java | UTF-8 | 612 | 2.828125 | 3 | [
"MIT"
] | permissive | package seedu.address.model.person;
import static seedu.address.commons.util.CollectionUtil.requireAllNonNull;
import java.util.Set;
import seedu.address.model.tag.Tag;
/**
* Represents a Student in CLITutors.
* Guarantees: details are present and not null, field values are validated, immutable.
*/
public class ... | true |
d6d2c5ad6057de2eccdaf6fb815d852985191161 | Java | FeehAvelar/POOJavaCursoVideo | /POO/CursoEmVideo/src/Aula13/Aula13.java | UTF-8 | 266 | 2.1875 | 2 | [] | no_license | package Aula13;
public class Aula13 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Cachorro c = new Cachorro();
c.reagir("Ola");
c.reagir(11, 45);
c.reagir(19, 00);
c.reagir(true);
c.reagir(false);
}
}
| true |
ecd388f75203d52a067ca4dd603286a1406e6646 | Java | Newbiepeople/Newbie | /struts2/src/com/helloweenvsfei/struts2/bean/Person.java | UTF-8 | 1,265 | 2.46875 | 2 | [] | no_license | package com.helloweenvsfei.struts2.bean;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
public class Person {
private Integer id;
private String account;
private String name;
private Date birthday;
private Timestamp createDate = new Timestamp(System.curre... | true |
d0ceba2e5223d467da174f58dd8ec0b64557ed23 | Java | oysteinhaune/TicTackToe | /src/com/company/TicTacToeProgram.java | UTF-8 | 4,761 | 3.3125 | 3 | [] | no_license | package com.company;
import java.util.Scanner;
public class TicTacToeProgram {
private TicTacToe ticTacToe;
private String activeplayer;
private String playersymbol;
private Scanner scanner;
public TicTacToeProgram() {
this.ticTacToe = new TicTacToe();
this.activeplayer = "Player... | true |
04e88d10a1d19fe80e4c4d192c2e0c6ff0024c95 | Java | douglasapolinario/smart-school-rest | /src/main/java/br/com/smartschool/business/ResponsavelBusinessImpl.java | UTF-8 | 4,208 | 2.390625 | 2 | [] | no_license | package br.com.smartschool.business;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.inject.Inject;
import static br.com.smartschool.business.BusinessResponse.BusinessResponseStatus.*;
import br.com.smartschool.dao.Respon... | true |
ffc752fb8208ab495ca3a880cc721f6292d7da49 | Java | AlekseiNovoselov/zerkalosteklo | /src/main/java/database/ImageDataSet.java | UTF-8 | 952 | 2.703125 | 3 | [] | no_license | package database;
public class ImageDataSet {
private Long id;
private String name;
private String date_of_create;
private String album;
public ImageDataSet(long id, String name, String date_of_create, String album) {
this.id = id;
this.name = name;
this.date_of_create = da... | true |
30375ae8fc3ee32767f84084d8d67bda8ce35f79 | Java | zyot249/Java | /JavaWebTopica/Exercises/week1/ConvertColor/src/Test.java | UTF-8 | 258 | 2.4375 | 2 | [] | no_license | public class Test {
public static void main(String[] args) {
Convert convert = new Convert();
try {
convert.readBitmapImage("inputimage.bmp");
} catch (Exception e) {
e.printStackTrace();
}
}
}
| true |
c1f1fd3ba73344fa63ea26ed90811d1cb7892bf8 | Java | Dhanam22/07-09-2021-Assignment | /Book Management/BookImplement.java | UTF-8 | 533 | 2.09375 | 2 | [] | no_license | package Book;
import java.sql.Connection;
import java.util.List;
import Book.Book;
public interface BookImplement {
public static final String jdbcurl="jdbc:mysql://localhost:3306/Book";
public static final String driverclass="com.mysql.cj.jdbc.Driver";
public static final String username="Devi";
public static... | true |
b3048df0ba76109ff11aa920fded3a095b46664d | Java | astaputhra/SeqAnalysis | /com/project/seqAnalysis/algorithms/clustering/optics/DoubleArrayOPTICS.java | UTF-8 | 2,732 | 2.875 | 3 | [] | no_license | package com.project.seqAnalysis.algorithms.clustering.optics;
import java.util.Collections;
import java.util.List;
import com.project.seqAnalysis.datastructures.kdtree.KNNPoint;
import com.project.seqAnalysis.patterns.cluster.DoubleArray;
/* This file is copyright (c) 2008-2015 Philippe Fournier-Viger
*
*... | true |
c7dfb1967313cf3ece4a8f0488fbc748f325de3f | Java | jorge-luque/hb | /sources/com/criteo/publisher/model/C2452m.java | UTF-8 | 1,936 | 1.828125 | 2 | [] | no_license | package com.criteo.publisher.model;
import com.criteo.publisher.p054a0.C2330h;
import com.criteo.publisher.p054a0.C2338m;
import com.criteo.publisher.p054a0.C2345t;
import com.criteo.publisher.p058q.C2506d;
import com.criteo.publisher.p066y.C2580a;
import java.util.ArrayList;
import java.util.List;
import java.util.co... | true |
21355800401213d7582edd4d262298b166083966 | Java | supermanxkq/projects | /SSI2/src/com/ssi/stu/util/CellStyle.java | UTF-8 | 2,125 | 2.546875 | 3 | [] | no_license | package com.ssi.stu.util;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.util.HSSFColor;
public class CellStyle {
/**
*@MethodName:createCe... | true |
bed2dd82b1710a5e3d51a2390a989272169bbf8b | Java | poorneshv15/BMSHostel | /app/src/main/java/com/psps/projects/bmshostel/MyProfileFragment.java | UTF-8 | 6,170 | 2.3125 | 2 | [] | no_license | package com.psps.projects.bmshostel;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import an... | true |
1386512c84236a7304e742efd64c8d1dc6eaae57 | Java | toandrew/FactoryTool | /app/src/main/java/com/xiaoyezi/midicore/factorytool/stability/StabilityPresenter.java | UTF-8 | 8,021 | 2.15625 | 2 | [] | no_license | package com.xiaoyezi.midicore.factorytool.stability;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.Log;
import com.xiaoyezi.midicore.factorytool.data.MiDiDataRepository;
import com.xiaoyezi.midicore.factorytool.data.MiDiDataRepository.TestData;
import com.xiaoyezi.midi... | true |
a233e7d9a2d7ba197f82257fbd301573852e561b | Java | odiszapc/stem | /components/shared/src/main/java/org/stem/api/request/ApproveNodeRequest.java | UTF-8 | 1,327 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2014 Alexey Plotnik
*
* 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 ... | true |
5e9c2421be29d8c416602e742de9dd070add060c | Java | dgrigory/Java2DB | /src/main/java/com/github/collinalpert/java2db/services/BaseService.java | UTF-8 | 28,344 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package com.github.collinalpert.java2db.services;
import com.github.collinalpert.java2db.annotations.DefaultIfNull;
import com.github.collinalpert.java2db.database.DBConnection;
import com.github.collinalpert.java2db.entities.BaseEntity;
import com.github.collinalpert.java2db.exceptions.IllegalEntityFieldAccessExcepti... | true |
e4ff01fb3ee28ca190154aac976b6b2ca3e2eca0 | Java | wumin123150/wumin | /wumin-common/src/main/java/com/wumin/common/security/shiro/WeixinToken.java | UTF-8 | 1,029 | 2.328125 | 2 | [] | no_license | package com.wumin.common.security.shiro;
import org.apache.shiro.authc.HostAuthenticationToken;
public class WeixinToken implements HostAuthenticationToken {
private String openId;
private String host;
public WeixinToken() {
}
public WeixinToken(String openId) {
this(openId, null);
}
public WeixinToke... | true |
4ea1e1b9a6b4f4c25d191154349e7db93b01ab62 | Java | svennjegac/FER-java-opjj | /hw09-0036479615/src/hr/fer/zemris/java/raytracer/RayCaster.java | UTF-8 | 2,798 | 2.9375 | 3 | [] | no_license | package hr.fer.zemris.java.raytracer;
import hr.fer.zemris.java.raytracer.model.IRayTracerProducer;
import hr.fer.zemris.java.raytracer.model.IRayTracerResultObserver;
import hr.fer.zemris.java.raytracer.model.Point3D;
import hr.fer.zemris.java.raytracer.model.Ray;
import hr.fer.zemris.java.raytracer.model.Scene;
impo... | true |
f0d4f43246f03037dbef6df916a2423a9f9ac12a | Java | Jiangyi/StoryTime | /core/src/com/jxz/notcontra/entity/Alien.java | UTF-8 | 2,235 | 2.5 | 2 | [] | no_license | package com.jxz.notcontra.entity;
import com.badlogic.gdx.math.MathUtils;
import com.jxz.notcontra.animation.AnimationEx;
import com.jxz.notcontra.animation.SpriteEx;
import com.jxz.notcontra.handlers.AudioHelper;
/**
* Created by Samuel on 01/06/2015.
* First ranged AI monster.
*/
public class Alien extends Range... | true |
272291f8fcfb9819ae514a0ca21ef8768478aa98 | Java | nanter1986/chaniagameB | /app/src/main/java/chaniagame/nanter1986/com/chaniagame/akrotiri/AkrotiriTen.java | UTF-8 | 2,104 | 1.992188 | 2 | [] | no_license | package chaniagame.nanter1986.com.chaniagame.akrotiri;
import android.view.View;
import chaniagame.nanter1986.com.chaniagame.JukeBox;
import chaniagame.nanter1986.com.chaniagame.R;
import chaniagame.nanter1986.com.chaniagame.RoomMaker;
import chaniagame.nanter1986.com.chaniagame.stories.RingStory;
import chan... | true |
44e652ade44bb70a0df46e5f0006e149d1f00857 | Java | zhangliangnbu/android-develop-art_study | /app/src/main/java/com/tech/heathcilff/androiddevelopart/Intents.java | UTF-8 | 1,348 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package com.tech.heathcilff.androiddevelopart;
import android.content.Context;
import android.content.Intent;
import com.tech.heathcilff.androiddevelopart.aidl.BookManagerActivity;
import com.tech.heathcilff.androiddevelopart.messenger.MessengerActivity;
import com.tech.heathcilff.androiddevelopart.provider.BookProvi... | true |
a88637a05f67bbdbe479ae98cdb95c3d6a0b7f0e | Java | boomya/practice | /test-case/src/main/java/net/shan/practice/usage/App.java | UTF-8 | 390 | 2.078125 | 2 | [] | no_license | package net.shan.practice.usage;
/**
* Created by sam.js on 14-1-13.
*/
public class App {
public static void main(String[] args){
System.out.println("a=====================");
UsageStatic us = new UsageStatic();
UsageStatic us2 = new UsageStatic();
UsageStatic us3 = new UsageSta... | true |
fa6beb996cea86646f7a40f0de8f40de74801d5b | Java | gg15137/s2-easy-buy | /src/com/buy/web/HomeServlet.java | UTF-8 | 1,296 | 2.1875 | 2 | [] | no_license | package com.buy.web;
import com.buy.entity.EasybuyProductCategory;
import com.buy.service.product.IProductCategoryService;
import com.buy.service.product.ProductCatrgoryServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.s... | true |
8590b3530f2d1b3af3ddacf3749f48574be6efa7 | Java | osivia/toutatice-cms | /toutatice-portail-cms-nuxeo-web/src/main/java/fr/toutatice/portail/cms/nuxeo/portlets/customizer/CMSCustomizer.java | UTF-8 | 1,425 | 1.898438 | 2 | [] | no_license | /*
* (C) Copyright 2014 Académie de Rennes (http://www.ac-rennes.fr/), OSIVIA (http://www.osivia.com) and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distributi... | true |
88fda714504f05f7e75a8b18f0e30b49da3a5ffb | Java | kakaxicm/SignSdk | /qicode-sign/src/main/java/com/qicode/mylibrary/model/ChargeResponse.java | UTF-8 | 16,895 | 1.976563 | 2 | [] | no_license | package com.qicode.mylibrary.model;
import java.util.List;
/**
* Created by star on 15/10/24.
*/
public class ChargeResponse extends BaseResponse {
private ResultEntity result;
public void setResult(ResultEntity result) {
this.result = result;
}
public ResultEntity getResult() {
r... | true |
fc961bde12934f305401aba32d8724e8ecbdc4ba | Java | ruhimbazabertin/springWeb | /src/main/java/com/spring/spring5webapp/repository/BookRepository.java | UTF-8 | 224 | 1.734375 | 2 | [] | no_license | package com.spring.spring5webapp.repository;
import com.spring.spring5webapp.model.Book;
import org.springframework.data.repository.CrudRepository;
public interface BookRepository extends CrudRepository<Book, Integer>{
}
| true |
c3e829c819f87f09649c10b2b891b9145fac22c9 | Java | StefanoRUsai/Progetto_Ium | /app/src/main/java/com/example/st3/coinquiapp/activity/Turni.java | UTF-8 | 7,967 | 2.28125 | 2 | [] | no_license | package com.example.st3.coinquiapp.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
imp... | true |
2c0508bcfb7cf9e2ff07b63bf8306e7f66a58cf6 | Java | KNOLSKAPE/kaltura-video-player-ui-android | /kalturavideoplayer/src/main/java/com/knolskape/kalturavideoplayer/kaltura/KalturaVideoPlayer.java | UTF-8 | 24,600 | 1.65625 | 2 | [] | no_license | package com.knolskape.kalturavideoplayer.kaltura;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.PorterDuff;
import android.os.Handler;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
import android.widget.FrameLayout;
impor... | true |