text stringlengths 7 995k |
|---|
package org.adrianl.cliente;
public class AppClient {
public static void main(String[] args) {
MiCliente cliente = new MiCliente();
cliente.iniciar();
}
} |
/*
Copyright 2009-2016 Igor Polevoy
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 writing, software
d... |
package com.dmd.mall.mapper;
import com.dmd.mall.model.SmsFlashPromotionLog;
import com.dmd.mall.model.SmsFlashPromotionLogExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SmsFlashPromotionLogMapper {
long countByExample(SmsFlashPromotionLogExample example);
int d... |
/*
* 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 com.financial.repository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.fi... |
/*
* Copyright 2014-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/**
*
* 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"); ... |
package com.yong.job.five;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.yong.job.R;
public class WebViewActivity extends Activity {
private WebView webView;
@Override
protected void onCreate(Bundle savedInstanceSta... |
package com.example.my_keyboard_app;
import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
package org.hl7.fhir.instance.model.valuesets;
/*
Copyright (c) 2011+, HL7, Inc.
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 c... |
/* GENERATED SOURCE. DO NOT MODIFY. */
/**
*******************************************************************************
* Copyright (C) 2001-2010, International Business Machines Corporation and *
* others. All Rights Reserved. *
*********************************... |
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (C) by MinterTeam. 2018
* @link <a href="https://github.com/MinterTeam">Org Github</a>
* @link <a href="https://github.com/edwardstock">Maintainer Github</a>
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... |
package com.microsoft.bingads.v11.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anon... |
package com.base.entities;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import com.base.engine.CollisionData;
import com.base.engine.Vector2d;
import com.base.engine.dPolygon;
public class Dummy extends Tile
{
public Dummy(double x, double y, double width, double height)
{
super(x,y,width,... |
/*
* Copyright 2002-2012 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
*
* Unless required by a... |
/**
* Copyright 2016 SPeCS.
*
* 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 writi... |
package ca.uhn.fhir.rest.param.binder;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2018 University Health Network
* %%
* 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 ... |
//
// $Id$
package com.threerings.msoy.item.server.persist;
import java.sql.Timestamp;
import com.samskivert.depot.Key;
import com.samskivert.depot.annotation.TableGenerator;
import com.samskivert.depot.expression.ColumnExp;
import com.threerings.msoy.money.data.all.Currency;
/** Catalog Records for Props. */
@Tab... |
/*
* Copyright 2010 Alibaba Group Holding Limited.
* 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
*
* Unles... |
package de.c0debase.bot.core;
import io.sentry.Sentry;
import org.slf4j.LoggerFactory;
public class Launcher {
public static void main(String... args) throws Exception {
if (System.getenv("SENTRY_DSN") != null || System.getProperty("sentry.properties") != null) {
Sentry.init();
}
... |
package com.bazaarvoice.emodb.common.dropwizard.discovery;
import com.bazaarvoice.emodb.common.dropwizard.guice.SelfAdminHostAndPort;
import com.bazaarvoice.emodb.common.dropwizard.guice.SelfHostAndPort;
import com.bazaarvoice.ostrich.ServiceEndPoint;
import com.bazaarvoice.ostrich.ServiceEndPointBuilder;
import com.b... |
package org.hunter.loanservice.model;
import java.math.BigInteger;
public class LoanDetails {
private BigInteger loanAmountCents;
private Integer termMonths;
private Integer rateTimesHundred;
public LoanDetails(BigInteger loanAmountCents, Integer rateTimesHundred, Integer termMonths) {
this.... |
/*
* Pydio Cells Rest API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the... |
/*
* 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 n... |
package cn.prosayj.authentication.service.impl;
import cn.prosayj.authentication.modules.module.MyUsersDetail;
import cn.prosayj.authentication.modules.users.domain.UsersDomain;
import cn.prosayj.authentication.modules.users.mapper.UsersDomainMapper;
import org.springframework.beans.factory.annotation.Autowired;
impor... |
/**
*/
package repast.simphony.statecharts.scmodel;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Trigger Types</b></em>',
* and utility metho... |
package math;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
/**
*
* @author minchoba
* 백준 11366번: Tons of Orcs, no Fibbin’
*
* @see https://www.acmicpc.net/problem/11366/
*
*/
public class Boj11366 {
private static final int[] FIBO = new int[47];
private ... |
package cn.qiucode.entity;
import java.io.Serializable;
/**
* Created by wuming on 2019/4/23.
*/
public class Category implements Serializable {
private Integer id;
private String name;//分类名称
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
... |
/*
* Copyright 2012-2017 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 "licen... |
/* MIT - License
Copyright (c) 2012 - this year, Nils Schmidt
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 use, copy, modify, me... |
//
// PureMVC Java Standard
//
// Copyright(c) 2019 Saad Shams <saad.shams@puremvc.org>
// Your reuse is governed by the Creative Commons Attribution 3.0 License
//
package org.puremvc.java.core;
import org.puremvc.java.interfaces.IMediator;
import org.puremvc.java.interfaces.INotification;
import org.puremvc.java... |
/**
* Copyright 2017-2020 Philip Helger, pgcc@helger.com
*
* Copyright 2011 Google Inc. All Rights Reserved.
* Author: sreeni@google.com (Sreeni Viswanadha)
*
* Copyright (c) 2006, Sun Microsystems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificati... |
/*
* Copyright (c) 2011-2018, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
// Copyright 2009-2013 The Apache Software Foundation
//
// 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 ... |
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
/**
* This class will dispalay the crash status
* @Author Ateea Riaz
*/
class CrashedDisplay extends JPanel {
public static final long serialVersionUID = 2L;
// Display the image icons
ImageIcon[] indicator =... |
//CHECKSTYLE:EmptyBlock:OFF
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apa... |
package eu.davidea.samples.flexibleadapter.models;
import java.io.Serializable;
import eu.davidea.flexibleadapter.items.AbstractFlexibleItem;
import eu.davidea.viewholders.FlexibleViewHolder;
/**
* This class will benefit of the already implemented methods (getter and setters) in
* {@link eu.davidea.flexibleadapte... |
package com.jpeony.leetcode.n0347;
import java.util.*;
/**
* [347. Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/)
* [347. 前 K 个高频元素](https://leetcode-cn.com/problems/top-k-frequent-elements/)
*
* @author yihonglei
*/
public class N347_TopKFrequentElements {
/**
* 【最小堆】... |
/**
* Copyright 2011-2012 Akiban Technologies, 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 appli... |
/*
Copyright 2017 Sun Jian
<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 applicable law or agreed to in w... |
package com.wangduwei.algorithms.other;
/**
* <p>十进制转罗马数字
*
* @auther : wangduwei
* @since : 2019/9/6 10:21
**/
public class IntegerToRoman {
private static int[] allArabianRomanNumbers = new int[]{1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1};
private static String[] allRomanNumbers = new String... |
package dev.huhao.samples.ddd.bff.adapters.inbound.graphql;
import dev.huhao.samples.ddd.bff.adapters.inbound.graphql.resolvers.blog.Draft;
import dev.huhao.samples.ddd.bff.application.services.DraftService;
import graphql.kickstart.tools.GraphQLQueryResolver;
import org.springframework.stereotype.Component;
@Compone... |
/*
* Copyright 2006-2007 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
*
* Unless required by a... |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... |
/*
* Copyright (C) 2015-2018 S.Violet
*
* 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 agr... |
/*
* 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 ma... |
package utils;
// *1 use POSConfig to read debugging and print user-friendly messages or debug messages based on xml prefs
//java libraries imports
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.xpath... |
package sg.nus.iss.portal;
public class Fares {
long id;
String fare;
String currency;
public Fares(String fare,String currency) {
super();
this.fare = fare;
this.currency = currency;
}
public Fares() {
super();
}
public long getId() {
return id;
}
public void setId(long... |
/*-
* #%L
* SDK for Sinch SMS
* %%
* Copyright (C) 2016 Sinch
* %%
* 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 req... |
package fm.last.test.app.ui;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import andr... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
package com.sun.org.apache.bcel.internal.generic;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redis... |
/*
* 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
... |
/*
* Copyright 2014-2018 JKOOL, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.example.schedule_render;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
import react4j.ReactElement;
import react4j.ReactNode;
@Generated("react4j.processor.React4jProcessor")
final class NoSkipScheduleRenderComponentBuilder {
private NoSkipScheduleRenderComponentBuilder(... |
package org.finos.springbot.workflow.templating;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
public class TextFieldConverter<X> extends AbstractClassConverter<X> {
public TextFieldConverter(int priority, Rendering<X> r, Class<?>... forClass) {
super(priority, r, forClass);
}
@Override
publi... |
// "Create field for parameter 'name'" "true"
import org.jetbrains.annotations.NotNull;
class Test {
private String myName;
void f(@NotNull String name) {
myName = name;
}
} |
package com.xinwendewen.flexbox;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class FlexLine {
final List<FlexItem> items = new ArrayList<>();
int mainSize;
int crossSize;
float totalFlexGrow;
float totalFlexShrink;
int crossSiz... |
/**
* 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 (C) 2014 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 app... |
package org.ssyp.theforceawakens.commands.servercommands;
import org.ssyp.theforceawakens.commands.Command;
/**
* Created by Arthurii on 26.07.2016.
*/
public class AuthBusyCommand extends Command {
public final static String AUTH_BUSY_COMMAND = "authbusy";
public AuthBusyCommand() {
super(AUTH_BUSY... |
/*******************************************************************************
* Copyright (c) 2013-2016 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... |
/**
* MIT License
* *
* Copyright (c) 2017-2018 nuls.io
* *
* 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 use, copy... |
package com.yoloho.schedule.xml;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
public class NamespaceHandler extends NamespaceHandlerSupport {
@Override
public void init() {
registerBeanDefinitionParser("init", new ScheduleParser());
}
} |
package org.pushingpixels.demo.flamingo.svg.filetypes.transcoded;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.plaf.UIResource;
import org.pushingpixels.neon.icon.IsHiDpiAware;
import org.pushingpixels.neon.icon.ResizableIcon;
import org.pushingpixels.neon.icon.NeonIcon;
import org.pushingpixels.neon... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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 use, cop... |
/**
* Copyright 2009-2021 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
*
* Unle... |
package code;
import code.GL20Renderer;
import android.content.Context;
import android.content.res.Resources;
import android.opengl.GLSurfaceView;
import android.util.Pair;
import android.view.MotionEvent;
import android.os.SystemClock;
public class GameGLSurfaceView extends GLSurfaceView {
private GL20Renderer re... |
/*
* 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 net.kencochrane.raven.spi;
/**
* Since Raven plugins may be executed on threads different from those that
* produce logs, RavenMDC provides a means for context variables to be passed
* from log spawning threads to log processing threads.
*
* This service is intended to be used by Raven plugins and not by ... |
/* ====================================================================
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 Y... |
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Nested;
import java.lang.String;
import java.lang.Deprecated;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
/**
* Generated
*/
public class V1alpha1VolumeAttachmentSourceFluentImpl<... |
package usaco;
/*
ID: chamato1
LANG: JAVA
TASK: test
*/
import java.io.*;
import java.util.*;
class test {
public static void main (String [] args) throws IOException {
// Use BufferedReader rather than RandomAccessFile; it's much faster
BufferedReader f = new BufferedReader(new FileReader("test.in"));
... |
package com.instaclustr.esop.cli;
import static com.instaclustr.operations.Operation.State.FAILED;
import static com.instaclustr.picocli.CLIApplication.execute;
import static java.lang.String.format;
import static org.awaitility.Awaitility.await;
import java.util.Collections;
import java.util.List;
import java.util.M... |
package uk.ac.cam.cl.dtg.segue.comm;
/**
* EmailMustBeVerifiedException
* Exception to indicate that a user must have a verified email address to proceed.
* Created by sac92 on 30/04/2016.
*/
public class EmailMustBeVerifiedException extends Exception {
/**
* EmailMustBeVerifiedException.
* @param message in... |
/*
* 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 (C) 2014 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 app... |
package org.kyojo.schemaOrg.m3n3.doma.pending.clazz;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaOrg.m3n3.pending.impl.REPORTAGE_NEWS_ARTICLE;
import org.kyojo.schemaOrg.m3n3.pending.Clazz.ReportageNewsArticle;
@ExternalDomain
public class Reporta... |
package com.vedisoft.jm1.swing;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JTextAreaDemo extends JPanel implements ActionListener {
JTextField jtfInput;
JTextArea jtAreaOutput;
String newline = "\n";
public JTextAreaDemo() {
jtfInput = new JTextField(20);
jtfInput.addActi... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... |
// Copyright (c) 2010 Mixon/Hill, Inc. All rights reserved.
/**
* @file WriteRecord.java
*/
package clarus.cs.xml;
/**
* Provides a means to when the start and stop of the observations belonging to
* each station occurs. At the end of each of these groups of observations the
* values are written and the actual ob... |
/*
* Copyright 2019 Esri.
*
* 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 writing... |
package org.bouncycastle.asn1.its;
import org.bouncycastle.asn1.ASN1EncodableVector;
import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;
import org.bouncycastle.asn1.DERSequence;
/**
* <pre>
* SymmRecipientInfo ::= SEQUENCE {
* recipientId HashedId8,
* encKey S... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.vuforia.Vuforia;
@Autonomous
public class VuNavTest extends LinearOpMode {
RepresentoBotMVP bot;
UltimateVuforia vu;
CoordHolder cH;
... |
/**
* Copyright (c) 2020, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.trellis.whitelist.builder;
import com.salesforce.trellis.rules.Rule... |
///*
// * SPDX-License-Identifier: Apache-2.0
// */
//
//package org.hyperledger.fabric.samples.fabcar;
//
//import static org.assertj.core.api.Assertions.assertThat;
//import static org.assertj.core.api.ThrowableAssert.catchThrowable;
//import static org.mockito.Mockito.inOrder;
//import static org.mockito.Mockito.moc... |
/*
* Copyright 2018 Schibsted ASA.
*
* 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 ... |
package com.mamuya.datrastocospringbootapi.service;
import com.mamuya.datrastocospringbootapi.entities.Stock;
import java.util.List;
public interface StockService {
Stock save(Stock stock);
Stock findById(int id);
boolean existsById(int id);
List<Stock> findAll();
long count();
void dele... |
package org.fest.assertions.internal;
import static org.fest.test.ExpectedException.none;
import static org.mockito.Mockito.spy;
import org.junit.Before;
import org.junit.Rule;
import org.fest.test.ExpectedException;
import org.fest.assertions.util.AbsValueComparator;
import org.fest.util.ComparatorBasedComparisonS... |
package com.jobfinder.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="education_levels")
public class EducationLevel {
private int id;
private String title;
... |
package com.superme.reader.mvp.model.db.nativedao;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.concurrent.atomic.AtomicInteger;
/**
* author: ljy
* date: 2018/3/16
* description: 原生数据库的OpenHelper
* 仅仅是为了演示如何替... |
/*
* This file is part of the Cliche project, licensed under MIT License.
* See LICENSE.txt file in root folder of Cliche sources.
*/
package org.gearvrf.debug.cli.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
/**
*
* @author ASG
*/
public class ... |
/*
* 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 writing, software
* distribu... |
package xred.android.juancamilo.instatour;
import android.Manifest;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.google.android.gm... |
package org.apache.ofbiz.product.product;
import lombok.experimental.FieldNameConstants;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import java.sql.Timestamp;
import java.math.BigDecimal;
import org.apache.ofbiz.entity.GenericValue;
import java.util.List;
import java.util.ArrayList;
/**
... |
package com.numsg.common.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
/**
* 枚举类型与值的转换
* Created by nusmg 2017-12-18
*/
public class EnumConverterUtil {
private static final Logger logger = LoggerFactory.getLogger(EnumConverterUtil.class);
private EnumCo... |
package com.xiaowu.security.core.authorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;
import org.springframew... |
package InterviewExercise;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
/**
* @author lbf
* @date 2020/8/7 19:29
*/
public class Number2 {
public static class OrderNum {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// ... |
package cc.mrbird.febs.system.entity;
import cc.mrbird.febs.common.converter.TimeConverter;
import com.baomidou.mybatisplus.annotation.*;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.