text stringlengths 7 995k |
|---|
package com.google.kpierudzki.driverassistant.obd.service.commandmodels.fuel;
import com.google.kpierudzki.driverassistant.obd.datamodel.ObdParamType;
import com.google.kpierudzki.driverassistant.obd.service.commandmodels.ObdCommandModel;
/**
* Created by Kamil on 15.09.2017.
*/
public class FuelLevelCommand extend... |
package de.leonhard.storage.util;
import de.leonhard.storage.internal.FlatFile;
import lombok.experimental.UtilityClass;
@UtilityClass
public class FlatFileConverter {
public void addAllData(final FlatFile source, final FlatFile destination) {
destination.getFileData().clear();
destination.getFileData().lo... |
/*
* Copyright 2011 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.janchi.tests.hibernate.batchfetching;
import org.hibernate.SessionEventListener;
class StatementCounter implements SessionEventListener {
private int counter;
@Override
public void transactionCompletion(boolean successful) {
}
@Override
public void jdbcConnectionAcquisitionStart() {
}
@Overri... |
/*
* jGnash, a personal finance application
* Copyright (C) 2001-2018 Craig Cavanaugh
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opti... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.snackbar;
import android.content.Context;
import org.chromium.chrome.browser.EmbedContentViewActivity;
import org.ch... |
package ohm.softa.a06;
import ohm.softa.a06.model.Joke;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import java.util.List;
/**
* @author Peter Kurfer
* Created on 11/10/17.
*/
public interface ICNDBApi {
@GET("jokes/random")
Call<Joke> getRandomJoke... |
package cn.bugstack.springframework.aop;
import org.aopalliance.aop.Advice;
/**
* Common marker interface for before advice, such as {@link MethodBeforeAdvice}.
*
*/
public interface BeforeAdvice extends Advice {
} |
package com.pe.cema.factorylogger.handler;
import com.pe.cema.factorylogger.model.entity.LogEntity;
import com.pe.cema.factorylogger.model.repositories.LogRepository;
import java.util.logging.Handler;
import java.util.logging.LogRecord;
public class DatabaseHandler extends Handler {
private LogRepository logRep... |
package com.example.fx;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
public class P026RadioMenuItem extends Application {
publi... |
package pl.eldzi.aimpanel.utils.events;
/**
* Created by ElDzi on 2016-04-29.
*/
public class LoadServersTS3Event {
private Object obj;
public LoadServersTS3Event(Object obj) {
this.obj = obj;
}
public Object getResult() {
return obj;
}
} |
package vgcomponents.themes.renderer;
import java.awt.Component;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.ListCellRenderer;
import javax.swing.border.LineBorder;
import vgcomponents.themes.IVGTheme;
/**
* Creates a theme renderer which changes the foreground and... |
// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.graph;
import static org.junit.Assert.assertEquals;
import static org.junit.... |
package problems;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class Functional_2 {
/*
Given a list of strings, return a list of the strings, omitting any string length 3 or ... |
/*
* Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
package painter1024.emptyproject.core.ui.base.component_ex.mvp.presenter;
import android.support.annotation.NonNull;
import com.trello.rxlifecycle2.LifecycleProvider;
import com.trello.rxlifecycle2.android.FragmentEvent;
import painter1024.emptyproject.core.ui.base.component.lifecycle.ILifecycleComponent;
/**
* 抽象... |
package com.company.project.service;
import com.company.project.vo.resp.HomeRespVO;
/**
* 首页
*
* @author wenbin
* @version V1.0
* @date 2020年3月18日
*/
public interface HomeService
{
HomeRespVO getHomeInfo(String userId);
} |
package org.nakedobjects.metamodel.adapter;
import org.nakedobjects.metamodel.facets.Facet;
import org.nakedobjects.metamodel.facets.object.callbacks.CreatedCallbackFacet;
import org.nakedobjects.metamodel.facets.object.callbacks.LoadedCallbackFacet;
import org.nakedobjects.metamodel.facets.object.callbacks.LoadingCal... |
package com.denizenscript.denizen.objects;
import com.denizenscript.denizen.events.BukkitScriptEvent;
import com.denizenscript.denizen.nms.abstracts.BiomeNMS;
import com.denizenscript.denizen.objects.properties.material.MaterialDirectional;
import com.denizenscript.denizen.objects.properties.material.MaterialHalf;
imp... |
package io.github.springroe.data.mybatis.repository.query.expression;
/**
* @description:
* @author: tl
* @date: 2020/6/12
*/
public class AliasedProjectionExpression extends ProjectionExpression {
private ProjectionExpression projectionExpression;
private String alias;
public AliasedProjectionExpre... |
package net.diabetech.onetouchfamily;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import net.diabetech.lang.ThreadHelper;
import net.diabetech.util.Logger;
import net.diabetech.util.StopWatch;
/**
* LinkLayer for ultras is minimal, they r... |
package com.ncorti.slidetoact.example;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.ncorti.... |
package com.emilsoft.multileveladapter.sample;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import java.util.ArrayList;
import java.util.List;
public class MainActivity extends AppCompatActivity {
private MyAdapter adapter;
pri... |
package com.linkedin.thirdeye.alert.content;
import com.linkedin.thirdeye.alert.commons.EmailEntity;
import com.linkedin.thirdeye.anomaly.ThirdEyeAnomalyConfiguration;
import com.linkedin.thirdeye.anomaly.monitor.MonitorConfiguration;
import com.linkedin.thirdeye.anomaly.task.TaskDriverConfiguration;
import com.linked... |
package com.sequenceiq.cloudbreak.audit.converter.builder;
import com.cloudera.thunderhead.service.audit.AuditProto;
import org.springframework.stereotype.Component;
@Component
public class ResultServiceEventDataBuilderProvider {
public AuditProto.ResultServiceEventData.Builder getNewResultServiceEventDataBuilde... |
/*
* Copyright (c) 2004-2019, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
package com.github.takuji31.slidemenu;
public class SlideMenuItem {
public int icon;
public String label;
public int id;
} |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
/*
* Copyright 2012 Jon Ivmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
module org.zalando.problem {
requires static org.apiguardian.api;
requires transitive com.google.gson;
requires transitive org.zalando.problem;
exports org.zalando.problem;
} |
package wannabit.io.cosmostaion.dialog;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInf... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
/*
* Copyright 2018 dc-square and the HiveMQ MQTT Client Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
/* Copyright (C) 2006 Versant Inc. http://www.db4o.com */
package com.db4o.internal.btree.algebra;
import com.db4o.foundation.*;
import com.db4o.internal.btree.*;
/**
* @exclude
*/
class BTreeAlgebra {
public static BTreeRange intersect(BTreeRangeUnion union, BTreeRangeSingle single) {
final SortedCollectio... |
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.tools.sjavac.server;
/**
* <p><b>This is NOT part of any supported API.
* If you write c... |
package functions;
import factory.driverFactory;
import org.junit.Assert;
import org.openqa.selenium.*;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.support.ui.WebDriverWait;
... |
package io.github.mivek.command.remark;
import io.github.mivek.internationalization.Messages;
import io.github.mivek.utils.Regex;
import java.util.regex.Pattern;
/**
* @author mivek
*/
public final class VirgaDirectionCommand implements Command {
/** Virga with direction. */
private static final Pattern VI... |
package ch.droduit.quickchat.helper;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
/**
* <b>Helper class for managing HTTP cookies.</b>
*
* @see HttpServletRequest
*/
public class CookieHelper {
public static String extractCookie(HttpServletRequest request, String cookieName... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mygroup;
/**
*
* @author esokullu
*/
public class p2pchecker extends Thread {
p2p download;
public p2pchecker(p2p p2pdownload) {
download = p2pdownload;
start();
}
public void... |
package jodd.http;
/**
* HTTP status codes.
*/
public class HttpStatus {
/**
* Returns {@code true} if status code indicates successful result.
*/
public static boolean isSuccessful(int statusCode) {
return statusCode < 400;
}
// ---------------------------------------------------------------- 1xx
/**
... |
/**
* JWave is distributed under the MIT License (MIT); this file is part of.
*
* Copyright (c) 2008-2016 Christian Scheiblich (cscheiblich@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Alibaba Group
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package org.hisp.dhis.attribute;
/*
* Copyright (c) 2004-2016, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copy... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.lang.psi.impl;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.psi.*;
import com.intellij.util.containers.ContainerUtil;
... |
/*
*
* * Copyright 2010-2016 OrientDB LTD (http://orientdb.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE... |
/*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package sparkle.cms.authoring.service.config;
import com.mongodb.Mongo;
import com.mongodb.MongoClient;
import com.mongodb.WriteConcern;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
package com.amazonaws.capstone.devopsguru_eks_test;
import org.apache.commons.lang3.concurrent.BasicThreadFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling... |
package homework1;
/*
Write a program to check if two strings are anagrams. Anagrams are strings which can be made by rearranging characters in string.
*/
public class Question4 {
public static void main(String[] args) {
String str1 = "tab";
String str2 = "cat";
boolean result = isAnag... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package DungeonCrawlerPrequel;
import java.util.Random;
/**
*
* @author Mike
*/
public class Monster {
static Random randGen =... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.compositor.bottombar.contextualsearch;
import android.animation.Animator;
import android.animation.AnimatorListenerAd... |
package com.github.hcsp;
public class MybatisCrawlerDao {
} |
package com.mdnurakmal.chat.controller;
import com.mdnurakmal.chat.model.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.an... |
package edu.harvard.seas.pl.formulog.symbols.parameterized;
/*-
* #%L
* Formulog
* %%
* Copyright (C) 2018 - 2020 President and Fellows of Harvard College
* %%
* 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... |
package xyz.cofe.gui.swing.cell;
import java.text.NumberFormat;
/**
* Указывает форматирование чисел
* @author Kamnev Georgiy (nt.gocha@gmail.com)
*/
public interface SetNumberFormat {
/**
* Указывает формат чисел
* @param nf формат чисел
*/
void setNumberFormat( NumberFormat nf );
} |
/*
* $Id: ExecuteXQueryAction.java,v 1.3 2004/10/13 18:24:32 edankert Exp $
*
* Copyright (C) 2002, Cladonia Ltd. All rights reserved.
*
* This software is the proprietary information of Cladonia Ltd.
* Use is subject to license terms.
*/
package com.cladonia.xngreditor.actions;
import java.awt.event.ActionEv... |
package com.hazelcast.jet.demo.support;
public enum WinSize {
HALF_MINUTE(30_000L, "Last 30 seconds"), FIVE_MINUTES(300_000L, "Last 5 minutes");
private long duration;
private String label;
WinSize(long duration, String label) {
this.duration = duration;
this.label = label;
}
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2019 Scott Logic Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package testPullUpGen.test47.test;
import java.util.function.Function;
public class B extends S {
void m(Function<String,String> f){}
} |
/*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package com.dukeacademy.testutil;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* A class used to test serialization and deserialization
*/
public class SerializableTestClass {
public static final String JSON_STRING_REPRESENTATION = String.forma... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.bergerkiller.bukkit.tc.portals;
import java.util.HashSet;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import static com.bergerkiller.bukkit.common.utils.MaterialUtil.getFirst;
import com.bergerkiller.bukkit.common.bases.IntVector... |
/*
* Licensed to the Apache Software Foundation (ASF)under one
* or more contributor license agreements.See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.The ASF licenses this file
* to you under the Apache License, Version 2.0(the
* "License"); you may no... |
/**
* Copyright 2015 the original author or authors
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by ... |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it will... |
package com.github.eltohamy.materialhijricalendarview.format;
import com.github.eltohamy.materialhijricalendarview.CalendarUtils;
import java.util.Calendar;
import java.util.Locale;
/**
* Use a {@linkplain java.util.Calendar} to get week day labels.
*
* @see java.util.Calendar#getDisplayName(int, int, java.util.L... |
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.blockchain.models;
import com.aliyun.tea.*;
public class QueryChainRestAntRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
... |
package com.alibaba.otter.canal.parse.inbound.mysql.dbsync;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.alibaba.otter.canal.parse.driver.mysql.packets.server.FieldPacket;
import c... |
package org.summerframework.ddd.infrastructure;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
... |
package org.hisp.dhis.organisationunit;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the abo... |
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a c... |
package com.imcc.firstappdemo.domain;
//用户模型
public class User {
private int id;
private String name;
@Override
public String toString() {
return "User{" +
"id=" + id +
", name='" + name + '\'' +
'}';
}
public int getId() {
retur... |
/*
* The MIT License
*
* Copyright (c) 2016 Center for Bioinformatics, Peking University
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limita... |
package org.frameworkset.http.converter.json;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.http.HttpServletRequest;
import org.frameworkset.http.HttpHeaders;
import org.frameworkset.http.HttpInputMessage;
public class MappingJacksonInputMessage implements HttpInputMessage {
privat... |
package net.neevek.android.lib.paginize;
import android.content.Intent;
import android.content.res.Configuration;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.ViewGroup;
/**
* Copyright (c) 2015 neevek <i@neevek.net>
* Permission is hereby granted, free of charge, to any person... |
package com.hnz.mymall.member.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotatio... |
package com.d.lib.rxnet.observer;
import com.d.lib.rxnet.callback.AsyncCallback;
/**
* Observer with Async Callback
*/
public class AsyncApiObserver<T, R> extends AbsObserver<R> {
private R mData;
private AsyncCallback<T, R> mCallback;
public AsyncApiObserver(AsyncCallback<T, R> callback) {
if ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package invincibe83.CaptureTheFlag;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... |
package net.avicus.atlas.core.module.stats.action.objective.competitor;
import java.time.Instant;
import lombok.ToString;
import net.avicus.atlas.core.module.groups.Competitor;
import net.avicus.atlas.core.module.objectives.Objective;
import net.avicus.atlas.core.module.stats.action.base.CompetitorAction;
@ToString(c... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 设备相关信息
*
* @author auto create
* @since 1.0, 2017-04-28 11:12:12
*/
public class AlipayMarketingIbsInfo extends AlipayObject {
private static final long serialVersionUID = 36837493535714438... |
package com.testePratico.API_User.repository;
import com.testePratico.API_User.model.Name;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface NameRepository extends JpaRepository<Name, Long> {
} |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package Servidor;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import Interfaces.Contador;
import java.net.MalformedURLException;
import java.rmi.*;
import java.rmi.registry.Loca... |
/*
* Copyright 2014 - 2017 Cognizant Technology Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package gui;
import com.formdev.flatlaf.FlatLaf;
import com.formdev.flatlaf.intellijthemes.FlatNordIJTheme;
import constants.C;
import state.GameState;
import state.GameStateSimple;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
import java.awt.... |
package src.john01dav.votifiertester.gui;
import javax.swing.filechooser.FileFilter;
import java.io.File;
public class VoteFileFilter extends FileFilter{
@Override
public boolean accept(File f) {
if(f.isDirectory())
return true;
return f.getName().toLowerCase().endsWith(".vtc");
... |
/**
* Copyright (C) 2002 Mike Hummel (mh@mhus.de)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... |
package frc.robot.subsystem.arm.command;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystem.arm.Arm;
/**
* Command for manually controlling an Arm,
* takes over control of the Arm from the defaultcommand, so you don't have to pass an ArnControl to a CommandGroup
*/
public class ArmSetA... |
package com.soin.sgrm.service;
import java.util.List;
import com.soin.sgrm.model.SystemInfo;
import com.soin.sgrm.model.SystemModule;
import com.soin.sgrm.model.SystemUser;
import com.soin.sgrm.model.System;
import com.soin.sgrm.utils.JsonSheet;
public interface SystemService {
/* Metodos para la generacion de un ... |
/*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.