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
17b38a6cd9bcc2200ae60f57d7530d7941fd6841
Java
tylerg05/tgardella-U3-ParkingApp
/src/RandomTimeGenerator.java
UTF-8
591
3.09375
3
[]
no_license
import java.time.LocalTime; import java.util.Random; /** * Generate a random time. */ public class RandomTimeGenerator { private final int ZERO_MINUTES = 0; public RandomTimeGenerator() { } public LocalTime generateTimeAtCheckIn() { Random rand = new Random(); int hour = rand.nextI...
true
16ac2edbeeeb70bd19df2667738714fe6710f01c
Java
LavuMaha/LavuMaha-Fetch-Rewards-Coding-Exercise---SDET
/WeighGame/src/com/WeighGame/pom/WeighResetButton.java
UTF-8
559
2.546875
3
[]
no_license
package com.WeighGame.pom; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class WeighResetButton { @FindBy(id = "weigh") private WebElement weighButton; @FindBy(id = "reset") private W...
true
2b3c3c0fb32618aae277e0b8e93ce2318b0d6f5f
Java
QuintenDavis/JavaSessions5Assignment4
/ICICIBank.java
UTF-8
64
1.570313
2
[]
no_license
public class ICICIBank { int getRateOfInterest(){return 7;} }
true
1b048eb1f868e095a5add80efe5b6e72d808819f
Java
BhartiSwami/codelikepro
/JAVALOVE/src/javalove/gharBuilding.java
UTF-8
591
2.78125
3
[]
no_license
package javalove; public class gharBuilding { public static void main(String[] args) { ghar g1=new ghar(); ghar g2=new ghar(); g1.size=10; g1.color="red"; g1.prize=100; g2.size=20; g1.color="green"; g1.prize=1000; gharBadlo(g1,g2); System.out.println(g1.size); System.out.println(g1.color); Sy...
true
0761804b9113188559dab48650dbaadf12b2e4e1
Java
gabrilogos1985/springintegration-actionexamples
/spring-integration-examples/src/paz/gps/integration/channel/ChargedBooking.java
UTF-8
706
2.390625
2
[]
no_license
package paz.gps.integration.channel; import java.math.BigDecimal; public class ChargedBooking { private BookingRequestConfirmation booking; private BigDecimal price; public ChargedBooking(final BookingRequestConfirmation bookingValue) { this.booking = bookingValue; } public void setBookingPrice...
true
315e3017d4cfe73815745120dc9650fbf4a4f2e7
Java
lshyamsv/Java_Playground
/Z_Programming/src/leetcode/Twosumrework.java
UTF-8
991
3.171875
3
[]
no_license
package leetcode; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class Twosumrework { public int[] twoSum(int[] nums, int target) { if(nums.length==0||nums.length<1) return new int[0]; int [] result = new int [2]; Map<Integer, Int...
true
596a8403e049a7dd1c87169c2c6eba119519641d
Java
LTTPP/Eemory
/org.lttpp.eemory/src/org/lttpp/eemory/exception/NoDataFoundException.java
UTF-8
253
2.09375
2
[ "MIT" ]
permissive
package org.lttpp.eemory.exception; @SuppressWarnings("serial") public class NoDataFoundException extends Exception { public NoDataFoundException() { } public NoDataFoundException(final String message) { super(message); } }
true
9972d9b1985662f3a628fc6aed72d71cdd62648f
Java
roqbez/doctoral-thesis-soa-resilience-architecture
/catalog/services/interfaces/src/main/java/br/ufsc/gsigma/catalog/services/interfaces/CatalogService.java
UTF-8
417
1.617188
2
[]
no_license
package br.ufsc.gsigma.catalog.services.interfaces; import javax.jws.WebService; import br.ufsc.gsigma.catalog.services.persistence.interfaces.CatalogPersistenceService; import br.ufsc.gsigma.catalog.services.specifications.interfaces.CatalogSpecificationService; @WebService public interface CatalogService e...
true
fc9442e4d4e198cde7a97b734b5ef5e9a87bcbf0
Java
riveros12/Quasar
/src/main/java/co/com/mercado/libre/domain/exception/QuasarException.java
UTF-8
413
2.234375
2
[]
no_license
package co.com.mercado.libre.domain.exception; public class QuasarException extends RuntimeException { private ErrorCode code; public QuasarException(String message, Throwable cause, ErrorCode code) { super(message, cause); this.code = code; } public ErrorCode getCode() { retu...
true
914af09d468e38038c6d9bc45ffaa3ccb4740215
Java
pradeepkumart/GremlinIntegration
/apiclient/src/main/java/com/gremlin/api/api/TemplatesApi.java
UTF-8
48,338
1.898438
2
[ "BSD-3-Clause" ]
permissive
/* * The Gremlin API * The API for interacting with Gremlin's 'Failure as a Service' * * OpenAPI spec version: v1 * Contact: support@gremlin.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. ...
true
7fa14f62392cb0aa46f9202f087ac2f4719a49de
Java
Garabito/hackerrank-crackingthecodinginterview
/FastClosestPoint2D/src/com/xplore/problems/URI1295.java
UTF-8
2,437
3.234375
3
[]
no_license
package com.xplore.problems; import com.xplore.solutions.ClosestPoint2D; import java.io.*; import java.text.DecimalFormat; import java.util.StringTokenizer; /** * https://www.urionlinejudge.com.br/judge/en/problems/view/1295 * */ public class URI1295 { private static final BufferedReader reader = new Buffer...
true
a470cf56eba308247b0855625838f59dad5030b9
Java
dkudernatsch/swe1-project
/src/mywebserver/web/http/parser/HeaderParser.java
UTF-8
1,199
2.625
3
[]
no_license
package mywebserver.web.http.parser; import mywebserver.util.parser.ParseResult; import mywebserver.util.parser.Parser; import mywebserver.util.parser.SimpleRegexParser; import java.util.AbstractMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import java.util.stream.Collectors; publ...
true
a4b90aeec06c37167120534100c439a9c2fbfac2
Java
vrqin/taxi
/taxi-e/smartkab-order/smartkab-order-protocol/src/main/java/com/speedtalk/protocol/tscobjs/ChangeGroup.java
UTF-8
499
1.976563
2
[]
no_license
package com.speedtalk.protocol.tscobjs; public class ChangeGroup extends OperateGrp { public ChangeGroup() { /* 13 */ super(53); } public ChangeGroup(String grpID) { /* 17 */ super(53, grpID); } public String toString() { /* 21 */ return super.toStr...
true
22f171d3bf16727c49c1678d5004daab2e9bcf1a
Java
1CSH1/util
/src/test/java/com/example/util/xml/TestXmlUtil.java
UTF-8
8,044
2.90625
3
[]
no_license
package com.example.util.xml; import com.example.util.json.Person; import org.dom4j.DocumentException; import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author James-CSH * @since 17-4-6 下午9:08 */ public class TestXmlUtil { @Test ...
true
69b1146fa60a8a179a376aa25237a60273db6265
Java
ahdahddl/cytoscape
/coreplugins/branches/Cyto-2.4.x_release_branch/QuickFind/src/csplugins/widgets/autocomplete/index/IndexFactory.java
UTF-8
786
2.5
2
[]
no_license
package csplugins.widgets.autocomplete.index; /** * Factory for creating Index objects. * * @author Ethan Cerami. */ public class IndexFactory { /** * Gets the default implementation of the TextIndex interface. * * @param indexType QuickFind.INDEX_NODES or QuickFind.INDEX_EDGES. * @return ...
true
94c6d0ebedc2ecd68eb66815b76ed55dda063c1c
Java
aws/aws-sdk-java-v2
/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/mapper/ImmutableAttribute.java
UTF-8
10,921
2.046875
2
[ "Apache-2.0" ]
permissive
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
true
d2262b843b98932baa90fe282b5eef761210f4fe
Java
whztt07/BIM-IFC
/bimserver/.svn/pristine/f0/f0fc17476f3dc12cf03c60a0585ca383093bbdfe.svn-base
UTF-8
4,514
1.71875
2
[]
no_license
/** * Copyright (C) 2011 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This prog...
true
47da2ee57a4dd267f0134b5b2aec94eea5e4b6c0
Java
Manifold0/adcom_decompile
/classes92-dex2jar/rx/internal/util/unsafe/SpscArrayQueue.java
UTF-8
2,511
2.265625
2
[]
no_license
// // Decompiled by Procyon v0.5.34 // package rx.internal.util.unsafe; import rx.internal.util.SuppressAnimalSniffer; @SuppressAnimalSniffer public final class SpscArrayQueue<E> extends SpscArrayQueueL3Pad<E> { public SpscArrayQueue(final int n) { super(n); } private long lvConsumerIndex(...
true
eaf4f272cd3f662d88857785fd9934b4b8c30221
Java
nonstriater/deep-in-java
/src/main/java/com/nonstriater/deepinjava/algo/tree/MirrorTree.java
UTF-8
1,348
4.0625
4
[]
no_license
package com.nonstriater.deepinjava.algo.tree; /** * 镜像, 翻转二叉树 * 就是交换每个节点的左右子节点 */ public class MirrorTree { private static class Node{ int value; Node left, right; public Node(int v){ this.value = v; } } public static void main(String[] args){ } /...
true
315108f77760123c6c929f54b7ea9c9bb02f4a4f
Java
nanomt88/demo
/spring-demo/src/main/java/com/nanomt88/demo/rocketmq/ApplicationContextProvider.java
UTF-8
718
2.125
2
[]
no_license
package com.nanomt88.demo.rocketmq; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; /** * Created by liudong on 16/12/15. */ @Component public class ApplicationContextProvider implements ApplicationCo...
true
e3ac79e0dfec8216513df0aa9f92b5e676a9427d
Java
LuoYeny/Arithmetic
/src/main/java/miltiThread/MyPCStack/MyStack.java
UTF-8
1,344
3.046875
3
[]
no_license
package miltiThread.MyPCStack; import java.util.LinkedList; import java.util.List; import java.util.Random; /** * @author 罗叶妮 * @version 1.0 * @date 2020/6/30 11:09 */ public class MyStack { private List<String> list=new LinkedList<>(); Random random= new Random(); public synchronize...
true
702d64f50c44d5bfce43abc05762992f752bdea2
Java
EugeneFedorov/OnlineShopProject
/OnlineShop/src/entity/Order.java
UTF-8
1,792
2.578125
3
[]
no_license
package entity; import java.time.LocalDate; import java.util.List; /** * Created by laonen on 15.01.2017. */ public class Order { private long id; private Customer customer; private String number; private List<GoodsInOrder> goodsInOrderList; private LocalDate openOrder; priva...
true
4633e0ee1e0b8696e87d964c41597b23b390ef92
Java
klebermo/basic_sqlite
/src/main/java/org/hello/DeleteItemFragment.java
UTF-8
1,129
2.09375
2
[]
no_license
package org.hello; import android.app.Activity; import android.os.Bundle; import android.app.Dialog; import android.app.DialogFragment; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; public class DeleteItemFragment extends DialogFragment...
true
d252e2c9ee2820a0eb5965b782dba855f4dd7d08
Java
AbdurRaafay/FriendBook
/BackEnd/src/main/java/com/friendbook/model/NotifiedUser.java
UTF-8
1,607
2.25
2
[]
no_license
package com.friendbook.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; @Document(collection = "NotifiedUsers") public class Notif...
true
3bea5ef70c38bee393a1c000d99babc63d3a8381
Java
prpaha/yandex-kassa-sdk-java
/src/main/java/ru/prpaha/yandex/kassa/domain/Currency.java
UTF-8
85
1.664063
2
[ "Apache-2.0" ]
permissive
package ru.prpaha.yandex.kassa.domain; public enum Currency { EUR, USD, RUB }
true
3acc562b52d7ad2c06d0dc794a1c5302f54b743a
Java
LucasAAndrade/grafos-dijkstra-java
/src/pck01/Grafo.java
UTF-8
543
2.53125
3
[]
no_license
package pck01; import java.util.ArrayList; public class Grafo { ArrayList<Vertice> listaVertice = new ArrayList<Vertice>(); ArrayList<Aresta> listaAresta = new ArrayList<Aresta>(); public ArrayList<Vertice> getListaVertice() { return listaVertice; } public void setVertice(Vertice listaVertic...
true
e0114f173f2779aa96aa166e55daf1f922fee952
Java
servicecatalog/development
/oscm-billing-unittests/javasrc/org/oscm/billingservice/business/calculation/revenue/model/UserAssignmentDetailsTest.java
UTF-8
5,111
2.265625
2
[ "Apache-2.0", "EPL-1.0", "BSD-3-Clause", "W3C", "LGPL-3.0-only", "CPL-1.0", "CDDL-1.1", "BSD-2-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-or-later", "CDDL-1.0", "Apache-1.1", "MIT", "LicenseRef-scancode-unknown-license-reference", "W3C-19980720", "LGPL-2.1-only", "...
permissive
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * * Author: Mike J&auml;ger ...
true
bd7965e27bdb5f6efa263cf7451459c813ba0735
Java
xueliline/ssss
/src/Solution9.java
UTF-8
547
3.1875
3
[]
no_license
public class Solution9 { public boolean isPalindrome(int x) { String string = String.valueOf(x); if(string.charAt(0)=='-') return false; if(x==2147483647) return false; StringBuilder stringBuilder =new StringBuilder(string); String string2=stringBuil...
true
422ed7aa3b2d21f9c44d8f24d29b0c22cc5f7085
Java
morariu05/DAM
/app/build/generated/data_binding_base_class_source_out/debug/out/com/example/myapplication/databinding/ActivityAutentificareBinding.java
UTF-8
4,488
1.835938
2
[]
no_license
// Generated by view binder compiler. Do not edit! package com.example.myapplication.databinding; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import androidx.annotation.NonNull...
true
e12faf5347de3971bdca389aeabc8d04e03c8fb5
Java
GoogleCloudPlatform/cloud-spanner-r2dbc
/cloud-spanner-r2dbc/src/test/java/com/google/cloud/spanner/r2dbc/v2/ArrayToIterableBinderTest.java
UTF-8
2,188
2.21875
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2022-2022 Google LLC * * 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 * * Unless required by applicable law or agree...
true
2f3b61f7f8ef84740ca81c313597b26b3dd4242a
Java
xbwcan/DigitalGym
/src/main/java/ViewController/AddLive.java
UTF-8
4,570
2.359375
2
[]
no_license
package ViewController; import Model.*; import Model.Control; import javafx.event.ActionEvent; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; import java.io...
true
e559b67332d40b375f4297909ac500975d865a03
Java
Coco001/CCI
/src/Ex_62.java
UTF-8
565
3.375
3
[]
no_license
/** * 请设计一个算法,计算n的阶乘有多少个尾随零。 * 给定一个int n,请返回n的阶乘的尾零个数。保证n为正整数。 * 测试样例: * 5 * 返回:1 */ public class Ex_62 { public int getFactorSuffixZero(int n) { // write code here if (n < 0) { return -1; } int count = 0; for (int i = 5; n / i > 0; i *= 5) {//统计该数中包含几个5的倍数;...
true
d7db7c1fd8b2f7463dd2fb64973768f0e2371b79
Java
TanXiaoXianSheng/myself
/es/src/main/java/cn/bcf/es/es/ElasticSearchUtil.java
UTF-8
1,455
2.21875
2
[]
no_license
package cn.bcf.es.es; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.TransportAddress; import org.elasticsearch.transport.client.PreBuiltTransportClient; import org.springframework.stereotype.Component; import jav...
true
769e314fbc09b87f4efa1bf6a43055a3e54edbc9
Java
dinamio/RunEventsParser
/src/test/java/TopRunnersParserTest.java
WINDOWS-1251
1,455
2.25
2
[]
no_license
import com.runeventsparser.bom.Result; import com.runeventsparser.bom.Sex; import com.runeventsparser.service.TopRunnersParser; import com.runeventsparser.service.VseProbegiParser; import org.junit.Test; import java.io.IOException; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.asse...
true
c79ec1c8555d2228ad34accfbc3dd6ad858370f6
Java
lethetann/angel
/angel-ps/core/src/main/java/com/tencent/angel/psagent/matrix/transport/router/value/DoubleValuesPart.java
UTF-8
1,334
2.40625
2
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
package com.tencent.angel.psagent.matrix.transport.router.value; import com.tencent.angel.common.ByteBufSerdeUtils; import com.tencent.angel.ps.server.data.request.ValueType; import com.tencent.angel.psagent.matrix.transport.router.ValuePart; import com.tencent.angel.psagent.matrix.transport.router.operator.IDoubleVal...
true
191fc9cfdc43d514695b4fed21badac0a22348bd
Java
johnivo/job4j
/chapter_011/src/main/java/ru/job4j/crud/servlet/UserCreateServlet.java
UTF-8
5,407
2.421875
2
[ "Apache-2.0" ]
permissive
package ru.job4j.crud.servlet; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileUploadException; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import ru.job4j.crud.datamodel.User; import ru.job4j.cru...
true
2829ddd4e2ef13d887e41478f7637a19e684285e
Java
german712/gvalverde
/src/calculadorais/Calculadora.java
UTF-8
155
1.859375
2
[]
no_license
/** * @author: German Valvarde * @version: 0.1.0 */ package calculadorais; public interface Calculadora { public double calcula(double x, double y); }
true
71c9d420dde1b32c07c602a9ea3e87c534943659
Java
zhanshilixinhao/GiftCircle
/app/src/main/java/com/chouchongkeji/mvc/controller/message/AppMessageController.java
UTF-8
2,698
2.078125
2
[]
no_license
package com.chouchongkeji.mvc.controller.message; import com.chouchongkeji.goexplore.common.Response; import com.chouchongkeji.goexplore.common.ResponseFactory; import com.chouchongkeji.goexplore.query.PageQuery; import com.chouchongkeji.service.message.MessageService; import com.yichen.auth.service.UserDetails; impor...
true
bce6e5d226ebd6afa4b483f9db738ded5a713548
Java
enaawy/gproject
/gp_JADX/android/support/v4/view/C0355l.java
UTF-8
1,210
1.671875
2
[]
no_license
package android.support.v4.view; import android.os.Handler; import android.os.Message; final class C0355l extends Handler { public final /* synthetic */ C0354k f1921a; C0355l(C0354k c0354k) { this.f1921a = c0354k; } public final void handleMessage(Message message) { switch (message.w...
true
a23f0350f016f7f10582d545f9a32d00ebb8e18c
Java
ZHENdong1203/androidAutoCompleteTextView
/app/src/main/java/com/example/myapplication2/MainActivity.java
UTF-8
1,537
2.171875
2
[]
no_license
package com.example.myapplication2; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.AutoCompleteTextView; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCo...
true
a854ff991e591ef1749658ca4dfcbb456938411a
Java
lejingw/wlscm
/src/com/jatools/manager/basic/impl/CreateOldbarCodeManagerImpl.java
UTF-8
768
2.265625
2
[]
no_license
package com.jatools.manager.basic.impl; import com.jatools.dao.basic.CreateOldbarCodeDao; import com.jatools.manager.basic.CreateOldbarCodeManager; public class CreateOldbarCodeManagerImpl implements CreateOldbarCodeManager { private CreateOldbarCodeDao createOldbarCodeDao; public void setCreateOldbarCodeDao(Creat...
true
99c0c5b1e93a6069129b592d704f7063687d5592
Java
tumblr/Backboard
/backboard/src/main/java/com/tumblr/backboard/imitator/SpringImitator.java
UTF-8
1,895
2.625
3
[ "Apache-2.0" ]
permissive
package com.tumblr.backboard.imitator; import androidx.annotation.NonNull; import com.facebook.rebound.Spring; import com.facebook.rebound.SpringListener; /** * Allows a {@link com.facebook.rebound.Spring} to imitate another {@link com.facebook.rebound.Spring}. * <p> * The default implementation sets the end valu...
true
4534a98119245ebe2764074fdccf1d7a8f72ae98
Java
mjchao/Physics-Engine-Library
/src/_math/Real.java
UTF-8
6,234
3.515625
4
[]
no_license
package _math; import java.math.BigDecimal; /** * represents a real number such as 1, 0.5, -1000 or 3.14 */ final public class Real implements Comparable < Real > { /** * the value -1 */ final public static Real NEGATIVE_ONE = new Real( -1 ); /** * the value 0 */ final public static Real ZERO = new R...
true
3c86c4e80b813170b3ea55f9ca3a4dad77640a03
Java
1ujin/LeetCode
/src/algorithms/SumOfSquareNumbers.java
UTF-8
986
3.828125
4
[]
no_license
package algorithms; public class SumOfSquareNumbers { // method 1 two-pointer public boolean judgeSquareSum1(int c) { int a = 0, b = (int) Math.sqrt(c); while (a <= b) { int d = a * a + b * b; if (c > d) a++; else if (c < d) ...
true
fc11bcc3093d7e23f0ba3380fc1a94b77c653cad
Java
peacefulfarms/Auction-House
/src/main/java/com/shadebyte/auctionhouse/auction/Receipt.java
UTF-8
2,649
2.3125
2
[]
no_license
package com.shadebyte.auctionhouse.auction; import com.shadebyte.auctionhouse.Core; import com.shadebyte.auctionhouse.util.NBTEditor; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import java.text.Nu...
true
eb3a23f5fc61d42b1c6c69458b88dbc31a5a6d39
Java
jonaymolero/WebHibernate2019
/src/java/Pojos/OcupacionId.java
UTF-8
1,656
2.1875
2
[]
no_license
package Pojos; // Generated 10-dic-2018 12:05:14 by Hibernate Tools 4.3.1 /** * OcupacionId generated by hbm2java */ public class OcupacionId implements java.io.Serializable { private String nhabitacion; private String fechae; public OcupacionId() { } public OcupacionId(String nhabitacio...
true
b0fc4cabdf2c10523093e719604ef05e31dd5b35
Java
YiyiSmile/TinyMall
/tinymall-order/src/main/java/indi/tom/tinymall/order/service/OrderReturnApplyService.java
UTF-8
467
1.53125
2
[]
no_license
package indi.tom.tinymall.order.service; import com.baomidou.mybatisplus.extension.service.IService; import indi.tom.common.utils.PageUtils; import indi.tom.tinymall.order.entity.OrderReturnApplyEntity; import java.util.Map; /** * 订单退货申请 * * @author tom098 * @email tom098@gmail.com * @date 2020-12-26 14:47:58 ...
true
19fba2f13560e9637801bb52089850bbef2c2c9c
Java
fq310/Algorithms
/Algorithms/src/leetcode_30/SymmetricTree.java
UTF-8
481
3.234375
3
[]
no_license
package leetcode_30; public class SymmetricTree { public boolean isSymmetric(TreeNode root) { if (root == null) return true; return isSymmetric(root.left, root.right); } private boolean isSymmetric(TreeNode a, TreeNode b) { if (a == null && b == null) return true; if (a =...
true
4882e7e7d60be807eabb0af0f9b4aa43694152a4
Java
caadi0/leetcode
/278. First Bad Version.java
UTF-8
597
3.390625
3
[]
no_license
/* The isBadVersion API is defined in the parent class VersionControl. boolean isBadVersion(int version); */ public class Solution extends VersionControl { public int firstBadVersion(int n) { int i = 1, j = n, mid = i + (j - i)/2 ; while(i <= j) { mid = i + (j - i)/2 ; ...
true
c8633253610c5c1155ebbb123badee15477fb5c0
Java
aorduyan/mentorcliq-tech-sessions
/src/com/patterns/pattern/facade/tool/SoundSystem.java
UTF-8
940
2.96875
3
[]
no_license
package com.patterns.pattern.facade.tool; import static java.lang.System.out; public class SoundSystem { public void setVolumeLow() { out.println("The sound volume is low."); } public void setVolumeMid() { out.println("The sound volume is medium."); } public void setVolumeHigh()...
true
87ca9a6f0ebbb47f37a7aa12f52cd8d4e28f3205
Java
BorjaSR/Molonometro
/app/src/main/java/com/bsalazar/molonometro/rest/json/LastEventJson.java
UTF-8
915
2.203125
2
[]
no_license
package com.bsalazar.molonometro.rest.json; /** * Created by bsalazar on 29/05/2017. */ public class LastEventJson { private int CommentID; private int UserID; private int DestinationUserID; private String LastUpdate; public LastEventJson() { } public int getCommentID() { retu...
true
d4de0f4761a1d5ed4fc0b33d454d22ba6c155b7f
Java
zhou01234/myproject
/.gitignore/src/servlet/ListRequest.java
GB18030
3,958
2.453125
2
[]
no_license
package servlet; import java.io.*; import java.sql.ResultSet; import javax.servlet.*; import javax.servlet.http.*; import test.*; import java.util.*; public class ListRequest extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletExceptio...
true
19416cc51ad28f72487685e39dbf03fcc540b1cf
Java
xiaocong1107/tacuso_customer
/tacuso/tacuso-buyer/src/main/java/com/tacuso/buyer/dao/AddressMapper.java
UTF-8
984
1.835938
2
[]
no_license
package com.tacuso.buyer.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.tacuso.buyer.common.SuperMapper; import com.tacuso.buyer.entity.Address; import com.tacuso.buyer.vo.PageData; public interface AddressMapper extends SuperMapper<Address> { List<Address> selectAddressListB...
true
dff361352ba52283d6099463c0457a185ed10327
Java
tensory/DJ-Scratch
/app/src/main/java/net/tensory/djscratch/fragments/LoginFragment.java
UTF-8
2,037
2.25
2
[ "MIT" ]
permissive
package net.tensory.djscratch.fragments; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import com.codepath.oauth.OAuthLoginFragment; import net.tensory.djscratch...
true
aa102fee09bec93b7d0c6e19bc3c38d3fa13a0cd
Java
Elie-Paul/ProjetJava
/CinemaLibrary/src/main/java/cours/java/stic3/service/IActor.java
UTF-8
402
1.984375
2
[]
no_license
package cours.java.stic3.service; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.List; public interface IActor extends Remote { List<Object> ListObject(String model) throws RemoteException; //Object getObject(Class Myclass, Serializable id) throws RemoteException; ...
true
e08ca6e1b5fe1a6d28a715dbebcc674b5a742ba0
Java
swxctx/program_lan
/java/TimeTest.java
UTF-8
1,079
3.25
3
[]
no_license
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class TimeTest { public static void main(String[] args) { // get current unixno(ms) System.out.println(System.currentTimeMillis()); System.out.println(Calendar.getIns...
true
8e3c01e926b5ecddf8a10265e58d0c7dd3d6ef52
Java
gstory/CS345HCISR
/src/hcisr/ast/HCISRReturnsClauseAST.java
UTF-8
2,334
2.671875
3
[]
no_license
package hcisr.ast; import hcisr.HCISRHeapLocation; import hcisr.HCISRInstance; import hcisr.HCISRStackFrame; import java.util.ArrayList; import java.util.HashMap; import java.util.Arrays; //this class represents a return clause public class HCISRReturnsClauseAST{ protected String retVar; protected String[] retType...
true
23d66e524a099d973b14e33030630a900999ee60
Java
geffzhang/MicroCommunity
/service-goods/src/main/java/com/java110/goods/bmo/storeOrderCart/IGetStoreOrderCartBMO.java
UTF-8
387
1.570313
2
[ "Apache-2.0" ]
permissive
package com.java110.goods.bmo.storeOrderCart; import com.java110.dto.storeOrderCart.StoreOrderCartDto; import org.springframework.http.ResponseEntity; public interface IGetStoreOrderCartBMO { /** * 查询订单购物车 * add by wuxw * * @param storeOrderCartDto * @return */ ResponseEntity<S...
true
1d89fba86bdc0501a70970ac46c0fd0546d4168d
Java
SnowOnion/rsa-impl
/src/xyz/sonion/rsa/test/MyBigHexTest.java
UTF-8
13,165
2.84375
3
[]
no_license
package xyz.sonion.rsa.test; import org.junit.Test; import xyz.sonion.rsa.MyBigHex; import java.util.ArrayList; import static org.junit.Assert.assertEquals; /** * Created by SnowOnion * on 2017-01-23 08:56. * To change this template, use Preferences | Editor | File and Code Templates | Includes | File Header. ...
true
ccc867c43bf3969126d6c2eccd2f7dad279d8128
Java
alvin198761/study
/codegen/src/main/java/com/biyao/admin/sys/systype/service/impl/SysTypeServiceImpl.java
UTF-8
3,223
2.390625
2
[]
no_license
package com.biyao.admin.sys.systype.service.impl; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; impor...
true
3ac827b596266a3faf23751027c4faff72c5e986
Java
Andreas237/AndroidPolicyAutomation
/ExtractedJars/PACT_com.pactforcure.app/javafiles/android/support/v7/app/NotificationCompat$Builder.java
UTF-8
690
1.523438
2
[ "MIT" ]
permissive
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v7.app; import android.content.Context; // Referenced classes of package android.support.v7.app: // NotificationCompat public ...
true
32c9fe90a1f5074bd1b6687cfa2a1f99f0007a72
Java
PerditaStevens/megamodelbuild
/src/uk/ac/ed/inf/megamodelbuild/uniexample/DeltaBuilder.java
UTF-8
2,609
2.28125
2
[ "Apache-2.0" ]
permissive
package uk.ac.ed.inf.megamodelbuild.uniexample; import java.io.File; import java.io.IOException; import org.sugarj.common.FileCommands; import build.pluto.builder.factory.BuilderFactory; import build.pluto.builder.factory.BuilderFactoryFactory; import build.pluto.output.Out; import uk.ac.ed.inf.megamodelbuild.MegaBu...
true
e41f71dd79a2191b75a74c485a5303b26bd9227d
Java
TheScarastic/redfin_b5
/SystemUIGoogle/sources/com/android/systemui/qs/tiles/MicrophoneToggleTile$$ExternalSyntheticLambda0.java
UTF-8
613
1.703125
2
[]
no_license
package com.android.systemui.qs.tiles; import java.util.function.Supplier; /* loaded from: classes.dex */ public final /* synthetic */ class MicrophoneToggleTile$$ExternalSyntheticLambda0 implements Supplier { public static final /* synthetic */ MicrophoneToggleTile$$ExternalSyntheticLambda0 INSTANCE = new Microph...
true
798523144351965fce36d968c4230e995caa2cf5
Java
jonatl4/simple-ecommerce
/src/main/java/ShoppingCart.java
UTF-8
4,548
2.4375
2
[]
no_license
import java.io.IOException; import java.io.PrintWriter; import java.net.URI; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import javax.serv...
true
e859bb36c3db518ece4c94a793212e509bd5490b
Java
AlgerFan/javaSE
/student/src/cn/algerfan/student/MyIO.java
UTF-8
1,622
3.484375
3
[]
no_license
package cn.algerfan.student; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.List; import cn.algerfan.student.Student; public class MyIO { int count = 0; public void reader(...
true
92688b3c36c4ec17218c56b1c26583ec51d051d7
Java
kschoi93/Beetcamp-Java
/Java05_swing/src/swingTest/JSplitPaneTest2.java
UHC
1,019
2.65625
3
[]
no_license
package swingTest; import javax.swing.JFrame; import javax.swing.JSplitPane; import javax.swing.JTextArea; public class JSplitPaneTest2 extends JFrame{ JSplitPane sp1, sp2; CalendarSwing cs = new CalendarSwing(); Calculator cal = new Calculator(); PackMan pack = new PackMan(); JTextArea ta = new JTextArea();...
true
8df53644607ad2d8b6f174e3603915bc514012a3
Java
levismith123/CP2406_2019_BasicJava
/src/week4/FitnessTracker.java
UTF-8
617
2.984375
3
[]
no_license
package week4; public class FitnessTracker { private String activity; private int timeSpent; private String date; public FitnessTracker(){ activity = "running"; timeSpent = 0; date = "January 1st 2019"; } public FitnessTracker(int minutes, String sport, String fulld...
true
20a5585925b9c9607194c352511814a0938bbad2
Java
itzhangwei/spring-cloud-alibaba
/common-module/src/main/java/com/learn/cloud/common/mybatis/MyBaseMapper.java
UTF-8
762
2.140625
2
[]
no_license
package com.learn.cloud.common.mybatis; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.apache.poi.ss.formula.functions.T; import java.util.List; /** * @author zhang * @projectName spring-cloud-alibaba * @title MyBaseMapper * @package com.learn.cloud...
true
12b0778842c163dcab51c3b484383ff5d8696466
Java
kelvinkellner/Lets-Get-This-Bread
/Let's Get This Bread/src/kelvinkellner/ducks/sprites/creatures/WalkingEnemy.java
UTF-8
295
2.421875
2
[]
no_license
package kelvinkellner.ducks.sprites.creatures; public class WalkingEnemy extends Enemy { // Constructor Methods protected WalkingEnemy(int x, int y, int health, int strength, double accuracy, int speed, String type) { super(x, y, health, strength, accuracy, speed, type); } }
true
9163594166354193b423d25feae9eea8bd42d5f3
Java
iquey/agroweb
/AgroWeb/src/main/java/com/mx/agroweb/cliente/mappers/ClCentroCostosMapper.java
UTF-8
616
2.25
2
[]
no_license
package com.mx.agroweb.cliente.mappers; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; import com.mx.agroweb.cliente.vo.ClCentroCostosVO; public class ClCentroCostosMapper implements RowMapper<ClCentroCostosVO>{ @Override public ClCentroCostosVO mapRow(Re...
true
51e3acd31635083e561234c637fef89257197b32
Java
ketansingh/ClusterLSH
/code/dev/StreamClustering/src/DataModels/TweetCounter.java
UTF-8
523
2.78125
3
[]
no_license
package DataModels; public class TweetCounter { double minDist = Double.MAX_VALUE; int counter = 0; DistanceResult min = null; final int MAX_CNT = 10; public DistanceResult getClosestOrUpdateCounter(Tweet t) { if(counter < MAX_CNT) { DistanceResult r = t.getClosestCluster(); if(r.getClosestClusterDis...
true
a099640582c62b4f0370ccf1f9508ab21ec877a9
Java
Victor-martinelli/Cracking-The-Coding-Interview-Solutions
/Math/Palindrome Integer/src/Solution.java
UTF-8
1,386
4
4
[]
no_license
/* * Determine whether an integer is a palindrome. Do this without extra space. A palindrome integer is an integer x for which reverse(x) = x where reverse(x) is x with its digit reversed. Negative numbers are not palindromic. Example : Input : 12121 Output : True Input : 123 Output : False */ /** * * @author ...
true
97b66acd1e351a9d37e8d88a3f34e4bfd5000fd3
Java
lujunqi/PrismService
/src/com/yongtong/service/MessageService.java
UTF-8
6,039
1.890625
2
[]
no_license
package com.yongtong.service; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.spring...
true
44244caabbf7bdee2843b18beb9e485e1c034fa9
Java
jjongei/sportuneteller
/src/main/java/com/sportuenteller/olympic/manage/countries/domain/CountrySearchRequest.java
UTF-8
1,274
2.1875
2
[]
no_license
package com.sportuenteller.olympic.manage.countries.domain; import com.querydsl.core.BooleanBuilder; import com.sportuenteller.olympic.common.query.SearchRequest; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.util.StringUtils; import java.util.List; @Data @NoArgsConstructor public c...
true
8e27c546265806e108d0fb8b37528dbf00b55219
Java
treejames/weixinmp4java
/weixinmp/src/main/java/cjc/weixinmp/BaseSupportService.java
UTF-8
4,654
2.28125
2
[ "Apache-2.0" ]
permissive
/** * @author jianqing.cai@qq.com, https://github.com/caijianqing/weixinmp4java/, 2014-2-19 下午2:15:32 */ package cjc.weixinmp; import java.util.Arrays; import java.util.Date; import cjc.weixinmp.bean.AccessToken; import cjc.weixinmp.bean.SignatureInfo; /** * 基础支持接口 * @author jianqing.cai@qq.com, https://github.c...
true
5d26097b883612ffc5604beaa7e00bfa6151a03e
Java
yetingmao/school-Practice
/Dormitory/src/view/FindInformation.java
GB18030
3,939
2.625
3
[]
no_license
package view; import java.util.ArrayList; import Studentview.Delstudent; import Studentview.addStudentview; import bean.Student; import javafx.application.Application; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.event.EventHandler; im...
true
474dee8523608d73e7b3a07e9908429a6d00a393
Java
543343254/library_system
/src/main/java/com/wwh/controller/LoginController.java
UTF-8
3,688
2.4375
2
[]
no_license
package com.wwh.controller; import com.wwh.entity.User; import com.wwh.result.Result; import com.wwh.result.ResultFactory; import com.wwh.service.UserService; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.IncorrectCredentialsException; import org.apache.shiro.authc.UnknownAccountException; impor...
true
76cb34a89837bf5591b32f5a940ba1b8df926455
Java
lxx3061313/WangDa
/provider/src/main/java/com/wangda/alarm/provider/controller/UserAuthController.java
UTF-8
2,545
1.992188
2
[]
no_license
package com.wangda.alarm.provider.controller; import com.wangda.alarm.provider.bean.LoginReq; import com.wangda.alarm.provider.biz.UserAuthBiz; import com.wangda.alarm.service.bean.biz.UserCidMappingInfo; import com.wangda.alarm.service.bean.biz.UserLoginContext; import com.wangda.alarm.service.bean.biz.UserSession; i...
true
d0a5b7c83f5e6f9a8ecbfb12acb34daf152a8461
Java
miarevalo10/ReporteReddit
/reddit-decompilada/com/google/android/gms/ads/internal/overlay/zzm.java
UTF-8
3,623
1.671875
2
[]
no_license
package com.google.android.gms.ads.internal.overlay; import android.os.IBinder; import android.os.Parcel; import android.os.Parcelable.Creator; import com.google.android.gms.ads.internal.zzao; import com.google.android.gms.internal.zzakd; import com.google.android.gms.internal.zzbfn; public final class zzm implements...
true
5eb8ad6477e445d5c4e275c03541da3b542c59f8
Java
lihaha104/myshop
/app/src/main/java/com/example/myshop/persenter/topic/TopicPersenter.java
UTF-8
1,829
2.078125
2
[]
no_license
package com.example.myshop.persenter.topic; import com.example.myshop.base.BasePresenter; import com.example.myshop.interfaces.Callback; import com.example.myshop.interfaces.topic.ITopic; import com.example.myshop.model.topic.TopicCommentBean; import com.example.myshop.model.topic.TopicDetailBean; import com.example.m...
true
38c27f6facce5b38f4aed480d838a6e23f5bc2fc
Java
deepaksharma36/DistributedSystem
/BitTorrent/src/Tracker.java
UTF-8
3,394
2.6875
3
[]
no_license
import java.net.Inet4Address; import java.net.MalformedURLException; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; import java.util.HashMap; public class Tracker extends UnicastRemoteObject implements TrackerInterface { /** ...
true
cee8c75a292b068d18c80d0199fafb87e16ce01f
Java
RuneAkko/skyclass
/src/com/android/svod/VideoPlayerNewActivity.java
UTF-8
5,750
1.960938
2
[]
no_license
package com.android.svod; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.view.KeyEvent; import ...
true
b8a42a58a2be72b12d269b1771af6ff15a28de27
Java
amaudruz/Alpano
/src/ch/epfl/alpano/Distance.java
UTF-8
842
3.625
4
[]
no_license
package ch.epfl.alpano; /** * Interface to convert radians to meters, and vice versa * * @author Louis Amaudruz (271808) * @author Mathieu Chevalley (274698) * */ public interface Distance { /** * Approximate radius of earth */ public final static double EARTH_RADIUS = 6371000;...
true
3a14d9613bb46431a99b432f820d6940671cf8f4
Java
RavenSoul07/GithubUsers
/Api.java
UTF-8
580
2.015625
2
[]
no_license
package com.ravensoul.githubusers; import com.ravensoul.githubusers.model.UserData; import java.util.List; import io.reactivex.Observable; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; public interface Api { @GET("users?/") Observable<List<UserData>> getAllUsers(@Query(...
true
2ad93705722e20b07a650b0fb9157cebd17926cd
Java
MyPureCloud/platform-client-sdk-java
/build/src/main/java/com/mypurecloud/sdk/v2/model/NluDomain.java
UTF-8
6,002
1.945313
2
[ "MIT" ]
permissive
package com.mypurecloud.sdk.v2.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml....
true
0478029d8d721fc27ccc0572fdba10f5ab2ade3b
Java
ja1mecc/ionic-cordova-geofence-fm
/src/android/com/example/GeofenceSingleton.java
UTF-8
9,224
1.992188
2
[]
no_license
package com.example; import android.Manifest; import android.app.Activity; import android.app.ActivityManager; import android.app.AlertDialog; import android.app.Application; import android.app.Notification; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android...
true
0b74ae81701685803e514b49aa79fdb376cf261d
Java
josuecamelo/preodaybackend
/src/main/java/com/josuecamelo/marsweather/models/InSightWeatherData.java
UTF-8
1,827
2.59375
3
[]
no_license
package com.josuecamelo.marsweather.models; import java.util.List; import java.util.Map; import javax.naming.NameNotFoundException; import com.josuecamelo.marsweather.models.validity.ValidityChecks; public class InSightWeatherData { private final Map<Integer, SolData> solData; private final List<Integer...
true
b182b7412c84c9a6fdd0dc4ded8ac9862ce7cf30
Java
museong-park/bpdiary-3-android
/app/src/main/java/kr/co/openit/bpdiary/common/vo/apdu/SegmentDataResult.java
UTF-8
4,692
2
2
[]
no_license
package kr.co.openit.bpdiary.common.vo.apdu; import java.nio.ByteBuffer; import kr.co.openit.bpdiary.common.constants.HealthcareConstants; import kr.co.openit.bpdiary.common.constants.Nomenclature; import kr.co.openit.bpdiary.utils.ByteUtil; /** * SegmentDataResult 정의 */ public class SegmentDataResult extends Prst...
true
5814a2cb41b63b32ac70ef24cdb85d010bf2ce85
Java
c-ramirez/fill-template
/src/main/java/com/template/FileUtil.java
UTF-8
1,075
2.890625
3
[ "MIT" ]
permissive
package com.template; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharsets; import java.util.Scanner; import java.util.regex.Pattern; public class FileUtil { private FileUtil() { }...
true
5294f5d8015c8dc379fdfacccc77a9e24ed9aa2b
Java
1226689046/HomeStorage
/netstorage_/src/main/java/cn/j/netstorage/Entity/DTO/FolderDTO.java
UTF-8
1,244
2.4375
2
[]
no_license
package cn.j.netstorage.Entity.DTO; import cn.j.netstorage.Entity.Driver.Driver; import cn.j.netstorage.Entity.Folder.Folder; import cn.j.netstorage.Entity.User.User; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.util.HashSet; import java.util.Set; @Setter @Getter @ToString public ...
true
20af30d2cafc71d129aecc812934a54bde878204
Java
fribari/things-api
/api/Things4Java/Things.API/src/main/java/org/things/Teste.java
UTF-8
770
2.328125
2
[]
no_license
package org.things; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author vsenger */ import org.things.Device; import org.things.Things; import org.things.device.SerialDevice; public class Teste { public static void main(String[] args) throws Exce...
true
a96e1eafc6769e06b238e7cae58243dfdbc440e7
Java
sumervardhan/SlogoIDE
/src/controller/OperationFinder.java
UTF-8
3,715
2.828125
3
[ "MIT" ]
permissive
package controller; import controller.exceptions.InvalidSyntaxException; import controller.interfaces.ControlParser; import controller.interfaces.Operation; import controller.interfaces.ParamOperator; import model.Model; import java.util.List; public class OperationFinder { public static final String STANDARD_RO...
true
cb5c5c6e72bff87744e0c6ac5567d15f7b4a13c0
Java
liyq1406/PepsiCola-20150914
/xposp-service/src/main/java/com/newland/xposp/device/service/DeviceService.java
UTF-8
3,280
2.140625
2
[]
no_license
package com.newland.xposp.device.service; import java.io.File; import java.util.List; import com.newland.base.dao.Page; import com.newland.base.exception.AppBizException; import com.newland.xposp.device.model.Device; public interface DeviceService { /** * 查找所有的设备信息 * @return */ public List...
true
3bffd58882c2c218117e0599a85669f4be12ca83
Java
akramul-hasan-m4/t
/h/src/main/java/com/harnest/inventory/ws/service/MachineService.java
UTF-8
351
1.765625
2
[]
no_license
package com.harnest.inventory.ws.service; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.harnest.inventory.ws.entity.MachineInfo; @Service public interface MachineService { @Transactional(readOnly = true) List<Mach...
true
b3e1a911b206f388683722f740ae91e6af45c210
Java
lshagiev/jvm-arm-bare-metal
/tools/src/emr/jvm/process/nvm/SetupFieldLookupProcess.java
UTF-8
853
2.21875
2
[ "BSD-2-Clause" ]
permissive
/* * SetupFieldLookupProcess.java * * Created on March 6, 2007, 9:55 PM * * To instruct the TableLookupProcess to lookup fields, we simply set the tablehandle register to * point to the FieldTable. FieldTableEntries are the same as MethodTableEntries. */ package emr.jvm.process.nvm; import emr.jvm.process.JVMP...
true
8e836c8e3c2c386e12eea8eca6bbdcd166000acb
Java
ChqBull/Takeaway
/Site/src/main/java/com/jk/service/syg/UserService.java
UTF-8
192
1.851563
2
[]
no_license
package com.jk.service.syg; import com.jk.bean.UserBean; public interface UserService { UserBean findByName(String name); String registerData(String username, String password); }
true
b29f5de4fcc0f85fa233fc0aeb4be2583e07f209
Java
shanghaif/OkAppCmp
/OkApp/src/main/java/com/xinyu/newdiggtest/adapter/viewhelper/TreeBean.java
UTF-8
4,906
1.992188
2
[]
no_license
package com.xinyu.newdiggtest.adapter.viewhelper; import com.xinyu.newdiggtest.bean.CommonIdBean; import com.xinyu.newdiggtest.bean.OpBean; import java.util.List; public class TreeBean { private OpBean op; private List<TreeListBean> data; public OpBean getOp() { return op; } public vo...
true
e0f756e5bfdf3406407bb286a9d5a61f6831ae1f
Java
cha63506/CompSecurity
/sound-cloud_source/src/com/google/android/gms/gcm/Task.java
UTF-8
5,812
1.859375
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.google.android.gms.gcm; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import com.google.android....
true
9baf98661ec32801ff29bacd1c1337d6d04b390b
Java
tectronics/hathor-gaia
/CU8-1/errorClases/testbed/FacadeBuildBPRPPCAModelTestBedFlopCount.java
UTF-8
6,037
1.804688
2
[]
no_license
/* * CU8 OCA * Copyright (C) 2006-2011 Gaia Data Processing and Analysis Consortium * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at yo...
true
10d323ac5594a5ae01299c5f0d2da140ee4dcbc0
Java
Alsan/turing-chunk07
/components/mediation-statistics/org.wso2.carbon.mediation.statistics/4.2.0/src/main/java/org/wso2/carbon/mediation/statistics/monitor/MemoryStatView.java
UTF-8
1,589
1.890625
2
[]
no_license
/* * Copyright (c) 2005-2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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....
true