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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
9abf8bdaad08c69b17784e76924cd6e24ec7b968 | Java | shireeshamonduti/Testing-1 | /src/test/java/pageObjectsPackage/LoginPage.java | UTF-8 | 1,405 | 2.90625 | 3 | [] | no_license | /*
* This is the page class for login page.
* All the methods defined here can be re-used to find the web element in login page and perform actions.
*/
package pageObjectsPackage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.testng.Reporter;... | true |
0379a0e650738f867eb0291b4d56211d71178fbe | Java | thomasuster/haXe-plugin | /src/com/intellij/plugins/haxe/components/HaxeCompilerLoader.java | UTF-8 | 866 | 1.953125 | 2 | [] | no_license | package com.intellij.plugins.haxe.components;
import com.intellij.openapi.compiler.CompilerManager;
import com.intellij.openapi.components.AbstractProjectComponent;
import com.intellij.openapi.project.Project;
import com.intellij.plugins.haxe.HaxeFileType;
import com.intellij.plugins.haxe.compilation.MakeHaxeCompile;
... | true |
e4e22a13d1b88a18188ae28a47664244ec93abc6 | Java | qq8803128/DroidGameSdk | /support-common/src/main/java/droid/game/common/concat/Concat.java | UTF-8 | 1,144 | 2.734375 | 3 | [] | no_license | package droid.game.common.concat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static droid.game.common.util.UIThreadHelper.runNow;
public final class Concat {
private List<Function> serials = new ArrayList<>();
public static Concat create() {
return new Concat... | true |
b1cbab7cc670e50b08aeb20fcae3f2d67b62f435 | Java | sharfaraz/TrainingTracker | /TTT/src/com/att/ttt/entity/Tower.java | UTF-8 | 835 | 2.140625 | 2 | [] | no_license | package com.att.ttt.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="Tower")
public class Tower {
@Id
@GeneratedValue(strategy=GenerationType.... | true |
391a36d98e0db8346e0773952969569ada2bb206 | Java | axeljeremy7/javacode | /joptionPane1.java | UTF-8 | 2,594 | 3.46875 | 3 | [] | no_license |
package lab2;
import javax.swing.JOptionPane;
/**
*
* @author Axel
*/
public class LAB2 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char pkgType;
double hours, amountDue1,amountDue2... | true |
4d7c49087043907c427da8d8a6fa15a226db12a5 | Java | GalRab/CouponProject | /src/main/beanes/Company.java | UTF-8 | 2,034 | 2.984375 | 3 | [] | no_license | package main.beanes;
import main.Exceptions.CouponSystemException;
import main.db.DBDAO.CompanyDBDAO;
public class Company {
private long id;
private String compName;
private String password;
private String email;
public Company(){
super();
this.id = Long.MIN_VALUE; // for make sure the id is set only o... | true |
9c51290cae4fdc9c910b9a1ead5b7bd98bea97da | Java | Dryra/Sosanimaux | /src/sos/InterfaceAdopterAnimal.java | UTF-8 | 8,191 | 2.21875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* InterfaceAdopterAnimal.java
*
* Created on 26 févr. 2014, 13:22:58
*/
package sos;
import Dao.AnimalDAO;
import Entities.Animal;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/**... | true |
7a8cf8b4bd25a7f3650712fbed6a46419859f93d | Java | chengzy9627/mall | /mall-pms/src/main/java/io/renren/modules/platform/dao/AttrGroupAttrRelationDao.java | UTF-8 | 409 | 1.5625 | 2 | [] | no_license | package io.renren.modules.platform.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.platform.entity.PlatformAttrAttrGroupRelationEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AttrGroupAttrRelationDao extends BaseMapper<PlatformAttrAttrGroupRelationE... | true |
baf6aaab89786de4c86f0b4ad527422c8a2ee0e2 | Java | cnheider/AndroidVision | /app/src/main/java/dk/aivclab/demo/usecases/detection/Constants.java | UTF-8 | 1,396 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | package dk.aivclab.demo.usecases.detection;
import org.pytorch.IValue;
import org.pytorch.Tensor;
import dk.aivclab.demo.usecases.detection.categories.PascalVoc;
class Constants {
static final int INPUT_TENSOR_WIDTH = 224;
static final int INPUT_TENSOR_HEIGHT = 224;
static final int NUM_DETECTIONS = 2;
st... | true |
88e28f97736fb45af9eeab2b4869e1e2ac549418 | Java | antailbaxt3r/ZConnect | /app/src/main/java/com/zconnect/zutto/zconnect/adapters/InfoneContactsRVAdapter.java | UTF-8 | 20,709 | 1.617188 | 2 | [] | no_license | package com.zconnect.zutto.zconnect.adapters;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Handler;
import android.support.annotation.NonNull;
import ... | true |
ad783b32e4043f411af9c08b74cdbef3cb6ed129 | Java | h0r5t/duke | /duke/src/core/TaskChopTree.java | UTF-8 | 662 | 2.1875 | 2 | [] | no_license | package core;
public class TaskChopTree extends TaskChain {
public TaskChopTree(Coords3D targetTrunk) {
super(TaskType.TREE_CHOPPING);
Zone2D dummyZone = new Zone2D(0, 0, 0, SelectionType.TYPE_DESIGNATION);
targetTrunk.getTile().select(dummyZone);
queueTask(new TaskMove(getReachableSurroundingTiles(t... | true |
0d38c7780c72861a9d91b80c4aaad0c59463eec9 | Java | leadware/kafka-embedded | /kafka-embedded-spring-boot-sample/src/main/java/net/leadware/kafka/sample/KafkaEmbeddedSampleApplication.java | UTF-8 | 1,405 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | package net.leadware.kafka.sample;
/*-
* #%L
* Apache Kafka Embedded Server
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2013 - 2019 Leadware
* %%
* 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 L... | true |
bb466f51d1c5a3a9de748b5f0945a0a6f50d0538 | Java | rw7/legacy | /ocl20forEclipse/eclipse/tudresden.ocl20.pivot.tools.transformation.pivot2sql/src/tudresden/ocl20/pivot/tools/transformation/pivot2sql/util/NamedElementComparator.java | UTF-8 | 476 | 2.265625 | 2 | [] | no_license | package tudresden.ocl20.pivot.tools.transformation.pivot2sql.util;
import java.util.Comparator;
import tudresden.ocl20.pivot.pivotmodel.NamedElement;
public class NamedElementComparator implements Comparator<NamedElement> {
public int compare(NamedElement o1, NamedElement o2) {
String s1 = o1.getName(... | true |
c3fb1587c9ed9a1d9fcb66ee800e40f2cfffa96d | Java | ysncakir/Spring2019JavaPractice | /SRC/day42_OOP_Encapsulation/Test.java | UTF-8 | 513 | 2.9375 | 3 | [] | no_license | package day42_OOP_Encapsulation;
public class Test {
public static void main(String[] args) {
TestData obj = new TestData();
// System.out.println(obj.Name); // data was private
System.out.println(obj.getName());
String str = obj.getName();
System.out.println(obj.getID());
int a = obj.getI... | true |
19057b068361578a094cf271c906d45cf5dc323d | Java | matshou/commons | /src/main/java/io/yooksi/jute/commons/logger/AppenderType.java | UTF-8 | 2,638 | 2.375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright [2019] [Matthew Cain]
*
* 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 agree... | true |
c3cacc8481a32e6e9320fb26b3996f6ac0575df1 | Java | BuiltBrokenModding/SBM-WoolAnvil | /src/main/java/com/builtbroken/woolanvil/lib/mod/JeiPlugin.java | UTF-8 | 512 | 1.820313 | 2 | [
"MIT"
] | permissive | package com.builtbroken.woolanvil.lib.mod;
import com.builtbroken.woolanvil.WoolAnvils;
import mezz.jei.api.IModPlugin;
import mezz.jei.api.IModRegistry;
import mezz.jei.api.JEIPlugin;
import mezz.jei.api.recipe.VanillaRecipeCategoryUid;
import net.minecraft.item.ItemStack;
@JEIPlugin
public class JeiPlugin implement... | true |
9f06835409b00d3c8581be2f5d67e4730545e911 | Java | VivianeGalvao/Iniciacao-Cientifica | /references/Implementacoes/PSwarmC++/codigo_cec/problems/F20HartmanFamilyProblem.java | UTF-8 | 2,544 | 2.421875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package clonalg_metamodel.problems;
import clonalg_metamodel.base.Problem;
import clonalg_metamodel.util.Configuration;
/**
*
* @author hedersb
*/
public class F20HartmanFamilyProblem extends Problem {
private... | true |
f1dbd9f9f0e7dfeefa16bdfe2de2118ea382f593 | Java | Dropth/GeneWeb | /InfoBulle.java | UTF-8 | 1,976 | 2.65625 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTex... | true |
4c6bdc208df113babd09d6759b5970c4e4d45c14 | Java | apoorvnaik/MyBillr-java | /example/com/mybillr/db/example/DebtDaoSample.java | UTF-8 | 3,360 | 2.59375 | 3 | [] | no_license | /*
* This source file was generated by FireStorm/DAO.
*
* If you purchase a full license for FireStorm/DAO you can customize this header file.
*
* For more information please visit http://www.codefutures.com/products/firestorm
*/
package com.mybillr.db.example;
import java.math.*;
import java.util.Date;
impor... | true |
03240c4f979c662aec5ebd061472414112773522 | Java | IseBaseSolutions/TourPilotAS | /app/src/main/java/isebase/cognito/tourpilot_apk/Templates/AdditionalPatientAdapter.java | UTF-8 | 4,471 | 2.328125 | 2 | [] | no_license | package isebase.cognito.tourpilot_apk.Templates;
import isebase.cognito.tourpilot_apk.R;
import isebase.cognito.tourpilot_apk.Data.Patient.Patient;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.V... | true |
48c0fe4f51faf4f988fc76efd7e7a25a8aa597ba | Java | balajisharath55/JavaBySharath | /sharathwork/src/objectrepositoryofactitime/Logout.java | UTF-8 | 273 | 2.0625 | 2 | [] | no_license | package objectrepositoryofactitime;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class Logout {
@FindBy(xpath="//a[text()='Logout']")
WebElement logoutbutton;
public void logout(){
logoutbutton.click();
}
}
| true |
4e16d4caf5b7e748ea55058d0de5e267a493bdf0 | Java | patricklin2018/Blog | /algorithm/高级排序(希尔、归并、快排、堆排)/code/QuickSort2Ways.java | UTF-8 | 1,862 | 3.5625 | 4 | [] | no_license | /**
* @Author: patrick-mac
* @Date: 2018/9/14 16:22
* @Description:
*/
public class QuickSort2Ways {
private QuickSort2Ways() {}
public static void sort(Comparable[] arr) {
sort(arr, 0, arr.length - 1);
}
public static void sort(Comparable[] arr, int left, int right) {
if (right -... | true |
acac773c03df025359b62861aa7913c7d91e1506 | Java | glide143/globe-connect-java | /web/VoiceSample/src/java/ph/com/globe/connect/voice/sample/AskTest.java | UTF-8 | 3,363 | 2.34375 | 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 ph.com.globe.connect.voice.sample;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletExcepti... | true |
5dffa41f4967960ab3b7ba5876861f57b737b67c | Java | java-course-ee/java-course-ee | /Spring/Boot/command-line-arguments/src/main/java/edu/javacourse/spring/boot/CommandLineArgumentsApplicationArguments.java | UTF-8 | 741 | 2.15625 | 2 | [
"MIT"
] | permissive | package edu.javacourse.spring.boot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class CommandLineArgumentsApplicationArguments {
@Autowired
priva... | true |
4d12d24b386bb4dc621b512d308b40e978b19d06 | Java | happybubblefish/spring-hibernate | /src/main/java/org/finra/springboothibernate/model/manyToMany/Student.java | UTF-8 | 938 | 2.546875 | 3 | [] | no_license | package org.finra.springboothibernate.model.manyToMany;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistenc... | true |
73be692634fd29d6accdc5fb41e69045c0eb3282 | Java | Slidejiveman/SecureNotepad | /src/Main.java | UTF-8 | 1,028 | 3.140625 | 3 | [] | no_license | import javax.swing.*;
/**
* Secure NotePad is a project I did for my Information System Security class.
* It allows the user to enter information into the GUI and save the file. It also
* allows the user to open files from the file system.
*
*
* Created by rdnot on 10/4/2017.
*
* This project relies on this tu... | true |
a70c40d10ef01d66af13b9a5cfb431776a329c41 | Java | cckmit/wbiag | /src/com/wbiag/app/modules/retailSchedule/services/model/CompWorkFactorMoselDataTest.java | UTF-8 | 1,317 | 2.125 | 2 | [] | no_license | /*---------------------------------------------------------------------------
(C) Copyright Workbrain Inc. 2005
--------------------------------------------------------------------------*/
package com.wbiag.app.modules.retailSchedule.services.model;
import com.workbrain.app.modules.retailSchedule.SOTestCase;
/**
... | true |
2dd13b1f7554f79f9f8783371d3bf95163a1e3b0 | Java | PlumpMath/DesignPattern-175 | /src/test/Accountant.java | UTF-8 | 824 | 2.734375 | 3 | [] | no_license | package test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class Accountant {
private List<Invoice> invoices = new ArrayList<Invoice>();
public void addInvoices(List<Invoice> invoices) {
this.invoices.addAll(invoices);
}
public void... | true |
441a796baea6c2e4982a768e6a7796289acb327c | Java | harvey-fletcher/ReassuredMobileApp | /app/src/main/java/uk/co/reassured/reassuredmobileapp/UserSettingsTopLevel.java | UTF-8 | 12,958 | 2.359375 | 2 | [] | no_license | package uk.co.reassured.reassuredmobileapp;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.i... | true |
9a9251391fb27d80e0a37d8ad2538f59e5c301c4 | Java | JhonVe7/Graphos | /src/dfs/Graph.java | UTF-8 | 7,545 | 3.59375 | 4 | [] | no_license | package dfs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.LinkedList;
import java.util.ListIterator;
import java.util.Scanner;
import java.util.Stack;
public class Graph {
private ArrayList<LinkedList<Integer>> graphAdjacencyList = new Arra... | true |
52722888b5531b7b4db71594b0f47f5d19b3392c | Java | ideli/SSO | /sso-persist/src/main/java/com/hisign/sso/persist/mapper/sys/RoleResourceMapper.java | UTF-8 | 684 | 2.03125 | 2 | [] | no_license | package com.hisign.sso.persist.mapper.sys;
import java.util.Map;
import com.hisign.sso.api.entity.sys.RoleResource;
import com.hisign.sso.api.persist.BaseMapper;
/**
* @Title:
* 角色权限对应关系
* @description:
*
* @author lnj
* @create time:2016年7月6日 下午4:11:39
*/
public interface RoleResourceMapper extends Base... | true |
4dfb8b75c6258ef82899b717048ca9e64b8214f6 | Java | prabhu150/Advanced-OOPS-Design-Pattern | /Interpreter Memento Visitor/src/interpreter/RepeatExpression.java | UTF-8 | 1,173 | 3.234375 | 3 | [
"MIT"
] | permissive | package interpreter;
import visitor.Visitable;
import visitor.Visitor;
import java.util.Vector;
public class RepeatExpression implements Expression, Visitable {
private int iterations;
private Vector<Expression> statements;
private Context context;
public RepeatExpression(int iterations, Context c... | true |
ad66d26040e4346f0fc722d33c437520c44aa937 | Java | verath/ESCP | /src/se/chalmers/tda367/group15/game/settings/Constants.java | UTF-8 | 1,569 | 3.125 | 3 | [
"Apache-2.0"
] | permissive | package se.chalmers.tda367.group15.game.settings;
/**
* A class for holding constant values that are global across the entire game.
* Such as the game name, preferred FPS and preferred size.
*
* @author Peter
*
*/
public class Constants {
/**
* The name of the game.
*/
public static final String GAME_NAM... | true |
def6ad28f8dbcb421d1ff94c65046eb2fa4b0ec8 | Java | DmitryRak/integrivideowebtest | /src/test/java/com/integrivideo/stories/SignUpStoryTest.java | UTF-8 | 1,186 | 1.796875 | 2 | [] | no_license | package com.integrivideo.stories;
import com.integrivideo.Data;
import com.integrivideo.steps.CommonSteps;
import com.integrivideo.steps.LandingPageSteps;
import com.integrivideo.steps.LoginSteps;
import com.integrivideo.steps.SignUpSteps;
import net.serenitybdd.junit.runners.SerenityRunner;
import net.thucydides.core... | true |
dc58d69e9fa66bb72ba0638e4a1ecdb75fe6b3aa | Java | cifpfbmoll/streams-yannick | /Practica6-2SorteosYApuestas/src/practica6/pkg2sorteosyapuestas/SimulacionLoteria.java | UTF-8 | 696 | 2.53125 | 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 practica6.pkg2sorteosyapuestas;
import static practica6.pkg2sorteosyapuestas.Primitiva.crearApuestaPrimitiva;
/**
... | true |
040eec4ff6f1890ef1c05343e42a71c8d3ff5844 | Java | Booting/PROMOSEE | /app/src/main/java/com/garansimu/ForgotPasswordActivity.java | UTF-8 | 7,278 | 2.140625 | 2 | [] | no_license | package com.garansimu;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.SharedPreferences;
import android.graphics.Typeface;
import android.os.Bundle;
import android.os.StrictMode;
import android.view.View;
import android.view.Window;
import android.widget.EditText;
import android... | true |
d59a89fb35ab6765f06760fe28b3fb6c9ee1e95b | Java | twa16/House-V2 | /src/main/java/Network/RequestTypeActions/AuthenticationRequestType.java | UTF-8 | 560 | 2.34375 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Network.RequestTypeActions;
import com.manuwebdev.mirageobjectlibrary.Network.RequestTypes;
import java.net.Socket;
/**
*
* @author Manuel Gauto
*/
public class AuthenticationRequestType extends RequestType... | true |
1f9d6b1ce8409a1539e285272770e42d2fce2d86 | Java | codecentric/reedelk-module-rest | /src/test/java/de/codecentric/reedelk/rest/component/RESTClientGetTest.java | UTF-8 | 2,777 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package de.codecentric.reedelk.rest.component;
import com.github.tomakehurst.wiremock.client.WireMock;
import de.codecentric.reedelk.rest.TestComponent;
import de.codecentric.reedelk.runtime.api.commons.StringUtils;
import de.codecentric.reedelk.runtime.api.message.Message;
import de.codecentric.reedelk.runtime.api.me... | true |
9b855f921369136a56a645c195a64a30c8e23e58 | Java | Zedramcak/ticketSystemHTML | /src/main/java/eu/adamzrc/ticketSystemHTML/controllers/UserController.java | UTF-8 | 4,631 | 2.28125 | 2 | [] | no_license | package eu.adamzrc.ticketSystemHTML.controllers;
import eu.adamzrc.ticketSystemHTML.models.User;
import eu.adamzrc.ticketSystemHTML.service.IRoleService;
import eu.adamzrc.ticketSystemHTML.service.ITicketService;
import eu.adamzrc.ticketSystemHTML.service.IUserService;
import org.springframework.beans.factory.annotati... | true |
a8adef37548664376ef915debfe0bb83b9276ab2 | Java | Mishka2/graphics_java | /AWTGraphics.java | UTF-8 | 1,811 | 3.171875 | 3 | [] | no_license | // Michelle Loven 10.13.16
// Lab04
// The AWT Graphics Program
// This is the student, starting version of the AWT Graphics Program.
import java.awt.*;
import java.applet.*;
public class AWTGraphics extends Applet
{
public void paint(Graphics g)
{
// DRAW CUBE
g.drawRect(200, 200, 200, 200);
g.drawRect(2... | true |
9620cda953e2f73f82c7e58cba635f1c7bf0a465 | Java | superlord9362/vanilla | /java/lord/vum/objects/blocks/Mud.java | UTF-8 | 1,759 | 2.203125 | 2 | [] | no_license | package lord.vum.objects.blocks;
import java.util.Random;
import javax.annotation.Nullable;
import lord.vum.Main;
import lord.vum.init.BlockInit;
import lord.vum.init.ItemInit;
import lord.vum.util.IHasModel;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minec... | true |
9ea0bc5710fc34ef6d09ff354383f846c9ea3a1f | Java | pasyavulasai/ContosoUniversity_BDD | /src/test/java/com/test/ui/sppportal/pages/ukracsection/UKRACAWSDecisionLogEnquiryPage.java | UTF-8 | 3,791 | 1.96875 | 2 | [] | no_license | //package com.test.ui.sppportal.pages.ukracsection;
//
//import com.google.inject.Inject;
//import com.test.helper.BasePage;
//import com.test.helper.utils.ScrenshotUtils;
//import com.test.helper.utils.SeleniumHelper;
//import com.test.seleniumcustomframework.extension.PageElement;
//import org.junit.Assert;
//import ... | true |
b93dc7260f1fa8ef6641e3f4563028a4e1f7d540 | Java | nakulkumar14/logging-mdc | /src/main/java/com/logging/loggingmdc/controller/LoggingController.java | UTF-8 | 591 | 2.203125 | 2 | [] | no_license | package com.logging.loggingmdc.controller;
import com.logging.loggingmdc.service.LoggingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@S... | true |
f2609c034b83021601c95b06dc070be8cd6e7def | Java | chengtech/Application1 | /道路养护/src/main/java/com/chengtech/chengtechmt/activity/dbm/PavementConfigActivity.java | UTF-8 | 6,789 | 2.03125 | 2 | [] | no_license | package com.chengtech.chengtechmt.activity.dbm;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
impor... | true |
e1d271a36ad02e9acbbe82fa7ab5c3b82bf26d47 | Java | manoj5864/drools-example | /src/main/java/com/amelie/controller/Main.java | UTF-8 | 1,728 | 2.21875 | 2 | [] | no_license | package com.amelie.controller;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.Persistence;
import org.kie.api.KieServices;
import org.kie.api.runtime.KieContainer;
import org.kie.api.runtime.KieSession;
import com.amelie.dao.Expert;
import com.amelie.dao.Project;
import com.... | true |
de980169e20853db55680c7eb72314cdb0106237 | Java | lochanaEdirisinghe/Event-Manahemenet-System-Back-end | /EMS_Backend/src/main/java/lk/lochana/ems/Model/Employee.java | UTF-8 | 3,043 | 2.265625 | 2 | [] | no_license | package lk.lochana.ems.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
i... | true |
72c12c3563c45aba5b7e2a144d1f212235f8b968 | Java | gsooousa/Curso-Java-Impacta | /JavaProgrammer_ArquivosFinal/Exemplos/Cap_08/ExemploAcessoInvalido.java | ISO-8859-1 | 385 | 3.1875 | 3 | [] | no_license |
public class ExemploAcessoInvalido {
public static void main(String args[]){
int numeros[] = new int[6];
numeros[6] = 3; // exceo em tempo de execuo.
// o ltimo elemento est na posio de ndice 5
int valores[] = new int[6];
int indice = -5;
valores[indice] = 3; // exceo em tempo de execuo.
... | true |
f5355bfb36185662c73eb09f8ad5f3594402a348 | Java | tjeb/Oxalis-AS4 | /src/main/java/no/difi/oxalis/as4/inbound/As4InboundHandler.java | UTF-8 | 21,205 | 1.53125 | 2 | [] | no_license | package no.difi.oxalis.as4.inbound;
import com.google.common.io.ByteStreams;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import lombok.extern.slf4j.Slf4j;
import no.difi.oxalis.api.header.HeaderParser;
import no.difi.oxalis.api.lang.OxalisContentException;
import no.difi.oxalis.api.lang.Timest... | true |
477f4a63ac0c9a36b5cb60f5fa732f423f5f8584 | Java | MarsdRy/uenta-spring-cloud | /uenta-notification-service/src/main/java/com/uenta/cloud/notification/client/AccountServiceClient.java | UTF-8 | 1,479 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.uenta.cloud.notification.client;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
impo... | true |
8e703da96822ca472916802e9c97886ad1a89a36 | Java | zzw4github/tutorial | /jdk8/src/main/java/me/zzw/app/jdk8/api/reflect/MyObject.java | UTF-8 | 447 | 2.421875 | 2 | [] | no_license | package me.zzw.app.jdk8.api.reflect;
import org.apache.log4j.Logger;
/**
* Created by infosea on 2016-07-28.
*/
public class MyObject extends MyObjectSuperClass implements MyObjectInterface {
Logger logger = Logger.getLogger(MyObject.class);
@Override
public void testInterface() {
logger.info("i... | true |
c901239d42a7c595865da18c2f5fe6ef7ef06847 | Java | ehelin/TGIMBAAndroid | /app/src/main/java/com/tgimba/tgimba_android/data/BucketItemList.java | UTF-8 | 620 | 2.09375 | 2 | [] | no_license | package com.tgimba.tgimba_android.data;
import java.util.Date;
public class BucketItemList
{
public String Name = "";
public Date Entered = null;
public EnumRanking Ranking = null;
public Boolean Achieved = false;
public String DbId = "";
public BucketItemList(String pName,
... | true |
050ac8dd99bf4bdb72c719653cf05563a420182d | Java | tsuzcx/qq_apk | /com.tencent.mm/classes.jar/com/tencent/mm/plugin/brandservice/ui/timeline/offenread/g.java | UTF-8 | 3,049 | 1.515625 | 2 | [] | no_license | package com.tencent.mm.plugin.brandservice.ui.timeline.offenread;
import android.util.Base64;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.f;
import com.tencent.mm.kernel.h;
import com.tencent.mm.protocal.protobuf.fmz;
import com.tencent.mm.protocal.protobuf.fnc;
import com.... | true |
bab5f7a8a4e6ac8ebc9bc643a8c79cd256786f18 | Java | richard-hajek/tiny-entepreneur | /app/src/main/java/com/mewu/plazastar/Library.java | UTF-8 | 8,984 | 2.3125 | 2 | [] | no_license | package com.mewu.plazastar;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.SparseArray;
import android.util.SparseIntArray;
import com.mewu.plazastar.utils.Point;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
enum Environment {
Day, Night
}
p... | true |
ae736ad9e3f30d553107fd4ddee59a910af5b021 | Java | psygate/ruby | /gen/java/com/psygate/minecraft/spigot/sovereignty/ruby/db/model/tables/RubyGroupMutes.java | UTF-8 | 2,986 | 2.046875 | 2 | [
"MIT"
] | permissive | /**
* This class is generated by jOOQ
*/
package com.psygate.minecraft.spigot.sovereignty.ruby.db.model.tables;
import com.psygate.minecraft.spigot.sovereignty.nucleus.sql.util.UUIDByteConverter;
import com.psygate.minecraft.spigot.sovereignty.ruby.db.model.Keys;
import com.psygate.minecraft.spigot.sovereignty.ruby... | true |
ab6fb44f752a9f52ec437cc31d7a7ae8abb4977c | Java | hanonator/RS2-Emulator | /src/org/hannes/net/codec/MessageType.java | UTF-8 | 277 | 1.859375 | 2 | [] | no_license | package org.hannes.net.codec;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.hannes.net.MessageLength;
@Retention(RetentionPolicy.RUNTIME)
public @interface MessageType {
MessageLength value() default MessageLength.FIXED;
} | true |
67f1881cafb8332178affd6970795fd55070366d | Java | AchmadRifai/puji | /ProjectSkripsi/app/src/main/java/wahyono/puji/projectskripsi/ws/Msg.java | UTF-8 | 345 | 1.84375 | 2 | [] | no_license | package wahyono.puji.projectskripsi.ws;
import com.google.gson.annotations.SerializedName;
/**
* Created by ai on 14/08/2017.
*/
public class Msg {
@SerializedName("pesan")
private String pesan;
public String getPesan() {
return pesan;
}
public void setPesan(String pesan) {
th... | true |
aae440d25b214886f0669c2341709f6336e01e08 | Java | forkkit/datawire-common | /datawire-j/src/test/java/io/datawire/Closer.java | UTF-8 | 1,166 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2015 datawire. All rights reserved.
*
* 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 applicab... | true |
90c95dfcf362c7471e056f6ea3c150d472034f87 | Java | TheKnightsRadiant/Games | /Odysseus Game/src/mainPackage/PoseidonWins.java | UTF-8 | 2,170 | 2.46875 | 2 | [] | no_license | package mainPackage;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
public class PoseidonWins extends JFrame implements ActionListener {
public PoseidonWins() {
super(Main.title);
setBounds(265, 100, 1280, 800);
getContentPane().setLayout(n... | true |
a95e32b64db7ee4a05d83c8a1f4a2a9c04176922 | Java | syrus-ru/amficom | /util/src/com/syrus/util/Codename.java | WINDOWS-1252 | 464 | 1.976563 | 2 | [] | no_license | /*-
* $Id: Codename.java,v 1.2 2006/04/19 13:47:03 bass Exp $
*
* Copyright 2004-2005 Syrus Systems.
* Dept. of Science & Technology.
* Project: AMFICOM.
*/
package com.syrus.util;
/**
* @version $Revision: 1.2 $, $Date: 2006/04/19 13:47:03 $
* @author $Author: bass $
* @author Tashoyan Arseniy Feliksovich
... | true |
235a4dde0597ad68fa5c9863ddd92d4138989374 | Java | markov981/makeloans | /src/main/java/com/libertymutual/goforcode/makeloans/controllers/HomeController.java | UTF-8 | 4,075 | 2.4375 | 2 | [] | no_license | package com.libertymutual.goforcode.makeloans.controllers;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.Bi... | true |
35a6db25b54951e39c57e5fc7e27b7ab347c43c0 | Java | srashtisj/spring-boot-microservices | /api/src/main/java/com/developers/thought/controller/AccountController.java | UTF-8 | 2,153 | 2.359375 | 2 | [
"MIT"
] | permissive | package com.developers.thought.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.... | true |
b96c5ba33588b765634128dd16695f6cc1c0cb3b | Java | bartbes/jniwrap | /launcher/ExtraTest.java | UTF-8 | 603 | 3.5 | 4 | [
"Apache-2.0"
] | permissive | public class ExtraTest
{
public static void someJava()
{
System.out.println("Some java code runs!");
}
public void someMoreJava()
{
System.out.println("And an instance method, too!");
}
public void printString(String arg)
{
System.out.print("Input string: ");
System.out.println(arg);
}
public int m... | true |
8d296853821711feb271bb9234fe9522665003c0 | Java | DominicHan/FlowLayoutDemo | /src/com/echo/myflowlayoutdemo/constant/Constant.java | GB18030 | 800 | 1.921875 | 2 | [] | no_license | package com.echo.myflowlayoutdemo.constant;
public interface Constant {
public static final String[] ITEM = new String[] { "QQ", "Ƶ", "ſ",
"", "Ƶ", "", "С˵", "", "ſ", "", "WIFIԿ", "",
"2", "Ʊ", "Ϸ", "ܳûܴ֮", "ͼ", "", "Ϸ", "ҵ",
"Ӱ", "QQռ", "", "Ϸ", "2048", "", "ֽ", "ʦ", "",
"װر", "춯", "", "", "", "ڵ", "Ƶ",... | true |
2ab61436a7fe0973fdbcfd584c5dbddb371922ec | Java | jingxiongdi/TransferApp | /app/src/main/java/com/example/transferapp/TransferApplication.java | UTF-8 | 463 | 1.648438 | 2 | [] | no_license | package com.example.transferapp;
import android.app.Application;
import com.example.transferapp.utils.LogUtils;
import com.tencent.bugly.crashreport.CrashReport;
public class TransferApplication extends Application {
/**
* 1.底部菜单栏
*/
@Override
public void onCreate() {
super.onCreate();
... | true |
a27b52d3a6a9dbd33160544656a817c4b8fe21d0 | Java | bob01/sagetv-addons.sagealert | /src/com/google/code/sagetvaddons/sagealert/shared/ClientServiceAsync.java | UTF-8 | 1,766 | 2.0625 | 2 | [] | no_license | /*
* Copyright 2009-2010 Battams, Derek
*
* 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
*
* ... | true |
0c13fc22f28b37720cb242686a4c8d35c13482ca | Java | Alexandrbolshakov/partslist | /voting_system/src/main/java/ru/example/voting/domain/Restaurant.java | UTF-8 | 1,012 | 2.453125 | 2 | [] | no_license | package ru.example.voting.domain;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "rest")
public class Restaurant {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private Double rating;
private String name;
@OneToMany
private List<Menu> di... | true |
d7c199e424aabe360e3c11be875e200f601c2f17 | Java | ccazuc/RPG-server | /src/net/game/chat/ChatCommandHandler.java | UTF-8 | 320 | 1.960938 | 2 | [] | no_license | package net.game.chat;
import net.Server;
import net.game.unit.Player;
import net.thread.chatcommand.ChatCommandRequest;
public class ChatCommandHandler {
public static void parse(String message, Player player) {
//check if mute etc
Server.addNewChatCommandRequest(new ChatCommandRequest(message, player));
}
}
| true |
63e52e78f1514ec40fcf889d6d7b976d40328809 | Java | nebula-projects/nebula-admin-service | /src/main/java/org/nebula/admin/service/UserController.java | UTF-8 | 7,601 | 1.59375 | 2 | [] | no_license | /*
* Copyright 2002-2015 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 by ap... | true |
ec807b6402872579455a37b278a9dc5949b40fbc | Java | leahfortier/pokemon | /src/test/pokemon/BreedingTest.java | UTF-8 | 17,334 | 2.375 | 2 | [] | no_license | package test.pokemon;
import battle.ActivePokemon;
import battle.attack.AttackNamesies;
import battle.attack.Move;
import item.ItemNamesies;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import pokemon.active.Gender;
import pokemon.active.IndividualValues;
import pokemon.active.MoveList... | true |
59c59b86d56c3858cee8aa4922f528a0e76d4733 | Java | tectronics/robotable | /src/com/robotable/fujita/RoboHockey/GoalListener.java | UTF-8 | 163 | 2.078125 | 2 | [] | no_license | package com.robotable.fujita.RoboHockey;
import com.robotable.fujita.RoboHockey.Player;
public interface GoalListener {
public void goal(Player player);
} | true |
b62b694ec4b69debfc5ad22bc1eefc01fccc3f7d | Java | minemeraj/driving | /Driving/src/com/editors/drawing/DrawBuildingTexture1.java | UTF-8 | 10,253 | 2.140625 | 2 | [] | no_license | package com.editors.drawing;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
import com.Polygon3D;
public class DrawBuildingTexture1 {
int num_len_windows=3;
int num_wid_windows=2;
int window_width=2... | true |
35373031bebfc84f4b537e9d02ae8e60b381ebe2 | Java | CristianRestrepo/Alineador_Secuencias | /src/Lógica/Conversion.java | UTF-8 | 2,229 | 2.96875 | 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 Lógica;
/**
*
* @author CristianCamilo
*/
public class Conversion {
public static int matrizConversion[][... | true |
0feed6bca14fd1cf5ed5a74085b89cd6e09305da | Java | Peddaraju/microservices | /kafka/consumer/consumer-demo-1/src/main/java/com/demo/consumer/KafkaConsumer.java | UTF-8 | 1,533 | 2.375 | 2 | [] | no_license | package com.demo.consumer;
import com.demo.beans.Greeting;
import demo.kafka.event.PaymentSent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.support.KafkaHeaders;
import org.springframework.messaging.handler.annotat... | true |
882a9da99d015ca3bee7032cdb3a15aa78d11ed2 | Java | Mousteay/statussaver | /app/src/main/java/com/andrinoapp/statussaver/Fragments/WAAboutFragment.java | UTF-8 | 1,535 | 1.804688 | 2 | [] | no_license | package com.andrinoapp.statussaver.Fragments;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import androidx.appcompat.view.ActionMode;
import androidx.fragment.app.Fragment;
import andr... | true |
f112947dae828baf26a146f18739c268466e6943 | Java | sam-yr/LargeImage | /LargeImage-lib/src/com/shizhefei/view/largeimage/PhotoView.java | UTF-8 | 1,130 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.shizhefei.view.largeimage;
import android.content.Context;
import android.util.AttributeSet;
import com.shizhefei.view.largeimage.PhotoViewAttacher.OnPhotoTapListener;
public class PhotoView extends LargeImageView {
public PhotoView(Context context) {
super(context);
photoViewAttacher = ... | true |
867271289ac0b48bd9d1367ad83392ead5ed3429 | Java | krzyty/OA_USST | /oa/USSTOA/src/filter/CodeFilter.java | UTF-8 | 1,098 | 2.140625 | 2 | [] | no_license | package filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebFilter;
import javax.servle... | true |
2f49dc908302065c999ca2fa90fc6c8cea58db6a | Java | ad123412/sample-projects | /SpringBootProject/src/main/java/com/ada/spring/app/service/DepartmentServiceImpl.java | UTF-8 | 577 | 2.1875 | 2 | [] | no_license | package com.ada.spring.app.service;
import com.ada.spring.app.model.Department;
import com.ada.spring.app.repository.DepartmentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by ADA on 5/13/2017.
*/
@Ser... | true |
3dfb01a8963e1347ef930a30df8d7e3703b05928 | Java | aashish025/FCRA | /FCRA/src/models/reports/OldRegistrationEntryDtl.java | UTF-8 | 7,522 | 2.09375 | 2 | [] | no_license | package models.reports;
public class OldRegistrationEntryDtl {
private String rcn;
private String assoName;
private String assoAddress;
private String assoTownCity;
private String assoState;
private String assoDistrict;
private String assoPin;
private String assoNature;
private String assoRelig... | true |
06b0ae0c459d68da6eddf6481a87b32697f74865 | Java | TaurusXi/AndroidCommon | /common/src/main/java/com/taurusxi/androidcommon/Observer/ObserverManager.java | UTF-8 | 2,068 | 2.578125 | 3 | [] | no_license | package com.taurusxi.androidcommon.Observer;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ObserverManager {
public static final String LOCATION = "Location";
public static final String MSG_NUMB = "MSG_NUMB";
public static final String MSG_NUMB_MAIN = "MSG_NUMB_MAIN"... | true |
466464bac898f6e74bacade9f1666d10d74050bf | Java | Miraezation/BILDIT_zadaci | /src/ZADACA_10_11_2017/zadatak2.java | UTF-8 | 427 | 2.6875 | 3 | [] | no_license | package ZADACA_10_11_2017;
import java.util.Scanner;
public class zadatak2 {
public static void main(String[] args) {
Scanner unos=new Scanner(System.in);
System.out.println(" De unesi neki cijeli broj...");
int broj=unos.nextInt();
for (int j=1; j<=broj; j++){
if (broj%j==0){... | true |
1703db957183a771d01217e8dddc125fd1596b7a | Java | KrishanVarshney/SmallConceptImplimentation | /SQLiteDataDemo/src/com/example/sqlitedatademo/MainActivity.java | UTF-8 | 1,985 | 2.09375 | 2 | [] | no_license | package com.example.sqlitedatademo;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.LayoutInflater;
import androi... | true |
182b456abbf9922cd139cbb28c43957784b01912 | Java | unnellu/EvotorApp | /app/src/main/java/ru/evotorapp/EvotorApplication.java | UTF-8 | 1,862 | 2.21875 | 2 | [] | no_license | package ru.evotorapp;
import android.Manifest;
import android.app.*;
import android.content.Context;
import android.content.pm.PackageManager;
import android.support.v4.app.ActivityCompat;
import android.telephony.TelephonyManager;
import android.widget.Toast;
/**
* Created by sergey-rush on 10.12.2017.
*/
public ... | true |
ab9464f570fb8c1fd0ca658c01236f8cdb1b3574 | Java | pazinjanka/nwtis | /msimicic_aplikacija_2/src/java/org/foi/nwtis/msimicic/konfiguracija/KonfiguracijaBaza.java | UTF-8 | 2,671 | 2.59375 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.foi.nwtis.msimicic.konfiguracija;
import java.io.File;
/**
*
* @author Martina
* Ucitava opis baze koja se koristi
*/
public class KonfiguracijaBaza {
protected String naziv;
protected boole... | true |
bd9671808a33fc13bd570abaab94175f62627e1b | Java | JetBrains/intellij-plugins | /flex/flex-shared/src/com/intellij/flex/model/run/JpsFlexUnitRunConfigurationType.java | UTF-8 | 1,651 | 1.632813 | 2 | [
"Apache-2.0"
] | permissive | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.flex.model.run;
import com.intellij.util.xmlb.XmlSerializer;
import org.jdom.Element;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.mod... | true |
718eab9e47e1433ac70697630c77b57ffc14bd02 | Java | l123456789jy/AndroidTestDemo | /Demo/src/main/java/com/example/administrator/myapplication/circledemo/CirlActivity.java | UTF-8 | 2,846 | 2.125 | 2 | [] | no_license | package com.example.administrator.myapplication.circledemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
impo... | true |
ee5189ff3141c6664ffcb1b39f673629176767b6 | Java | VaKs/weathevent | /app/src/main/java/EventbriteAPI/Models/End.java | UTF-8 | 821 | 2.40625 | 2 | [] | no_license | package EventbriteAPI.Models;
import org.json.JSONObject;
import java.util.Date;
/**
* Created by Agnieszka on 25.03.2018.
*/
public class End implements JSONPopulator{
public String Timezone;
public String Local;
public String Utc;
@Override
public void populate(JSONObject data) {
... | true |
d99ff2d74e71188b65d6bc6eebe7a686c82b2f46 | Java | interma/test-solr-tokenizer | /src/main/java/org/interma/FixMessageTokenizerFactory.java | UTF-8 | 753 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package org.interma;
import java.util.Map;
import org.apache.lucene.analysis.util.TokenizerFactory;
import org.apache.lucene.util.AttributeFactory;
public class FixMessageTokenizerFactory extends TokenizerFactory {
private final String delimiter;
public FixMessageTokenizerFactory(Map<String, String> args) {... | true |
bc61dc5e38bc460f4178bae3763fbdc3cf79a39b | Java | leohyluo/ifirstaid | /ifirstAid/src/main/java/com/iebm/aid/repository/StationRepository.java | UTF-8 | 253 | 1.570313 | 2 | [] | no_license | package com.iebm.aid.repository;
import org.springframework.stereotype.Repository;
import com.iebm.aid.common.BaseRepository;
import com.iebm.aid.pojo.Station;
@Repository
public interface StationRepository extends BaseRepository<Station, Long> {
}
| true |
061d4faf80986a3d70166032e9cfb8b1b877833f | Java | cha63506/CompSecurity | /Music-Audio/smule_source/src/com/smule/pianoandroid/e/c$2.java | UTF-8 | 844 | 1.5 | 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.smule.pianoandroid.e;
import com.smule.android.f.j;
import com.smule.android.f.k;
// Referenced classes of package com.smule.pianoa... | true |
9fc91e64d9b9a25ec04458de72b72016ebdf8949 | Java | quantumferret/BankSimulationAssignment | /src/Line.java | UTF-8 | 534 | 3.234375 | 3 | [] | no_license | import java.util.LinkedList;
import java.util.Queue;
/**
* Represents a single line in the bank
*
* @author Aidan Tribble
*
*/
public class Line {
protected Queue<Customer> queue;
protected int lineNum;
public Line(int lineNum) {
queue = new LinkedList<Customer>();
this.lineNum = li... | true |
75d9583303d129c8dfaa1b52ae7e15152c63310a | Java | nidhi88/playbook-android-sortedlist | /app/src/main/java/is/uncommon/playbook/sortedlist/MainApplication.java | UTF-8 | 381 | 1.554688 | 2 | [
"MIT"
] | permissive | package is.uncommon.playbook.sortedlist;
import android.app.Application;
import net.danlew.android.joda.JodaTimeAndroid;
import timber.log.Timber;
/**
* Created by madhu on 29/11/16.
*/
public class MainApplication extends Application {
@Override public void onCreate() {
super.onCreate();
JodaTimeAndroid... | true |
d1d3884005adf234426a694b1e2d8a853f4f85c0 | Java | himanshukangani/Java-programs | /DemoDeleteAlternate.java | UTF-8 | 816 | 3.5 | 4 | [] | no_license | class Node
{
int data;
Node next;
Node(int d)
{
data = d;
}
}
class DemoDeleteAlternate
{
Node head = null;
public void traverse()
{
Node itr = head;
while(itr!=null)
{
System.out.print(itr.data+" ");
itr = itr.next;
}
System.out.println();
}
public void addNode(int d... | true |
9a5289d681ad98af35d2296fce6d7c04e3e6a17c | Java | shanghaif/-wz- | /code/src/main/java/com/cmcu/mcc/five/entity/FiveHrQualifyApply.java | UTF-8 | 3,575 | 1.757813 | 2 | [] | no_license | package com.cmcu.mcc.five.entity;
import java.util.Date;
import javax.validation.constraints.*;
import lombok.Data;
@Data
public class FiveHrQualifyApply {
@NotNull(message="id不能为空!")
@Max(value=999999999, message="id必须为数字")
private Integer id;
@NotNull(message="businessKey不能为空!")
@Size(max=45, m... | true |
bec9ccd3e3d72aa02dbf280347e70850de869bc0 | Java | wangyq578/test | /src/test/Dww.java | UTF-8 | 100 | 1.828125 | 2 | [] | no_license | package test;
public class Dww {
public static void ssd(){
System.out.print("df,gai");
}
}
| true |
bf698580d31a39900e06aa6245dd7af89fb3ff83 | Java | CarlKong/DemoSSH | /OrganizationTraining/src/com/augmentum/ot/dataObject/FromSearchToViewCondition.java | UTF-8 | 878 | 1.875 | 2 | [] | no_license | package com.augmentum.ot.dataObject;
public class FromSearchToViewCondition{
private String backupId = "";
private int nowId = 0;
private int totalPageNum=0;
private int isNoSelectedflag=0;
public String getBackupId() {
return backupId;
}
public void setBackupId(String... | true |
72a259325296ec3ccc6c4780b28e5d15f82ca7e6 | Java | olarivain/Coding | /app/src/main/java/org/cjkriesesf/opentablecoding/MainActivity.java | UTF-8 | 1,966 | 2.1875 | 2 | [] | no_license | package org.cjkriesesf.opentablecoding;
import android.arch.lifecycle.ViewModelProviders;
import android.support.annotation.UiThread;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import androi... | true |
f8fba983f6e24b7ae13627d0f13c0fc7bd9ae7c6 | Java | kokosika/portafolio-java | /src/main/java/com/serviexpress/dto/custom/PersonaDto.java | UTF-8 | 3,631 | 2.546875 | 3 | [] | no_license | package com.serviexpress.dto.custom;
import com.serviexpress.dto.ModeloBaseDto;
import java.util.Date;
/**
* Modelo basico de la persona, se utilizara como transporte de informacion.
* Hereda de la clase ModeloBaseDto que contendra los atributos basicos de la entidad.
* <p>
* 1.0 Franco Cortez - Version Inicial
... | true |
73686c257a4a665a2f7ce660b68d66658d62eb4e | Java | LevNovikov92/dsa-problems | /src/main/java/Permutations.java | UTF-8 | 868 | 3.46875 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.List;
class Permutations {
List<List<Integer>> permute(int[] nums) {
List<List<Integer>> combinations = new ArrayList<>();
for (int n : nums) {
ArrayList<Integer> l = new ArrayList<>();
l.add(n);
getUniqueCombination... | true |
24c61fab900244575bc018e6ba6399a29bdce8ff | Java | MihMiha/magazza | /Se2les2/src/CoolectionL11/CoolectionL1.java | UTF-8 | 1,814 | 3.421875 | 3 | [] | no_license | package CoolectionL11;
import java.util.*;
public class CoolectionL1 {
public static void main(String[] args) {
exemple();
}
public static void exemple() {
hasSetExample();
// treeSetExampl();
// linkedHashSetExample();
}
private static void treeSetExampl() {
... | true |
05c3a780ae2a7cff30679d16bb4b6e117d49c093 | Java | franklinmarcano1970/fermat | /OSA/addon/android/fermat-osa-addon-android-broadcaster-system-bitdubai/src/main/java/com/mati/fermat_osa_addon_android_broadcaster_system_bitdubai/structure/version_1/PluginBroadcasterSystemAndroidAddonRoot.java | UTF-8 | 2,108 | 2.015625 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | package com.mati.fermat_osa_addon_android_broadcaster_system_bitdubai.structure.version_1;
import android.content.Context;
import com.bitdubai.fermat_api.CantStartPluginException;
import com.bitdubai.fermat_api.layer.all_definition.common.system.abstract_classes.AbstractAddon;
import com.bitdubai.fermat_api.layer.all... | true |