text stringlengths 7 995k |
|---|
package com.oneplatform.organization.dao.mapper;
import com.jeesuite.mybatis.core.BaseMapper;
import com.oneplatform.organization.dao.entity.DepartmentEntity;
public interface DepartmentEntityMapper extends BaseMapper<DepartmentEntity, String> {
} |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.transform.transforms;
import org.elasti... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.wso2telco.sms;
import com.wso2telco.ReceiptRequest;
import java.util.List;
public class OutboundSMSMessageRequest {
private String clientCorrelator = "";
// private String callbackData = "";
... |
package com.kevin.dao;
import com.kevin.entity.User;
import java.util.List;
public interface UserDao {
/**
* 添加并保存用户
* @param user
*/
public void add(User user);
/**
* 进行登录
*/
public boolean login(User user);
/**
* 获取用户列表
*/
public List getUser();
/... |
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
package io.provenance.scope.contract;
import io.provenance.scope.contract.annotations.Function;
import io.provenance.scope.contract.annotations.Input;
import io.provenance.scope.contract.annotations.Participants;
import io.provenance.scope.contract.annotations.Record;
import io.provenance.scope.contract.annotations.Sc... |
package test.work.Tests;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import java.util.concurrent.TimeUnit... |
package com.jx.intelligent.wxapi;
//import com.umeng.socialize.weixin.view.WXCallbackActivity;
import com.umeng.weixin.callback.WXCallbackActivity;
public class WXEntryActivity extends WXCallbackActivity {
} |
package software.steinhauer.springprojectiondemo.user;
import org.springframework.stereotype.Service;
import javax.inject.Inject;
import java.util.List;
@Service
public class UserService {
@Inject
private UserRepository repository;
public List<User> getAllUser() {
return repository.findAll();
}
} |
package ch.icclab.cyclops.endpoint;
/*
* Copyright (c) 2017. Zuercher Hochschule fuer Angewandte Wissenschaften
* 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
*... |
/*
* Copyright 2012 Phil Pratt-Szeliga and other contributors
* http://chirrup.org/
*
* See the file LICENSE for copying permission.
*/
package org.trifort.rootbeer.testcases.rootbeertest.serialization;
import org.trifort.rootbeer.runtime.Kernel;
public class ShortArraysRunOnGpu implements Kernel {
private s... |
/*
* Copyright 2011-2018 GatlingCorp (https://gatling.io)
*
* 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 (C) Scott Cranton, Jakub Korab, and Christian Posta
* https://github.com/CamelCookbook
*
* 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/lice... |
/*
* Copyright 2013 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* 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 requ... |
package com.app.jfinal.service.workorder.db;
import java.util.Map;
import com.app.jfinal.service.wotodo.model.WorkToDo;
import com.google.common.collect.Maps;
import com.app.jfinal.service.workorder.model.Workorder;
import com.app.jfinal.service.wotodo.db.NormalWorktodoService;
import org.shoukaiseki.jfinal.kernel.ut... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package org.alfasoftware.morf.jdbc.postgresql;
import static org.alfasoftware.morf.metadata.SchemaUtils.namesOfColumns;
import static org.alfasoftware.morf.metadata.SchemaUtils.primaryKeysForTable;
import static org.alfasoftware.morf.sql.SelectStatement.select;
import static org.alfasoftware.morf.sql.SqlUtils.field;
... |
/**
*
* 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"); ... |
/*
* The MIT License (MIT)
*
* Copyright (c) i509VCB
* Copyright (c) HalfOf2
*
* 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 ri... |
package ubb.courses.backend.models.lesson;
import lombok.*;
import ubb.courses.backend.models.Course;
import ubb.courses.backend.models.generic.BaseEntity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Entity
@Table(name = "lessons")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
... |
package micalobia.soul_magic.block;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.util.registry.Registry;
public class Blocks {
public static final Block GLOW_IRON;
static {
GLOW_I... |
/*
* Copyright 2018 mk
*
* 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... |
package uk.gov.di.ipv.atp.dcs.controllers;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springfram... |
package net.minecraft.item;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class ItemBook extends Item {
public boolean func_77616_k(ItemStack p_77616_1_) {
return p_77616_1_.field_77994_a == 1;
}
public int func_77619_b() {
return 1;
}
} |
package com.realmo.transitionanimationdemo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... |
/*-
* ---license-start
* Corona-Warn-App
* ---
* Copyright (C) 2020 SAP SE and all other contributors
* All modifications are copyright (c) 2020 Devside SRL.
* ---
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... |
/*
* Copyright 2010 Google 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 in w... |
/*
* 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 l2f.gameserver.model.entity.events.objects;
import org.napile.primitive.sets.IntSet;
import org.napile.primitive.sets.impl.HashIntSet;
import l2f.gameserver.model.GameObjectsStorage;
import l2f.gameserver.model.Player;
import l2f.gameserver.model.entity.events.impl.SiegeEvent;
import l2f.gameserver.model.pled... |
// Copyright © 2019, California Institute of Technology ("Caltech").
// U.S. Government sponsorship acknowledged.
//
// 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 ... |
/*
* Copyright (C) 2012 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.adempiere.util.test;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 2 ... |
package dotcpp;
import java.util.Scanner;
/**
* @author: afuya
* @program: BiShiLianXi
* @date: 2021/6/4 9:32 下午
*/
public class T_2288 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int k = sc.nextInt();
int index = 0;
... |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
/*
* Copyright (c) 2007, intarsys consulting GmbH
*
* 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 conditions and the f... |
/**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.assertThrowsIl... |
package io.kaif.token;
import static org.junit.Assert.*;
import java.util.Random;
import java.util.UUID;
import org.junit.Test;
public class BytesTest {
@Test
public void uuid() throws Exception {
UUID uuid = UUID.randomUUID();
byte[] bytes = Bytes.uuidToBytes(uuid);
assertEquals(uuid, Bytes.uuidFr... |
/*
* 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 com.mse.forum.services;
import java.util.Date;
import java.util.List;
import com.mse.forum.dto.TopicDTO;
public interface TopicService {
boolean saveTopic(TopicDTO dto);
List<TopicDTO> getAll();
TopicDTO findByTitle(String title);
TopicDTO findById(Long id);
List<TopicDTO> getTopThreeMostRepliedToTopics... |
/*
* 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 ... |
import java.io.*;
import java.util.*;
class SuperHeroBattle {
final static int TRIALS = 10;
final static String OUTFILE_LOCATION = "../../out/A07/output.md";
final static String INFILE_LOCATION = "../../ref/txt/SuperheroDataset.csv";
static FileWriter fout;
static File infile, outfile;
static ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__File_array_read_check_min_67a.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-67a.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array Index
* BadSou... |
/*******************************************************************************
* Copyright 2014 The MITRE Corporation
* and the MIT Kerberos and Internet Trust Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
package com.merakianalytics.orianna.datapipeline.transformers.dtodata;
import java.util.ArrayList;
import java.util.List;
import com.merakianalytics.datapipelines.PipelineContext;
import com.merakianalytics.datapipelines.transformers.AbstractDataTransformer;
import com.merakianalytics.datapipelines.transformers.Trans... |
/*
* 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 ... |
/*
* Copyright 2016-2021 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... |
/*
* Copyright (c) 2011-2019 Pivotal Software Inc, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package be.telenet;
import be.telenet.utils.TelenetUtils;
import be.telenet.utils.navigation.NavigationActionListener;
import be.telenet.utils.navigation.NavigationButton;
import be.telenet.utils.navigation.NavigationIt... |
/*
* 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 ... |
/**
* Copyright 2014 SAP AG
*
* 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 w... |
/*
* web: org.nrg.xnat.initialization.SecurityConfig
* XNAT http://www.xnat.org
* Copyright (c) 2005-2017, Washington University School of Medicine and Howard Hughes Medical Institute
* All Rights Reserved
*
* Released under the Simplified BSD.
*/
package org.nrg.xnat.initialization;
import org.nrg.config.exce... |
/*
* 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 not ... |
package com.google.android.gms.drive.events;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.drive.DriveId;
import java.util.Locale;
public final class ChangeEvent implements SafeParcelable, ResourceEvent {
... |
package io.dreamstudio.starter.jedis.autoconfigure.properties;
import io.dreamstudio.starter.jedis.util.Constants;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;
/**
* @author Ricky Fung
*/
@ConfigurationProperties(prefix = Constants.PREFIX)
public class JedisProp... |
package cn.cerc.db;
import cn.cerc.db.core.DataSet;
/**
* 专用于建立测试类数据
*
* @author 张弓
*/
public class SampleData {
public static DataSet getDataSet() {
DataSet ds = new DataSet();
for (int i = 1; i < 10; i++) {
ds.append();
ds.setValue("code", "code" + i);
ds... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*
*/
package com.microsoft.azure.management.mediaservices.v2018_07_01.implementation;
imp... |
/*
* (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others.
*
* 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 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... |
package com.afollestad.materialcamerasample.camera.internal;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Build;
im... |
package org.ohdsi.webapi.user.importer.repository;
import org.ohdsi.webapi.user.importer.model.LdapProviderType;
import org.ohdsi.webapi.user.importer.model.UserImportJobHistoryItem;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;
import java.util.stream.Stream;
public interf... |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
package lk.ijse.dep.web.pos.repository;
import lk.ijse.dep.web.pos.entity.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
public interface CustomerRepository extends JpaRepository<Customer,String> {
Customer get... |
package com.rimalon.onlinetesting.auth;
import com.rimalon.onlinetesting.BaseTest;
import com.rimalon.onlinetesting.datamodel.dto.LoginResultJSON;
import com.rimalon.onlinetesting.datamodel.dto.RequestResultJSON;
import com.rimalon.onlinetesting.datamodel.enums.APIError;
import com.rimalon.onlinetesting.services.Auth... |
package org.jinyuanjava.litemall.db.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jinyuanjava.litemall.db.domain.ViewLitemallGoodsProduct;
import org.jinyuanjava.litemall.db.domain.ViewLitemallGoodsProductExample;
public interface ViewLitemallGoodsProductMapper {
/**
* Th... |
/*
* 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
* distribut... |
package SelectiveRepeat;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
public class Project
{
public final static void main(String[] argv)
{
StudentNetworkSimulator simulator;
int nsim = -1;
double loss = -1;
... |
package com.denizenscript.denizencore.events.core;
import com.denizenscript.denizencore.events.ScriptEvent;
import com.denizenscript.denizencore.objects.core.ElementTag;
import com.denizenscript.denizencore.objects.ObjectTag;
import com.denizenscript.denizencore.scripts.ScriptEntryData;
import com.denizenscript.denize... |
package com.izettle.wrench.service.helper;
import com.izettle.wrench.service.DefaultValue;
import com.izettle.wrench.service.Key;
public interface TestInterface {
default Object objectReturnTypeDefaultMethod(final Object value) {
return value;
}
/* J8 default method */
@Key("voidReturnType... |
package com.apkextractor.android.about.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import com.apkextractor.android.R;
import com.apkextractor.android.about.models.Contribution;
import com.apkextractor.andro... |
package com.example.demo;
import com.example.demo.datafetchers.ReviewsDataFetcher;
import com.example.demo.datafetchers.ShowsDatafetcher;
import com.example.demo.dataloaders.ReviewsDataLoader;
import com.example.demo.dataloaders.ReviewsDataLoaderWithContext;
import com.example.demo.generated.client.*;
import com.examp... |
package com.publiccms.controller.web.cms;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
package com.chrisdoyle.helloworld.app;
import android.test.ActivityInstrumentationTestCase2;
import android.test.UiThreadTest;
public class HelloWorldActivityTest extends ActivityInstrumentationTestCase2<HelloWorldActivity> {
public HelloWorldActivityTest() {
super(HelloWorldActivity.class);
}
... |
package ru.job4j.list;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* ContainerOnTheList класс реализации LinkedList на связанном списке.
* @author romatihsenko
* @since 13.07.2017
* @version 1
*/
public class ContainerOnTheList<E> implements SimpleList<E> {
/**
* size - size.
... |
/*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.backend.healthcare_services.dto;
import com.backend.healthcare_services.domain.FileDB;
import com.backend.healthcare_services.domain.Patient;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.HashSet;
import java.util.Set;
@Set... |
/*
* MIT License
*
* Copyright (c) 2021 TerraForged
*
* 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, modi... |
package io.github.evercraftmc.evercraft.discord.data.types.config;
import java.awt.Color;
public class ConfigColor {
private Integer red = 0;
private Integer green = 0;
private Integer blue = 0;
public Integer getRed() {
return this.red;
}
public Integer getGreen() {
return t... |
package com.febs.shangpin.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.febs.c... |
public DoubleTriplet Line(double x1, double y1, double x2, double y2) {
double a = y1 - y2;
double b = x2 - x1;
double c = x1 * y2 - x2 * y1;
return new DoubleTriplet(a, b, c);
} |
/*
* 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")... |
/*
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package codetoanalyze.java.infer;
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertTrue;
pu... |
package com.example.android.waitlist;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
... |
package run.micromall.micromall.db.validation;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.Re... |
package com.example.mirazib.my_dictionary_1_test;
/**
* Created by M.I.RAZIB on 2/3/2018.
*/
public class Dictmodel_bmark extends Dictmodel {
int id=0;
String word=null;
String meaning=null;
public Dictmodel_bmark()
{
}
public Dictmodel_bmark(int id, String word, String meaning) {
... |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number ... |
/*
* 文件名称: AbortReaderException.java
*
* 编译器: android2.2
* 时间: 下午5:06:13
*/
package com.arcsoft.office.system;
/**
* 中断文件解析异常
* <p>
* <p>
* Read版本: Read V1.0
* <p>
* 作者: ljj8494
* <p>
* 日期: 2012-4-24
* <p>
* 负责人: ljj8494
* <p>
* ... |
package org.basex.query.func.fn;
import java.util.*;
import org.basex.query.*;
import org.basex.query.expr.*;
import org.basex.query.func.*;
import org.basex.query.iter.*;
import org.basex.query.value.*;
import org.basex.query.value.item.*;
import org.basex.query.value.seq.tree.*;
import org.basex.query.var.*;
/**
... |
/*
* Copyright 2002-2016 The Jamocha Team
*
*
* 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writing, s... |
package ro.victor.unittest.mocks.prod;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ProdCodeTest {
public void metoda(Order order) {
// order.setReference("x");
}
@Test
public void testMetoda() {
Order order = new Order();
metoda(order);
assertEquals("x", order.getR... |
package il.org.spartan.spartanizer.issues;
import org.eclipse.jdt.core.dom.SingleVariableDeclaration;
import org.junit.Test;
import il.org.spartan.spartanizer.testing.TipperTest;
import il.org.spartan.spartanizer.tippers.ParameterAbbreviate;
import il.org.spartan.spartanizer.tipping.Tipper;
/** @author Dor Ma'ayan
... |
// This is a generated file. Not intended for manual editing.
package com.intellij.plugin.applescript.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface AppleScriptScriptObjectDefinition extends AppleScriptScriptObject {
@NotNull
AppleScriptIdenti... |
package parsing;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import de.fhpotsdam.unfolding.data.Feature;
import de.fhpotsdam.unfolding.data.PointFeature;
import de.fhpotsdam.unfolding.data.ShapeFeature;
import de.fhpotsdam.unfolding.geo.Location;
import processing.core.PApplet;
impor... |
package com.laegler.openbanking.soap.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for MinTermPeriod1.
*
* <p>The following schema fragment specifies the expected content contained within this class.
... |
package com.deeal.exchange.view.swipemenulistview;
import android.content.Context;
import android.support.v4.view.GestureDetectorCompat;
import android.support.v4.widget.ScrollerCompat;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.view.GestureDetector.OnGest... |
/*
* Copyright 2021 Infernal Studios
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package jp.skypencil.guava;
import java.util.Optional;
class Java8OptionalFieldWithInitialization {
Object field = Optional.empty();
} |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2022, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.variables;
import org.chocosolver.s... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 201... |
/*
* Copyright 2016 Bear Giles <bgiles@coyotesong.com>
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.