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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e5fba465404dc519885a6b433808e1629074d77c | Java | lj-michale/common-core | /common.dao/src/main/java/common/core/app/dao/mongo/MongoPageQuery.java | UTF-8 | 1,395 | 2.28125 | 2 | [] | no_license | package common.core.app.dao.mongo;
import java.util.HashMap;
import java.util.Map;
import common.core.app.dao.PageQuery;
public class MongoPageQuery<T> extends PageQuery<T> {
private static final long serialVersionUID = 5857391873103986286L;
private Map<String, Object> params = new HashMap<>();
private Map<Stri... | true |
2e2b1ef7bef66f0bf4561d80d65c706efae414b0 | Java | VeronikaRevjakina/VeronikaRevyakina_REST | /src/test/java/speller/low_level/CheckSpellerStatusCodeAndPerformance.java | UTF-8 | 3,158 | 2.1875 | 2 | [] | no_license | package speller.low_level;
import enums.Languages;
import enums.Options;
import io.restassured.RestAssured;
import io.restassured.builder.RequestSpecBuilder;
import io.restassured.filter.log.RequestLoggingFilter;
import io.restassured.filter.log.ResponseLoggingFilter;
import io.restassured.specification.RequestSpecifi... | true |
e837ce0a697e096cfa2db4701c74462df388b38f | Java | sepr-gva/TrainTheftAuto | /core/src/com/TeamHEC/LocomotionCommotion/MapActors/Game_Map_Junction.java | UTF-8 | 5,716 | 2.46875 | 2 | [] | no_license | package com.TeamHEC.LocomotionCommotion.MapActors;
import com.TeamHEC.LocomotionCommotion.Map.Connection;
import com.TeamHEC.LocomotionCommotion.Map.Junction;
import com.TeamHEC.LocomotionCommotion.Train.Train;
import com.TeamHEC.LocomotionCommotion.UI_Elements.WarningMessage;
public class Game_Map_Junction extends G... | true |
37887557c6daeb804c6d52bc764e6ce7a6916dea | Java | amitbasak-zz/workcode | /roostifyapitest/src/main/java/com/infrrd/roostifyapitest/pojocollection/UpdateATaskPOJO.java | UTF-8 | 627 | 1.90625 | 2 | [] | no_license | package com.infrrd.roostifyapitest.pojocollection;
public class UpdateATaskPOJO {
public String completed_at;
public String description;
public String instructions;
public String getCompleted_at() {
return completed_at;
}
public void setCompleted_at(String completed_at) {
this.completed_at = completed_at... | true |
7055adafc875419f5c8a91335338eed09a8c61cd | Java | levigo/documentplatform-swing-hierarchy-inspection | /src/main/java/com/levigo/os/utils/swing/hierarchy/inspection/DefaultSwingHierarchyInspectionPanel.java | UTF-8 | 1,768 | 2.4375 | 2 | [] | no_license | package com.levigo.os.utils.swing.hierarchy.inspection;
import java.awt.BorderLayout;
import java.awt.Component;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import com.levigo.os.utils.swing.hierarchy.inspection.component.ComponentNameLabelProvider;
import com... | true |
009c7878568119d77d500ebda59d081059cf51ff | Java | arshiamd/MicroServicesProject | /library-service/src/test/java/com/epam/libraryservice/controller/BookControllerTest.java | UTF-8 | 4,164 | 2.296875 | 2 | [] | no_license | package com.epam.libraryservice.controller;
import static org.hamcrest.CoreMatchers.is;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import java.... | true |
f82c620aaa0c952b995f44474c4b57d33a29d76f | Java | narudots/narudots.github.io | /Subscription.java | UTF-8 | 3,621 | 2.375 | 2 | [] | no_license | package coreapplicationclassesandinterfaces;
public class Subscription extends BaseApplication{
public static final String TestDataSheetName = "SubscriptionProductDetails";
private String Type ;
private String Period ;
private String Length;
private String SeatCount;
private String SeatPackage1Name;... | true |
9187854a70d9a0db46ec27f37d7e40d5a179e4ac | Java | birkhoff-liu/spring-boot-starter-mqtt | /src/main/java/com/valtech/springframework/boot/mqtt/config/MqttProperties.java | UTF-8 | 1,882 | 1.859375 | 2 | [
"Apache-2.0"
] | permissive | /*
*
* * Copyright 2019 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
* *
* * https://www.apache.org/licenses/LICENSE-2.0
* *
... | true |
37e136b8b95e1ff6fae07f68c413ff5d449a4a06 | Java | notTypecast/Project_OO | /Java/BuyerAlreadyExistsException.java | UTF-8 | 289 | 3.03125 | 3 | [] | no_license | public class BuyerAlreadyExistsException extends Exception {
public BuyerAlreadyExistsException(){};
public BuyerAlreadyExistsException(String errorMsg){
super(errorMsg);
}
@Override
public String toString(){
return "Buyer already exists!";
}
}
| true |
94b9b7ee213fcfa521de3351ce08b54c28818b32 | Java | Ty-Won/Riderz | /android_passengers/app/src/main/java/riderz/team10/ecse321/com/riderzpassengers/trip/PastTrip.java | UTF-8 | 8,330 | 2.234375 | 2 | [] | no_license | package riderz.team10.ecse321.com.riderzpassengers.trip;
import android.location.Address;
import android.os.Bundle;
import android.util.Log;
import android.util.TypedValue;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.loopj.android.http.AsyncHttpResponseHand... | true |
93bb803d429924d48935dedb0242e26c09108fdb | Java | asafsadia/pilots | /src/test/java/tests/OrderFlightTest.java | UTF-8 | 940 | 2.125 | 2 | [] | no_license | package tests;
import io.qameta.allure.Step;
import org.testng.Assert;
import org.testng.annotations.Test;
import pageObject.FirstFlightPage;
import pageObject.FlightBookingPage;
import pageObject.WelcomePage;
public class OrderFlightTest extends BaseTest{
@Step("select english")
@Test(priority = 1)
public void ... | true |
0a985abd3cc2eb798d4cbb24c3f80009382fda44 | Java | TugbaAy/IMDBApp_Recyclerview | /IMDBApp/app/src/main/java/com/example/imdbapp/MainActivity.java | UTF-8 | 2,468 | 2.25 | 2 | [] | no_license | package com.example.imdbapp;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
imp... | true |
6bb7b3da4a5eb2d6dc7005c284821bf72c2257ba | Java | Anill007/JAVA-CODES | /JavatryBasics/net/TCP/ClientSide.java | UTF-8 | 635 | 3.109375 | 3 | [] | no_license | import java.io.*;
import java.net.*;
import java.util.*;
public class ClientSide {
public static void main(String[] args) {
try{
Socket s=new Socket("localhost",6666);
DataOutputStream dout=new DataOutputStream(s.getOutputStream());
DataInputStream dis=new DataInputStream(s.getInputStream());... | true |
023076ac09ffb9b0b24fa8baaf98076ed892c341 | Java | for3v3rInFriendZone/Transion-Backend | /src/main/java/com/transion/backend/service/UserTypeService.java | UTF-8 | 472 | 1.859375 | 2 | [] | no_license | package com.transion.backend.service;
import java.util.List;
import com.transion.backend.model.UserType;
public interface UserTypeService {
public UserType save(UserType userType);
public List<UserType> save(List<UserType> userTypes);
public UserType findOne(Long id);
public List<UserType> findAll();
p... | true |
35b7140a21534933e77ec1256bfd4701483ec897 | Java | ZadesSC/GW2Info | /app/src/main/java/io/zades/gw2info/data/pojo/AccountBankDatum.java | UTF-8 | 1,617 | 2.0625 | 2 | [] | no_license | package io.zades.gw2info.data.pojo;
import java.util.ArrayList;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class AccountBankDatum
{
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("count")
@Expose
private Integer... | true |
cf2bb52e6d9d1a91b25de994309c5194b0f1a727 | Java | gbdb/biot | /2017/MyApplication/app/src/main/java/com/example/alex/myapplication/communication/ServerURI.java | UTF-8 | 112 | 1.53125 | 2 | [] | no_license | package com.example.alex.myapplication.communication;
public class ServerURI {
public static String URI;
} | true |
6553c187c8bf3dfcec72ad55cd298225158fa5ea | Java | REBOOTERS/Android_Smart_Work | /app/src/main/java/com/example/dreamwork/activity/CarouselView/BannerView.java | UTF-8 | 8,572 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.example.dreamwork.activity.CarouselView;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.util.Log;
import android.view.LayoutInflater... | true |
4a7cb2240971a972806a66bfad5650160971e5d5 | Java | alexbowns/MountainCheatSheet | /app/src/main/java/com/alexbowns/mountainstats/DataObjects/LogData.java | UTF-8 | 915 | 2.546875 | 3 | [] | no_license | package com.alexbowns.mountainstats.DataObjects;
import java.util.Date;
public class LogData
{
public int id = -1;
public String details = "";
public String title = "";
public LogLocation logLocation = new LogLocation(null);
public Date date = new Date();
public LogImage logImage = new LogImag... | true |
de58f4ed8d9195eba44316ad4807ec18578a8b89 | Java | Zu3zz/Play_With_Data_Structure | /Set/src/Set.java | UTF-8 | 647 | 2.65625 | 3 | [] | no_license | /**
* Date: 2020/1/31 8:22 下午
*
* @author 3zZ.
*/
public interface Set<E> {
/**
* 添加元素
* @param e 需要添加的元素
*/
void add(E e);
/**
* 删除元素
* @param e 需要删除的元素
*/
void remove(E e);
/**
* 查询是否包含某元素
* @param e 需要查询的元素
* @return 返回是否包含此元素
*/
boolean... | true |
eca1e1644b1d0ac8e8ada3b03896b38113dc909b | Java | opendata-euskadi/linked-data-uri-handler | /r01hpLODClasses/src/r01hp/lod/urihandler/R01HLODHandledURIDataForClientRedirect.java | UTF-8 | 2,114 | 2.171875 | 2 | [] | no_license | package r01hp.lod.urihandler;
import lombok.Getter;
import lombok.experimental.Accessors;
import r01f.types.url.Host;
import r01f.types.url.Url;
import r01f.types.url.UrlPath;
import r01f.types.url.UrlQueryString;
import r01f.util.types.Strings;
@Accessors(prefix="_")
public class R01HLODHandledURIDataForClientRedire... | true |
638cc98f64d3947b2a2e77b901f129933b181d2c | Java | truonghan0812/SpringJPA | /src/main/java/com/truonghan/entities/PostPart.java | UTF-8 | 953 | 2.25 | 2 | [] | no_license | package com.truonghan.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@Entity
@Table(name="Post_Part"... | true |
fdd751a9a1ef3a0302ce7d21cd0cd044236bbfd6 | Java | Jearchen/JavaDemo | /src/Socket/SimpleServer/BIO/TCPServer.java | UTF-8 | 926 | 2.984375 | 3 | [] | no_license | import java.net.Socket;
import java.net.ServerSocket;
import java.net.InetAddress;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
public class TCPServer{
public static void transFormSocket(ServerSocket sServer) throws IOException{
whi... | true |
76bed50cbff4f450b8088bedeb335a1e41d283af | Java | marktype/newStock | /app/src/main/java/com/example/drawer/stockapp/activity/XueTangclassifyListActivity.java | UTF-8 | 6,368 | 1.953125 | 2 | [] | no_license | package com.example.drawer.stockapp.activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ImageView;
import androi... | true |
7d9b0ff00df4f0c1d9a7d2c9a17b1277a6645a01 | Java | google/desugar_jdk_libs | /jdk11/src/addon/java/wrapper/java/nio/file/attribute/PosixFileAttributeViewConversions.java | UTF-8 | 5,703 | 1.90625 | 2 | [] | no_license | /*
* Copyright (c) 2021 Google LLC
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Google designates this
* particular file as subject to the "Classpath" exception as provi... | true |
507238ab3e2933682011a243e80e03cbb9caac65 | Java | a5vh/APCS | /Chapter 3/src/Factorials.java | UTF-8 | 753 | 3.765625 | 4 | [] | no_license | /**
* Created by 19augusthummert on 10/20/2017.
*/
import java.util.Scanner;
public class Factorials {
public static void main(String[] args) {
int x, y, answer;
Scanner scan = new Scanner(System.in);
answer = 1;
y = 1;
System.out.print("Enter an integer: ");
x ... | true |
88539117b37b52f6ab38e042299c823436cbc572 | Java | liushaobot/LeeCode | /3Sum.java | UTF-8 | 3,015 | 3.484375 | 3 | [] | no_license | /*
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the
array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c)
The solution set must not contain duplicate triplets.
For ex... | true |
fcef3475f68e8514c464f2ccd04191a03f5ccf04 | Java | shiyunlai/tistools | /tools-maven-plugin/src/main/java/org/tis/tools/maven/plugin/freemarker/ext/HumpClassName.java | UTF-8 | 780 | 2.546875 | 3 | [] | no_license | /**
*
*/
package org.tis.tools.maven.plugin.freemarker.ext;
import java.util.List;
import org.tis.tools.maven.plugin.utils.CommonUtil;
import org.tis.tools.maven.plugin.utils.FreeMarkerUtil;
import freemarker.template.TemplateMethodModel;
import freemarker.template.TemplateModelException;
/**
*
* 采用驼峰规则进行类名命名... | true |
bfd42eb733354fdfaf7446e87a6583487d627d0c | Java | anferente20/FIS | /Implementacion/Cliente/Módulo Boleteria/src/edu/udistrital/fis/boleteria/persistencia/FachadaBoleteria.java | ISO-8859-1 | 3,734 | 2.71875 | 3 | [] | no_license | package edu.udistrital.fis.boleteria.persistencia;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import edu.udistrital.fis.boleteria.logica.Asiento;
import edu.udistrital.fis.boleteria.logica.Funcion;
public class FachadaBoleteria {
GestorBoleteria gestor;
private Fachada... | true |
37f84739de8413c32acd7f31c022a04d7e180161 | Java | ashns/Project3 | /src/Date.java | UTF-8 | 6,211 | 3.953125 | 4 | [] | no_license | import java.util.Calendar;
import java.util.StringTokenizer;
/**
* Represents a calendar date and its properties.
* Provides parameterized constructor to create specific dates, and a default
* constructor creating a Date object with representing today's date.
* Provides accessor methods: getDay, getMonth, getYear... | true |
62a1b0e4143741acc80d3b9413e7ba77293b3d7b | Java | akkaha/egg-shop | /src/main/java/cc/akkaha/shop/controllers/StatisticsController.java | UTF-8 | 3,815 | 2.046875 | 2 | [] | no_license | package cc.akkaha.shop.controllers;
import cc.akkaha.shop.controllers.model.StatisticsQuery;
import cc.akkaha.shop.controllers.model.StatisticsResponse;
import cc.akkaha.shop.db.model.OrderItem;
import cc.akkaha.shop.db.model.Price;
import cc.akkaha.shop.db.service.OrderItemService;
import cc.akkaha.shop.model.ApiRes;... | true |
fb7cfade99146a4d323f9571758326c503a0db2f | Java | Mur3ph/network-socket-jabber | /src/main/ie/murph/network/run.java | UTF-8 | 385 | 2.125 | 2 | [] | no_license | package main.ie.murph.network;
import java.io.IOException;
public class run {
// private final static Scanner scanner = new Scanner(System.in);
// private final static int PORT = 6666;
public static void main(String[] args) throws IOException {
// System.out.println("Enter IP Address: ");
// String ipAddress = ... | true |
2afffc5b77fbb06a5afff8d5394c195d0df7b2a0 | Java | heimdall-muliy/wisdom_teaching | /src/main/java/com/julius/wisdom_teaching/web/login/LoginController.java | UTF-8 | 3,105 | 2.390625 | 2 | [] | no_license | package com.julius.wisdom_teaching.web.login;
import com.julius.wisdom_teaching.domain.entity.User;
import com.julius.wisdom_teaching.service.UserService;
import com.julius.wisdom_teaching.util.CommonResult;
import com.julius.wisdom_teaching.util.GlobalUrlMapping;
import org.apache.shiro.SecurityUtils;
import org.apac... | true |
abe7bbb4f4d68193e190a7b728a4676a7728674d | Java | priyankadash2000/AutomationScriptsPriyanka | /bankId/src/test/java/testcases/TestListener.java | UTF-8 | 1,721 | 2.28125 | 2 | [] | no_license | package testcases;
import org.testng.ITestContext;
import org.testng.ITestListener;
import org.testng.ITestResult;
import com.aventstack.extentreports.ExtentReports;
import com.aventstack.extentreports.ExtentTest;
import com.aventstack.extentreports.Status;
public class TestListener implements ITestListener {
pr... | true |
1326fcabeec01b0d5c9714a94e94a4c01730694d | Java | LyeJiaKang/MVPEmployeeSalaryManagement | /src/main/java/com/springboot/app/utils/EnhancedPagable.java | UTF-8 | 479 | 2.109375 | 2 | [] | no_license | package com.springboot.app.utils;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
public class EnhancedPagable extends PageRequest{
private static final long serialVersionUID = 1L;
private int offset;
public EnhancedPagable(int offset, int limit,Sort sort){
... | true |
6954276f44c1836dc97d88e763e3026b364497bd | Java | DDSurok/map-sticks | /datamapping/src/ru/ddsurok/datamodel/db/GeometricPoint.java | UTF-8 | 661 | 2.703125 | 3 | [] | no_license | package ru.ddsurok.datamodel.db;
import ru.ddsurok.datamodel.ws.XYPoint;
public class GeometricPoint extends XYPoint implements java.io.Serializable {
private int Id;
public GeometricPoint() {
this.X = 0;
this.Y = 0;
}
public GeometricPoint(XYPoint p) {
... | true |
007a07ba76747bbca9221064b512ce4df9829470 | Java | sankoktas/LetterSizePaper | /code.java | UTF-8 | 718 | 3.78125 | 4 | [] | no_license | # LetterSizePaper
This program converts dimensions of a letter from inches to milimeters
public class KFS_LetteSizePaper_Main
{
public static void main (String[] args)
{
final double conversion_inch_to_mm = 25.4;
double width_in_inch = 8.5;
double length_in_inch = 11;
... | true |
e5d793ba646ee740f69ea697c33118516771da68 | Java | testleaf-software/devtools-webdriver | /src/main/java/com/qeagle/devtools/protocol/types/css/CSSMedia.java | UTF-8 | 3,209 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | package com.qeagle.devtools.protocol.types.css;
/*-
* #%L
* cdt-java-client
* %%
* Copyright (C) 2018 - 2019 TL
* %%
* 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://w... | true |
471bee5d383e415f3e013b7689521d1f6bca34f9 | Java | PlusL/mobile-app | /HS2069/app/src/main/java/com/hs2069/hs2069/RecordActivity.java | UTF-8 | 4,005 | 2.046875 | 2 | [] | no_license | package com.hs2069.hs2069;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListVie... | true |
ec8fb96c4885dfe06aac061d9f2c0b201ec87072 | Java | jyyconrad/itms-sip | /src/main/java/javaforce/GetPassword.java | UTF-8 | 5,831 | 2.34375 | 2 | [] | no_license | package javaforce;
/*
* GetPassword.java
*
* Created on August 3, 2007, 1:57 PM
*
* @author pquiring
*/
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
public class GetPassword extends javax.swing.JDialog {
/**... | true |
493fc4893f80a3236a4f44eccb4f11c3375294f8 | Java | YobanyNivia/gestionClientePolimorfismoHerencias_master | /src/test/resources/clases/Clientes.java | UTF-8 | 888 | 2.515625 | 3 | [] | no_license | package clases;
import java.awt.List;
public class Clientes {
private String nombre;
private String telefono;
private String direccion;
private List producto;
public Clientes() {
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre... | true |
da56eaf31c7de8ce827491fb69b4ea1781424cfe | Java | ICRISAT-SBDM/ismu | /src/main/java/com/icrisat/sbdm/ismu/util/PathConstants.java | UTF-8 | 1,258 | 1.921875 | 2 | [] | no_license | package com.icrisat.sbdm.ismu.util;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@Component("pathConstants")
@... | true |
d29aef4d85ad5180514625665ce3d1b0824061e3 | Java | JungHoonGhae/service-reservation | /src/main/java/com/h3/reservation/slack/dto/response/common/ModalSubmissionType.java | UTF-8 | 1,009 | 1.96875 | 2 | [] | no_license | package com.h3.reservation.slack.dto.response.common;
import com.fasterxml.jackson.annotation.JsonValue;
public enum ModalSubmissionType {
RETRIEVE_INPUT("retrieve_input"),
RETRIEVE_RESULT("retrieve_result"),
RESERVE_INPUT("reserve_input"),
RESERVE_DATETIME_INPUT("reserve_datetime_input"),
RESERVE... | true |
8b9b4bc72ea479c76d2aad2d7ca79ca26cf7ff63 | Java | andresoranzzo/PacketCapture | /app/src/main/java/com/example/capturepacket/CapturePacket.java | UTF-8 | 2,524 | 2.375 | 2 | [] | no_license | package com.example.capturepacket;
import android.annotation.SuppressLint;
import android.os.CountDownTimer;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import java.io.IOException;
public class CapturePacket {
Thread t;
public CapturePa... | true |
51201432e5b1dd18c87f972282d53a4458316a8c | Java | monadius/hol-ssreflect | /src/edu/pitt/math/hol_ssreflect/ssreflect/parser/tree/FirstLastNode.java | UTF-8 | 960 | 2.828125 | 3 | [
"MIT"
] | permissive | package edu.pitt.math.hol_ssreflect.ssreflect.parser.tree;
/**
* first tactic
* last tactic
*/
public class FirstLastNode extends LeftAssociativeTacticNode {
// If true then 'first tactic' else 'last tactic'
private boolean firstFlag;
// Tactic
private TacticNode tactic;
/**
* Default constructor
*/
pub... | true |
7b5e864598a6e8d4ade6eb11011e109b99f0e451 | Java | AndreasHaug/Compila10 | /app/src/main/java/bytecode/instructions/Instruction.java | UTF-8 | 235 | 2.21875 | 2 | [] | no_license | package bytecode.instructions;
import runtime.Interpreter;
public abstract class Instruction {
public abstract byte[] getBytecode();
public abstract int size();
public abstract String toString(Interpreter interpreter);
}
| true |
255697fdae8f3124628db325885f237c4375c4c9 | Java | BaiJunJie123/spring2 | /spring2/quartz3003/src/main/java/com/ln/utils/Ce.java | UTF-8 | 1,683 | 2.546875 | 3 | [] | no_license | package com.ln.utils;
import org.junit.jupiter.api.Test;
import org.quartz.Job;
import org.springframework.scheduling.quartz.QuartzJobBean;
import java.util.Scanner;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author 白俊杰
* @Date 2019/12/30
* @Descript... | true |
c8d69e0848700905a0873857b1c2467da2f7a891 | Java | LouisHQ/lazycowprojects | /Android.LazyAlarm/src/com/lazycowprojects/lazyalarm/TimerViewFactory.java | UTF-8 | 905 | 2.546875 | 3 | [] | no_license | package com.lazycowprojects.lazyalarm;
import android.content.Context;
import android.util.Log;
import com.lazycowprojects.libs.DateHelper;
import java.util.Date;
/**
* Generates the Timer classes
* User: Rolf
* Date: 18/08/11
*/
public class TimerViewFactory {
private static final String TAG... | true |
ab2982c718b31242bd7b3eaafd020f08b8642ce5 | Java | ZSQ970509/HumenCheckWorkAttendance | /app/src/main/java/com/example/humencheckworkattendance/model/InsertGroupModel.java | UTF-8 | 3,045 | 2.0625 | 2 | [] | no_license | package com.example.humencheckworkattendance.model;
import android.support.annotation.NonNull;
import com.example.humencheckworkattendance.ProApplication;
import com.example.humencheckworkattendance.base.BaseModel;
import com.example.humencheckworkattendance.bean.GrouperBean;
import com.example.humencheckworkattendan... | true |
82ad919887994ab1493a278ce3deb74b6182a97b | Java | cavster/Colm | /colm/src/SalesPerson/SalesPerson.java | UTF-8 | 594 | 3.15625 | 3 | [] | no_license | package SalesPerson;
//This is the sales person super class the other two classes are types of persons
abstract class SalesPerson
{
private String name;
private int pps;
protected double totalSale;
protected double totalComision;
public SalesPerson(String salesPersonName,int ppsNumber)
{
name=salesPersonName... | true |
1b024e463c313b4ed8ee6de50736d80cf26483f0 | Java | pajoma/sapience-api | /modules/sapience-lookup-hibernate/src/main/java/sapience/lookup/hibernate/controller/ReferenceController.java | UTF-8 | 14,240 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | package sapience.lookup.hibernate.controller;
import java.util.Hashtable;
import java.util.List;
import java.util.Set;
import java.util.Map.Entry;
import java.util.logging.Level;
import org.hibernate.Criteria;
import org.hibernate.Query;
import org.hibernate.SQLQuery;
import org.hibernate.Transaction;
import sapienc... | true |
d57aecafa66268d0cb7f01bfdf047a57fba918f0 | Java | ShahmanTeh/MiFit-Java | /com/xiaomi/hm/health/bt/profile/b/j.java | UTF-8 | 4,312 | 2 | 2 | [] | no_license | package com.xiaomi.hm.health.bt.profile.b;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import com.xiaomi.hm.health.bt.c.x;
import com.xiaomi.hm.health.bt.d.b;
import com.xiaomi.hm.health.bt.d.d;
import com.xiaomi.hm.health.bt.d.e;
import com.xiaomi.hm.health.bt.d.f;
import com.xiaomi.hm.h... | true |
ee2ebd17798ea16b5aa40237c94bd6166584d13f | Java | SnorlaxLvl91/2DGameTemplate | /src/main/entity/Player.java | UTF-8 | 569 | 2.5 | 2 | [] | no_license | package main.entity;
import main.Party;
import main.Pokemon;
import main.battle.Opponent;
import java.util.Map;
import java.util.Random;
public class Player extends Entity{
public Party party;
public Player(Map<String, Object> def) {
super(def);
party = new Party(Map.of(
... | true |
ea63c7d2138a0f0592be304c82a8f3c6f6d32f48 | Java | zhanshen1373/Hseuse | /hse-dc-business/src/main/java/com/hd/hse/dc/business/common/result/EntityListWebResult.java | UTF-8 | 1,412 | 2.171875 | 2 | [] | no_license | package com.hd.hse.dc.business.common.result;
import com.google.gson.Gson;
import com.hd.hse.common.entity.SuperEntity;
import com.hd.hse.common.exception.HDException;
import com.hd.hse.dc.business.common.util.AbstractDataAdapter;
import com.hd.hse.entity.workorder.SxtBean;
import java.util.ArrayList;
import java.uti... | true |
f01eb5ab73003845436b5fd95a0a63c3eba5d056 | Java | xingyuezhiyun/ywq | /src/main/java/com/seeu/ywq/api/admin/page/HomePageUserApi.java | UTF-8 | 3,237 | 2.109375 | 2 | [] | no_license | package com.seeu.ywq.api.admin.page;
import com.seeu.core.R;
import com.seeu.ywq.exception.ActionParameterException;
import com.seeu.ywq.exception.ResourceAlreadyExistedException;
import com.seeu.ywq.exception.ResourceNotFoundException;
import com.seeu.ywq.page_home.model.HomeUser;
import com.seeu.ywq.page_home.servic... | true |
57a9c01b834e53e534899ae27bb93736419eaea1 | Java | danuluncasuen/oauth2 | /src/main/java/com/utm/prhttp/dao/DAO.java | UTF-8 | 715 | 1.914063 | 2 | [] | no_license | package com.utm.prhttp.dao;
import com.utm.prhttp.model.User;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.JpaRepository;
import o... | true |
89641967deb09ae0010ce00a39c500a99bf307c8 | Java | axelhzf/Fap-Module | /fap/app/controllers/popups/PopupUsuarioController.java | UTF-8 | 2,162 | 2.390625 | 2 | [] | no_license |
package controllers.popups;
import messages.Messages;
import models.Agente;
import play.Logger;
import controllers.gen.popups.PopupUsuarioControllerGen;
public class PopupUsuarioController extends PopupUsuarioControllerGen {
public static void editar(Long idAgente,Agente agente){
checkAuthenticity();
... | true |
bbfc751e6acf24e4048cfbbabf619bbfaf94c93a | Java | rdgonzrub/YGOAssistant | /src/main/java/com/example/user/yu_gi_ohassistant/PackViewer.java | UTF-8 | 352 | 1.53125 | 2 | [] | no_license | package com.example.user.yu_gi_ohassistant;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class PackViewer extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout... | true |
dc011b2b7ba0d3b91966f580e82f6f6b80088310 | Java | waleedkalyar/SummerProjects2018 | /ChatAppV2/app/src/main/java/com/example/waleed/chatappv2/LoginActivity.java | UTF-8 | 4,059 | 2.15625 | 2 | [] | no_license | package com.example.waleed.chatappv2;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import an... | true |
c3de61e10d826653cc305cf4f050dcf0e74ff721 | Java | taewankung/spw | /f2/spw/Bullet.java | UTF-8 | 1,285 | 3.0625 | 3 | [] | no_license | package f2.spw;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.AlphaComposite;
public class Bullet extends Sprite{
public static final int Y_TO_FADE = 100;
public static final int Y_TO_DIE = 60;
private int step = 10;
private boolean alive = true;
public... | true |
c8013b6b11a823c50329ba4dafbec9ef03b744d5 | Java | shiv4289/java_interviews | /problem_solving/geeksforgeeks/arrays/ReverseArray.java | UTF-8 | 580 | 3.4375 | 3 | [] | no_license | package geeksforgeeks.arrays;
import java.util.Collections;
import java.util.List;
/**
* Created by sourabh on 14/6/16.
*/
public class ReverseArray {
public static List iterativeReverse(List list) {
int size = list.size();
for (int i = 0; i < size / 2; i++)
Collections.swap(list, i... | true |
3d0c1582559b810977b554248eeb28a592f6fbea | Java | Mistuus/itp-notificator | /src/main/java/org/phantom/notificator/gui/ConfirmDetails.java | UTF-8 | 9,644 | 2.46875 | 2 | [] | no_license | package org.phantom.notificator.gui;
import org.joda.time.LocalDate;
import org.phantom.notificator.Constants;
import org.phantom.notificator.domain.Car;
import org.phantom.notificator.domain.CarOwner;
import org.phantom.notificator.mappers.CarMapper;
import org.phantom.notificator.mappers.CarOwnerMapper;
import java... | true |
0c4faeb8523dac3e77d8cd840b667c56570628cd | Java | talizaayu/tutorial-apap | /gopud/src/main/java/apap/tutorial/gopud/controller/MenuController.java | UTF-8 | 4,238 | 2.390625 | 2 | [] | no_license | package apap.tutorial.gopud.controller;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.... | true |
e77d28c8d076bc8e7601cdfa5e488e7af6d3591e | Java | tsukasa1420/jbasic | /practice/fundamentals/chapter04/sec07_override/No003.java | UTF-8 | 1,537 | 3.828125 | 4 | [] | no_license | package fundamentals.chapter04.sec07_override;
/*
* ユーザクラスを継承した一般ユーザクラスと管理者クラスを作成し、
* showメソッドをオーバーライドしてください。
* また、オーバーライドしたshowメソッド内で
* idとnameに任意の値を代入するように修正してください。
* 最後に、mainメソッド内でそれぞれのクラスをインスタンス化し、
* showメソッドを実行するプログラムを作成してください。
*/
public class No003 {
public static void main(String[] args) {
G... | true |
6da8c763616488d802b9a6f1c35fc4461bbe4127 | Java | natslash/blackbox-tests | /src/test/java/com/axoom/srs/it/AxoomCreateSrsTestsIT.java | UTF-8 | 19,033 | 1.820313 | 2 | [] | no_license | package com.axoom.srs.it;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.http.client.utils.URIBuilder;
import org.openqa.selenium.WebDriver;
import org.testng.Assert;
impo... | true |
9855f9911f3f459ff27f5b727cbc131144ad8df0 | Java | caihj/simpleServletContainer | /src/main/java/io/netty/example/http/servletcontainer/net/NettyHttpServletResponse.java | UTF-8 | 12,409 | 1.976563 | 2 | [] | no_license | package io.netty.example.http.servletcontainer.net;
import com.sun.xml.internal.fastinfoset.util.CharArray;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
impor... | true |
56af6f100699238c812be06361d3b9f416f44bda | Java | Bubu/android-calculatorpp | /jscl/src/main/java/jscl/util/ArrayUtils.java | UTF-8 | 3,225 | 3.125 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package jscl.util;
import javax.annotation.Nonnull;
import java.util.*;
public class ArrayUtils {
private static final int BINARY_SEARCH_THRESHOLD = 5000;
private ArrayUtils() {
}
public static Object[] concat(Object o1[], Object o2[], Object res[]) {
System.arraycopy(o1, 0, res, 0, o1.leng... | true |
6e7cc9a6a70dbec0f3dec6ca5af638a0ea6ed2f8 | Java | naiaden/aHCI | /Poetrist/src/nl/naiaden/ahci/poetrist/lexicon/Sense.java | UTF-8 | 671 | 2.421875 | 2 | [] | no_license | /**
*
*/
package nl.naiaden.ahci.poetrist.lexicon;
import java.io.Serializable;
/**
* @author Ding
* @author louis
*
*/
public class Sense implements Serializable
{
/**
*
*/
private static final long serialVersionUID = 2175656299958194271L;
private String sense;
public Sense(String sense)
{
this.... | true |
08b8b410ce9b6f108c6f9e900ee5347dbc1d5d30 | Java | mrjoechen/AndroidAdvancePractices | /pluginapp_host/src/main/java/com/chenqiao/pluginapp_host/MainActivity.java | UTF-8 | 2,296 | 2.265625 | 2 | [] | no_license | package com.chenqiao.pluginapp_host;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.lang.reflect.Method;
public class MainActivi... | true |
f20a58840a526552717205582ed8c2f3e8eb0f8d | Java | jquedena/explora-titania | /java/test/SistemaSDOWeb/src/igrupobbva/pe/sistemasdoweb/util/SessionFilter.java | UTF-8 | 3,019 | 2.078125 | 2 | [] | no_license | package igrupobbva.pe.sistemasdoweb.util;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.Ser... | true |
19b9ba74b5310dea74c7d2ebe470b1650bc7ff80 | Java | Mwebia-Dennis/banking-system-erp | /src/main/java/com/penguins/bankingsystemerp/user_interface/templates/ProfileTemplate.java | UTF-8 | 6,105 | 2.421875 | 2 | [] | no_license | package com.penguins.bankingsystemerp.user_interface.templates;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing... | true |
4e4bfae0d830bd93d915ea1ae9154c1dae8cefa4 | Java | brotherdetjr/tugoserya | /src/main/java/com/tugoserya/model/Kid.java | UTF-8 | 691 | 2.375 | 2 | [] | no_license | package com.tugoserya.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.LocalDate;
public class Kid {
private final String name;
private final LocalDate birthday;
private final String accountId;
@JsonCreator
public Kid(@JsonProper... | true |
88f83f3ca80be76b19fbb79e640dda7f555e8fa0 | Java | isenhome/cvicse.client | /src/cvicse/client/isen/framework/util/DeviceUtil.java | UTF-8 | 2,904 | 2.15625 | 2 | [] | no_license | package cvicse.client.isen.framework.util;
import java.util.List;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.telephony.TelephonyManager;
import android.util.DisplayMetrics;
import android.view... | true |
9907e096506c423ef0df6cc6a533696be1d032c9 | Java | JasperLe/HomeBrew-Java | /deckofcards/DeckOfCards.java | UTF-8 | 4,691 | 3.890625 | 4 | [] | no_license | /*
* Author: Jasper Lelijveld
* Based on: Think Java: How to Think Like a Computer Scientist
* Time spent: +- 3 hours
*
*
* First java application written by the author.
* It simulates a deck of cards
* with separed hands, all with some appropriate methods.
*/
package deckofcards;
/**
*
* @... | true |
6753417100d789702a2d518014c105257cefc64b | Java | ibibii/Sample01 | /patternmodel/src/main/java/com/example/prototype/Square.java | UTF-8 | 520 | 2.703125 | 3 | [] | no_license | package com.example.prototype;
/**
* 项目名称:PropAnimation
* 应用包名 :com.example.prototype
* 创建人:爬格の瘦書生
* Email :1277502644@QQ.com
* 创建时间:2016/12/29 15:03
* 修改人:Administrator
* 修改时间:2016/12/29 15:03
* 类描述:
* 修改备注:
*
* @version :
*/
public class Square extends Shape {
public Square(){
type = "Squar... | true |
3cadad999d2246bee59e4d4e7bf23fb31c3a2404 | Java | Youngfellows/OkHttpNetwork | /sample-okhttp/src/main/java/com/zhy/sample_okhttp/pojo/holiday/foreign/ForeignHoliday.java | UTF-8 | 2,185 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive |
package com.zhy.sample_okhttp.pojo.holiday.foreign;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ForeignHoliday {
private String kind;
private String etag;
private String summary;
private String updated;
private String timeZone;
private String accessRol... | true |
5f0aef7a00c98449c65f697c12e4e81c03490b33 | Java | lypgod/DistributedTransactionDemo | /10_Seata_Demo/11_Bank_Service_1/src/main/java/com/lypgod/demo/dtx/seata/bank1/feign/Bank2FeignClientFallback.java | UTF-8 | 319 | 1.890625 | 2 | [] | no_license | package com.lypgod.demo.dtx.seata.bank1.feign;
import org.springframework.stereotype.Component;
/**
* @author Administrator
* @version 1.0
**/
@Component
public class Bank2FeignClientFallback implements Bank2FeignClient {
@Override
public String transfer(Double amount) {
return "fallback";
}
} | true |
dabf4d5dac3b2fe7a2eb2475f63be6ad22c77f6e | Java | durl139/mm | /Human.java | UTF-8 | 247 | 2.703125 | 3 | [] | no_license |
public class Human {
public String name;
protected int age;
private int money;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void sleep() {
}
}
| true |
25451bf111e7aefb74f40968313826c19f73ede6 | Java | aleksandarb99/Apoteka_Projekat | /Backend/PharmacyProject/src/main/java/com/team11/PharmacyProject/medicineFeatures/manufacturer/ManufacturerService.java | UTF-8 | 213 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package com.team11.PharmacyProject.medicineFeatures.manufacturer;
import java.util.List;
public interface ManufacturerService {
List<Manufacturer> getAllManufacturers();
void addNew(Manufacturer mt);
}
| true |
cc3a77f6ef613172d2691e3870441db5ae9d4f12 | Java | huluohu/mamahao-message | /mamahao-message-rabbitmq/mamahao-message-rabbitmq-consumer-demo/src/main/java/com/mamahao/message/rabbitmq/consumer/demo/listener/DemoQueueListener.java | UTF-8 | 581 | 2.234375 | 2 | [] | no_license | package com.mamahao.message.rabbitmq.consumer.demo.listener;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;
/**
* Company : mamahao.com
* author : guxiaolong
* Date : 2016/11/4
* Time : 17:46
* Description :
*/
pu... | true |
92f59f0d9bcfb69144ded47e0190d7cac791c1b1 | Java | gdnwxf/guava | /src/main/java/com/wch/guava/event/OrderEvent.java | UTF-8 | 227 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package com.wch.guava.event;
class OrderEvent {
private String message;
public OrderEvent(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
} | true |
868f176612c862863893096342d127a790de13a7 | Java | svn2github/crux-framework | /branches/crux/old/1.1.0/CruxHtmlTags/src/br/com/sysmap/crux/tools/htmltags/CruxToHtmlTransformer.java | ISO-8859-2 | 7,883 | 1.851563 | 2 | [] | no_license | /*
* Copyright 2009 Sysmap Solutions Software e Consultoria Ltda.
*
* 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
*
* Unles... | true |
2668ca0fd71b721ad331fb8228926cdc1bfc5038 | Java | ctarabusi/SoundCheckAndroid | /app/src/main/java/s2m/soundcheck/waveformplotusecase/view/WaveformFragment.java | UTF-8 | 1,329 | 1.992188 | 2 | [] | no_license | package s2m.soundcheck.waveformplotusecase.view;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.Bind;
import butterknife.ButterKnife;
import s2m.soundcheck.FragmentWithTitle;
import s2m.soundcheck.R;
/**
* Created by cta on 1... | true |
e8b78ecac015aaf1f2868b88170d6e955bb33859 | Java | SyariefLhe/AndroidSpreadsheets | /app/src/main/java/com/riefdroid/androidspreadsheets/InterfaceFileJson.java | UTF-8 | 292 | 1.695313 | 2 | [
"MIT"
] | permissive | package com.riefdroid.androidspreadsheets;
import java.util.ArrayList;
public interface InterfaceFileJson {
interface save{
void successSimpan(String message);
}
interface list{
void ListRegistration(ArrayList<RegistrationModel> registrationModels);
}
}
| true |
6ff31399b171ef451a860703dd422423cc9335b0 | Java | yurileader/financas-api | /src/main/java/com/yurileader/financasapi/controller/LancamentoController.java | UTF-8 | 2,634 | 2.203125 | 2 | [] | no_license | package com.yurileader.financasapi.controller;
import com.yurileader.financasapi.config.event.RecursoCriadoEvent;
import com.yurileader.financasapi.dto.LancamentoDTO;
import com.yurileader.financasapi.dto.LancamentoDTOInput;
import com.yurileader.financasapi.model.Lancamento;
import com.yurileader.financasapi.service.... | true |
98cc40a069a0c7c6c117a3a8fc52bcc9a76ed39f | Java | xjvcm/intro-to-java-answers | /CH2/c2e2/c2e2.java | UTF-8 | 351 | 3.125 | 3 | [] | no_license | /**
* (Compute the volume of a triangle) Write a program that reads in the
* length of sides of an equilateral triangle and computes the area and
* volume using the following formulas:
* area = ((sqrt(3)) / 4) * ((length of sides)^2)
* volume = area * length
*/
public class c2e2 {
public static void main(St... | true |
573c1042d08e776f71ae50636c2e728d30472a7a | Java | i-novus-llc/n2o-framework | /examples/crud/src/test/java/net/n2oapp/framework/tutorial/crud/CrudAT.java | UTF-8 | 2,769 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package net.n2oapp.framework.tutorial.crud;
import com.codeborne.selenide.Selenide;
import com.codeborne.selenide.logevents.SelenideLogger;
import io.qameta.allure.selenide.AllureSelenide;
import net.n2oapp.framework.autotest.Colors;
import net.n2oapp.framework.tutorial.crud.model.CreatePage;
import net.n2oapp.framewo... | true |
6b25bd75337ac26031e99782314423951af3b168 | Java | Jagadambika/Java-Training-Assignment-NTT | /assignment 2/Association programs/Association program 2/Renault.java | UTF-8 | 309 | 2.03125 | 2 | [] | no_license | package com.Association;
public class Renault extends Car {
public void RenaultEngine()
{
CarEngine e=new CarEngine();
e.EngineChasisNo();
e.EngineStarts();
}
public void RenaultMusicPlayer()
{
MusicPlayer m=new MusicPlayer();
m.musicPlayer();
}
}
| true |
b28636e3d96b3b60aca5e8ab1a6fc5c43e0f6c00 | Java | lxwuchang/dtyd | /webwork/com/opensymphony/webwork/quickstart/MultiDirClassLoader.java | UTF-8 | 2,320 | 2.375 | 2 | [] | no_license | /*
* Copyright (c) 2002-2006 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.webwork.quickstart;
import java.net.URLClassLoader;
import java.net.URL;
import java.net.MalformedURLException;
import java.io.File;
import java.util.ArrayList;
/**
* Integration with Jetty.
*
* @author patrick
*/... | true |
8ab9c2018ee763b2acb592810cccf867a9051d7d | Java | Wehavecookies56/Kingdom-Keys-Re-Coded-1.9-WIP | /src/main/java/uk/co/wehavecookies56/kk/common/network/packet/server/SynthesisMaterialPickup.java | UTF-8 | 1,684 | 2.3125 | 2 | [] | no_license | package uk.co.wehavecookies56.kk.common.network.packet.server;
import java.io.IOException;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.network.PacketBuffer;
import net.minecraftforge.fml.relauncher.Side;
import uk.co.wehavecookies56.kk.common.container.in... | true |
64da8bb262579947371f40abebf083b42b833cce | Java | tjdals3862/Java | /1_Java/src/day08/Fish.java | UTF-8 | 368 | 3.671875 | 4 | [] | no_license | package day08;
public class Fish extends Animal{
String name;
Fish(){
super("물고기");
}
Fish(String name){
super("물고기");
this.name = name;
}
@Override
public void breath() {
System.out.println("아가미로 숨쉬기");
}
public void print() {
System.out.printf("동물[%s, %s, %s]%n", super.kind, this.k... | true |
c22c2003e9860a7793947155d600bc32a82ce5a5 | Java | IF-072/Product-Tracker | /RESTserver/src/test/java/com/softserve/if072/restservice/service/ShoppingListServiceTest.java | UTF-8 | 5,146 | 2.25 | 2 | [] | no_license | package com.softserve.if072.restservice.service;
import com.softserve.if072.common.model.Product;
import com.softserve.if072.common.model.ShoppingList;
import com.softserve.if072.common.model.User;
import com.softserve.if072.restservice.dao.mybatisdao.ShoppingListDAO;
import com.softserve.if072.restservice.exception.D... | true |
9f7175cb44d7b69f79ea69a9748c0f1f42cf7ce0 | Java | ab2312/springbootTest | /springBoot/entity/HotelRoomInfo.java | UTF-8 | 5,275 | 2.3125 | 2 | [] | no_license | package com.csst.hotelCrawler.entity;
import com.ccst.bigdata.entity.Pojo;
public class HotelRoomInfo extends Pojo {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column hotelRoomInfo.id
*
* @mbggenerated Thu Apr 09 17:20:49 CST 2015
... | true |
f152801931c7bdbd7f4dfd954a492d8d55813b71 | Java | JoosJuliet/algoStudy | /medium/1902/190227/jihun.java | UTF-8 | 3,003 | 2.875 | 3 | [] | no_license | import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
static final int INF = 99999999;
static int N = 0;
static int curX = 0;
static int curY = 0;
static int curMinLen =... | true |
2647e0343faa353b5494bcb55e70d97c94b9cc2f | Java | Karl-Mattias/goblint-output-analyser | /src/main/java/ee/ut/data/ProtectorType.java | UTF-8 | 117 | 1.59375 | 2 | [] | no_license | package ee.ut.data;
/**
* Created by Karl-Mattias on 08.04.2017
*/
public enum ProtectorType {
LOCK, THREAD
}
| true |
37d284997d6b2981922a3024d8051f9a4b6377f8 | Java | Sixtisam/depa | /jdraw-assignment/src/main/java/jdraw/std/StdDrawModel.java | UTF-8 | 3,372 | 2.6875 | 3 | [] | no_license | /*
* Copyright (c) 2018 Fachhochschule Nordwestschweiz (FHNW)
* All Rights Reserved.
*/
package jdraw.std;
import java.util.ArrayList;
import java.util.stream.Stream;
import jdraw.commands.AddFigureCommand;
import jdraw.commands.StackDrawCommandHandler;
import jdraw.framework.DrawCommandHandler;
import jdraw.fra... | true |
6dd6374e430629a78695a2ae27c3a418e9d4a9ce | Java | jecky100000/juyo-new-visa | /src/main/java/com/juyo/visa/entities/TReceiveaddressEntity.java | UTF-8 | 837 | 1.8125 | 2 | [] | no_license | package com.juyo.visa.entities;
import org.nutz.dao.entity.annotation.*;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
@Data
@Table("t_receiveaddress")
public class TReceiveaddressEntity implements Serializable {
private static final long serialVersionUID = 1L;
@Id(auto = true)
private ... | true |
ad0faa896471fe7ed5636fed8f2665bfaa414cb2 | Java | JitendraKumar7/RxAndroid | /app/src/main/java/info/rxandroid/MainActivity.java | UTF-8 | 10,731 | 1.789063 | 2 | [] | no_license | package info.rxandroid;
import android.os.Bundle;
import android.view.View;
import butterknife.ButterKnife;
import butterknife.OnClick;
import info.rxandroid.base.BaseActivity;
import info.rxandroid.basics.Example1Activity;
import info.rxandroid.basics.Example2Activity;
import info.rxandroid.basics.Example3Activity;
... | true |
60bee4eae2d5ac778a62b2cebf41e4f58fee43f6 | Java | prebid/prebid-mobile-android | /tools/drprebid/src/main/java/org/prebid/mobile/drprebid/ui/viewholders/DividerViewHolder.java | UTF-8 | 396 | 1.664063 | 2 | [
"Apache-2.0"
] | permissive | package org.prebid.mobile.drprebid.ui.viewholders;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
public class DividerViewHolder extends RecyclerView.ViewHolder implements SettingsViewHolder {
public DividerViewHolder(@NonNull View itemView) {
... | true |
ea79c30ab88656c722130142726c1c14be857162 | Java | psyuhen/cjh_sell | /src/com/cjh/activity/LimitTimeAddActivity.java | UTF-8 | 4,705 | 2.125 | 2 | [] | no_license | package com.cjh.activity;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import org.kymjs.aframe.ui.widget.KJListView;
import org.kymjs.aframe.ui.widget.KJListView.KJListViewListener;
import android.content.Intent;
import android.os.Bundle;
import android.view.View... | true |
a2224fc3feff2a27247d8104ea18c7c98f7ea85d | Java | kanlili/java-stream-collection-2019-7-11-9-21-55-101 | /Add.java | UTF-8 | 1,966 | 2.96875 | 3 | [] | no_license | package com.thoughtworks.collection;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.List;
public class Add {
public int getSumOfEvens(int leftBorder, int rightBorder) {
List<Integer> list=new ArrayList<Integer>();
for(int i=leftBorder;i<rightBorde... | true |