text stringlengths 7 995k |
|---|
package com.iluwatar.specialcase;
public interface ApplicationServices {
ReceiptViewModel loggedInUserPurchase(String userName, String itemName);
} |
/*
* 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
* distributed u... |
package sg.togoparts.login;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import sg.togoparts.R;
import sg.togoparts.app.Const;
import sg.togoparts.app.MyVolley;
import sg.togoparts.json.BrandResult;
import sg.togoparts.json.GsonR... |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... |
/*
* 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 m... |
package com.fbd.admin.app.seo.service.impl;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.fbd.admin.app.seo.service.ISeoTdkService;
import com.fbd.core.app.seo.dao.ISeoTdkDao;
import com.fbd.core.app.seo.model.SeoTdkModel;
import com.fbd.core.common.model.SearchResult;
imp... |
/**
* 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 data;
import static data.Conexion.*;
import domain.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class Formula_especificaDAO implements IDAOBUSCAR1<Formula_especifica> {
... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp 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/LICE... |
package io.agrest;
import io.agrest.meta.AgEntity;
import io.agrest.meta.AgIdPart;
import java.util.Collection;
import java.util.Map;
/**
* @since 1.24
*/
public abstract class BaseObjectId implements AgObjectId {
@Override
public Map<String, Object> asMap(AgEntity<?> entity) {
if (entity == null... |
/**
*
*/
package graphics;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.media.j3d.Texture2D;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.helpers.XMLReaderFact... |
package com.github.buildcontainers.examples.springboot;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
public interface CompanyRepository extends CrudRepository<Company, Long> {
List<Company> findAll();
} |
/*
* 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 com.huaweicloud.sdk.dds.v3.model;
import com.huaweicloud.sdk.core.SdkResponse;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.huawe... |
/*
* Copyright 2014-2019 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... |
package com.github.vlsidlyarevich.winterframework.context;
import com.github.vlsidlyarevich.winterframework.beans.factory.BeanFactory;
public interface ApplicationContext extends BeanFactory {
BeanFactory getBeanFactory();
void close();
} |
package wang.joye.springboottemplate.util;
import wang.joye.springboottemplate.constant.TConstants;
import wang.joye.springboottemplate.exception.BusinessException;
import javax.servlet.http.HttpSession;
/**
* @author 汪继友
* @since 2020/4/9
*/
public class SessionUtil {
private static void check(HttpSession ... |
/*
* 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 pt.tech4covid.web.rest.errors;
import io.github.jhipster.web.util.HeaderUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.BindingResult;
import org.s... |
/*
* 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 co.com.touresbalon.productservice.dto;
/**
*
* @author rchicangana
*/
public class ImagenProductoDTO {
private Lon... |
/*
* Copyright (C)2009 - SSHJ Contributors
*
* 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... |
/*
* Copyright 2012 JBoss by Red Hat.
*
* 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... |
package hu.bme.mit.theta.solver.smtlib.solver;
import hu.bme.mit.theta.core.decl.ConstDecl;
import hu.bme.mit.theta.core.model.Valuation;
import hu.bme.mit.theta.core.type.Expr;
import hu.bme.mit.theta.core.type.booltype.BoolType;
import hu.bme.mit.theta.core.utils.ExprUtils;
import hu.bme.mit.theta.solver.Solver;
imp... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose" file="PostalParams.java">
// Copyright (c) 2021 Aspose.BarCode for Cloud
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any person ... |
/*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* 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, includi... |
/*******************************************************************************
* Copyright 2021 Danny Kunz
*
* 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.... |
/*
* Copyright 2018 Alfresco, Inc. and/or 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 ... |
package org.spongepowered.asm.mixin.injection;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableList.Builder;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
impor... |
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
Gobbetti, José Rebelo, Lem Dulfo, maxirnilian
This file is part of Gadgetbridge.
Gadgetbridge is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by... |
package org.yeastrc.spectral_storage.get_data_webapp.shared_server_client.webservice_request_response.sub_parts;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
/**
* Single Scan Partial Data: scanNumber, level, retentio... |
package com.hkt.cwp.dao;
import com.hkt.cwp.models.EmployeeTestDetail;
public interface EmployeeTestDetailDao {
int insertEmployeeTestDetail(EmployeeTestDetail employeeTestDetail) throws Exception;
int updateEmployeeTestDetail(EmployeeTestDetail employeeTestDetail) throws Exception;
} |
package com.dfzlv.gjjlt.caramelos.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.dfzlv.gjjlt.caramelos.CaramelosGame;
public class DesktopLauncher {
public static void main (String[] arg) {
LwjglApplicationConfigura... |
package jp.co.cyberagent.valor.hbase;
import java.util.Arrays;
import java.util.Collections;
import jp.co.cyberagent.valor.hbase.formatter.MapTtlValueFormatter;
import jp.co.cyberagent.valor.hbase.formatter.TtlFormatter;
import jp.co.cyberagent.valor.hbase.optimize.HBaseOptimizer;
import jp.co.cyberagent.valor.hbase.r... |
package com.otus.alexeenko.l8.services.custom.builders.internal;
import com.otus.alexeenko.l8.services.custom.builders.spi.TableQueryBuilder;
/**
* Created by Vsevolod on 14/06/2017.
*/
public class TableBuilder implements TableQueryBuilder {
private static final String CREATE_TABLE = "create table if not exist... |
package dao;
import java.util.List;
public interface DAOInterface<T> {
public void create(T obj);
public T read(Object chave);
public T update(T obj);
public void delete(T obj) ;
public List<T> readAll();
public void deleteAll();
} |
/**
*
* The MIT License
*
* Copyright 2018-2021 Paul Conti
*
* 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, co... |
/*
* 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 algorithmia.ValueChange;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
public class ValueChangeTest {
private final ValueChange underTest;
public ValueChangeTest() {
underTest = new ValueChange();
}
@Tes... |
class tw52ogyhMsixKo {
public yQQR8v8ZZX5smL[][] ol0oVO (OR[][][] GCqFgaINrfNudB, r_w FK429rD) {
return;
return;
;
-2.iQcCblPtGz5iX;
return;
void g5zRLPeDx;
wW[] hcuhHEDV;
{
boolean[][][] mh;
int[] vhkfHIqJdDF1J5;
r... |
package it.poste.postspy.views;
import it.poste.postspy.Activator;
import it.poste.postspy.constant.MessageConstant;
import it.poste.postspy.entity.FortifyElement;
import it.poste.postspy.entity.FortifyElementParent;
import it.poste.postspy.importWizards.FortifyImport;
import it.poste.postspy.utility.LogUtility;
impo... |
package clinic.programming.training;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
public class Application {
public int countWords(String words){
String[] separateWords = StringUtils.split(words, ' ');
return (separateWords == null) ? 0 : separateWords.leng... |
package inesc_id.pt.motivandroid.settingsAndProfile.fragments.setHomeAndWork;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.view.LayoutInflater;
import android.view.View;
import and... |
/*
* Copyright 2020 Marc Nuri
*
* 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... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.utils.kubeUtils.controllers;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.apps.StatefulSet;
import io.... |
//,temp,VmDiskStatisticsDaoImpl.java,112,128,temp,UsageDaoImpl.java,298,313
//,3
public class xxx {
@Override
public Long getLastVmDiskStatsId() {
TransactionLegacy txn = TransactionLegacy.currentTxn();
PreparedStatement pstmt = null;
String sql = GET_LAST_VM_DISK_STATS;
try {
... |
package js.tiny.container.unit;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.lang.reflect.Type;
import js.json.Json;
import js.json.JsonException;
public class JsonStub implements Json {
@Override
public <T> T parse(Reader reader, Type type) throws IOException, JsonExceptio... |
package integration.client.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
@JsonIgnoreProperties(ignoreUnknown = true)
public class OAuthToken {
private int tokenId;
private S... |
package com.smart.module.sys.repository;
import com.smart.module.sys.entity.SysInterface;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* sys_interface Repository
*/
@Repository
public interface SysInterfaceRepository extends JpaRepository<SysIn... |
package ee.edio.garmin.jps.model;
import ee.edio.garmin.MonkeyConstants;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.model.JpsDummyElement;
import org.jetbrains.jps.model.JpsElementFactory;
import org.jetbrains.jps.model.JpsSimp... |
//
// Copyright (C) 2010-2016 Roger Rene Kommer & Micromata GmbH
//
// 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... |
package org.mockitousage.bugs;
import org.junit.Test;
import org.mockito.listeners.InvocationListener;
import org.mockito.listeners.MethodInvocationReport;
import java.util.List;
import static org.mockito.Mockito.*;
public class ListenersLostOnResetMockTest {
@Test
public void listener() throws Exception ... |
package com.github.ollgei.boot.autoconfigure.disruptor.retryable;
import lombok.Data;
@Data
public class RetryableResponseModel<T> {
private T response;
private RetryableResultEnum result;
public RetryableResponseModel(T response, RetryableResultEnum result) {
this.response = response;
... |
package com.airbnb.epoxy;
import android.graphics.Canvas;
import android.view.View;
import androidx.recyclerview.widget.ItemTouchHelper;
/**
* For use with {@link EpoxyModelTouchCallback}
*/
public interface EpoxySwipeCallback<T extends EpoxyModel> extends BaseEpoxyTouchCallback<T> {
/**
* Called when the vi... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.maven.webapp.handlers.v1;
import com.google.common.io.Files;
import com.microsoft.azure.maven.artifacthandler.ZIPArtifactH... |
package org.omg.CosNaming;
/**
* org/omg/CosNaming/BindingHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u181/11358/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Saturday, July 7, 2018 4:03:11 AM PDT
*/
abstract ... |
package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.junit.Test;
import java.util.*;
import static org.junit.Assert.*;
/**
* Tests for Element (DOM stuff mostly).
*
* @author Jonathan Hedley
*/
public class ElementT... |
package sk.vander.contacts.base;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.support.design.widget.AppBarLayout;
import android.support.v7.app.AppCompatActivity;
import android.... |
/*******************************************************************************
*
* Copyright (c) 2009, 2011, Barthelemy Dagenais All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redi... |
package app.services.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import app.entities.Customer;
import app.repositories.CustomerRepository;
import app.service... |
package ch06;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
public class BinaryCopyEx {
public static void main(String[] args) {
File src = new File("c:\\tmp\\img1.jpg");
File dest = new File("c:\\tmp\\copyImg.png");
int c;
long startTime = System.currentTimeMillis();... |
package com.xiaoleilu.hutool.crypto.digest;
import java.io.File;
import java.io.InputStream;
import javax.crypto.SecretKey;
import com.xiaoleilu.hutool.exceptions.UtilException;
import com.xiaoleilu.hutool.util.CharsetUtil;
/**
* 摘要算法工具类
*
* @author Looly
*
*/
public final class DigestUtil {
private Digest... |
package mage.cards.s;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.UUID;
import mage.Mana;
import mage.abilities.Ability;
import mage.abilities.LoyaltyAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.co... |
package com.qmuiteam.qmui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
/**
* 支持高度值为 wrap_content 的 {@link ListView},解决原生 {@link ListView} 在设置高度为 wrap_content 时高度计算错误的 bug。
*/
public class QMUIWrapContentListView extends ListView {
private int mMaxHei... |
package com.zhigu.model;
import java.util.Date;
/**
* 店铺公告
*
* @author zhouqibing 2014年10月31日下午1:55:22
*/
public class StoreNotice {
/**
* ID
*/
private int ID;
/**
* 店铺ID
*/
private int storeID;
/**
* 店铺名称
*/
private String storeName;
/**
* 类型
*/
private int type;
/**
* 内容
*/
priv... |
/**
* Copyright 2019 The JoyQueue 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 applicable law or... |
package com.example.myfyp.Fragments;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
impor... |
/*
* 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) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package cn.silently9527.crocodile.config.security;
import cn.silently9527.crocodile.core.security.CurrentUserService;
import cn.silently9527.crocodile.core.security.model.UserDetailsModel;
import cn.silently9527.crocodile.repository.databases.entity.User;
import cn.silently9527.crocodile.utils.HttpUtils;
import cn.sil... |
/*
* Copyright 2012-2018 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 cmput301f18t18.health_detective.domain.executor.impl;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import cmput301f18t18.health_detective.domain.executor.ThreadExecutor;
import ... |
package com.cs385.teamnull.projectdesign;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.view.Mo... |
package sk.moravcik.kristian.gl1.hw7;
import java.io.IOException;
import java.io.Writer;
import java.util.List;
public class CSVUtils {
private static final char DEFAULT_SEPARATOR = ',';
static void writeLine(Writer w, List<String> values) throws IOException {
writeLine(w, values, DEFAULT_SEPARATOR,... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
package org.hl7.fhir.dstu3.model.codesystems;
/*
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... |
/**
* MIT License
*
* Copyright (c) 2017-2021 Julb
*
* 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, modif... |
/*
* 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... |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* SDialogRepAccount.java
*
* Created on 29/06/2010, 05:02:26 PM
*/
package erp.mfin.form;
import erp.data.SDataConstantsSys;
import erp.data.SDataUtilities;
import erp.gui.account.SAccountConsts;
import erp.gui... |
/*
* Copyright 2002-2017 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... |
/*
* Copyright 2009 Richard Zschech.
*
* 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... |
/*
* Copyright 2020 Monotonic 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.example.culturespot;
import android.content.Context;
import android.util.AttributeSet;
import androidx.appcompat.widget.SearchView;
public class MySearchView extends SearchView { // custom search view for on queryTextSubmit
SearchView.SearchAutoComplete mSearchSrcTextView;
OnQueryTextListener lis... |
package edu.neu.coe.info6205.functions;
import java.util.function.DoubleFunction;
/**
* This class models the Newton-Raphson Approximation algorithm.
* See https://en.wikipedia.org/wiki/Newton%27s_method
* It is an example of a non-deterministic algorithm inasmuch as the convergence (or lack thereof) is very depen... |
/*
* 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... |
/*
* 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
* distributed u... |
/*
* Copyright 2015-2018 The OpenZipkin 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 applicable law or a... |
/*L
* Copyright Duke Comprehensive Cancer Center
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/catrip/LICENSE.txt for details.
*/
/*
* Created on Jun 11, 2006
*/
package edu.duke.cabig.catrip.test.system.steps;
import gov.nci.nih.cagrid.tests.core.util.FileUtils;
im... |
package com.match.management.infrastructure.web;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.config.MessageBrokerRegistry;
import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
import org.springframework.web.socket.config.annota... |
package me.dmexe.telemetry.kafka;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.util.Lists.newArrayList;
import io.opentracing.mock.MockSpan;
import io.opentracing.mock.MockTracer;
import io.opentracing.util.ThreadLocalActiveSpanSource;
import java.time.Duration;
import java... |
/**
* Copyright (c) 2016-2019 雅南集团 All rights reserved.
*
* https://www.yanan.io
*
* 版权所有,侵权必究!
*/
package io.renren.modules.sys.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fas... |
package com.anton.blockchain;
import com.anton.blockchain.domain.Block;
import com.anton.blockchain.service.BlockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotat... |
/*
* 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 2012 The OpenDSP Project
*
* The OpenDSP Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.iaaa.appnode;
public final class R {
public static final class array {
public static int pref_locationDataTypeTyp... |
/*
* 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 electrodynamics.common;
import electrodynamics.IElectrodynamicsProxy;
public class ServerProxy implements IElectrodynamicsProxy {
@Override
public void preInit() {}
@Override
public void init() {}
@Override
public void postInit() {}
} |
/*
* Copyright 2016-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
import java.util.Scanner;
public class PatternTriangle {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the number of rows");
int rows = scanner.nextInt();
for(int i = rows - 1; i >= 0; i--) {
for(int j = 0; j <= i; j++) {
Syste... |
package lee.code.code_794__Valid_Tic_Tac_Toe_State;
import java.util.*;
import lee.util.*;
/**
*
*
* 794.Valid Tic-Tac-Toe State
*
* difficulty: Medium
* @see https://leetcode.com/problems/valid-tic-tac-toe-state/description/
* @see description_794.md
* @Similiar Topics
* -->Math https://leetcode.com//tag/mat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.