text
stringlengths
7
1.01M
/* * 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 (C) 2011 Trustees of the University of Pennsylvania * * 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 ...
/* * Copyright 2015 Fabio Collini. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// Targeted by JavaCPP version 1.5.4-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.cpython; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.cpython.global.python.*; // #endif @Proper...
package com.pineapplerobotics.velocityvortex.auto.AutoS3; import com.pineapplerobotics.velocityvortex.Stage2.AutoS2; import com.pineapplerobotics.velocityvortex.javacodeclasses.resources.enums.PublicEnums; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Disable...
/* * Copyright 2013 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* * Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.tencent.qcloud.suixinbo.presenters; import android.os.AsyncTask; import com.tencent.qcloud.suixinbo.model.RecordInfo; import com.tencent.qcloud.suixinbo.presenters.viewinface.RecListView; import java.util.ArrayList; /** * Created by xkazerzhang on 2016/12/22. */ public class RecListViewHelper { p...
/** * 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 2016 Google 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
/* * Copyright 2018 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or a...
package vay.enterwind.auto2000samarinda.adapter; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; i...
/** * Copyright (c) 2019,2020 honintech * * 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, merge, publish, di...
package modules.mouse; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import modules.Module; import core.Handler; public class Mouse implements MouseListener, MouseMotionListener, Module { public int mouseX, mouseY; public Key left, right; ...
package com.codepath.apps.restclienttemplate; import android.content.Intent; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Lo...
package com.example.threadpool; import cn.hutool.log.StaticLog; import com.google.common.collect.Lists; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; /** * @author bai.yang email:willis.bai@outlook.com * @date 2021/8...
package de.rototor.pdfbox.graphics2d; import java.awt.*; import java.io.IOException; import org.junit.Test; public class FontTest extends PdfBoxGraphics2DTestBase { @Test public void testAntonioFont() throws IOException, FontFormatException { final Font antonioRegular = Font .createFont(Font.TRUETYPE_FONT, ...
//package org.itstep.controller.listener; // //import org.itstep.controller.command.Command; //import org.itstep.controller.command.Exception; //import org.itstep.controller.command.LogOut; //import org.itstep.controller.command.Login; //import org.itstep.controller.command.Registration; // //import javax.servlet.Servl...
package com.u9porn.utils; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import com.orhanobut.logger.Logger; /** * @author flymegoc * @date 2018/1/22 */ public class FragmentUtils { private static final String TAG = Fr...
/* * 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 restdoc.client.dubbo.handler; import io.netty.channel.ChannelHandlerContext; import org.apache.dubbo.config.ApplicationConfig; import org.apache.dubbo.config.context.ConfigManager; import org.apache.dubbo.config.spring.ServiceBean; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory...
/** * Copyright (c) 2015 Intel Corporation * * 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.rajchemmeri.algorithms; public class MatrixRotation { public static void main(String[] args) { // TODO Auto-generated method stub int[][] mat = new int[][]{ {1, 2, 3, 4 , 21}, {5, 6, 7, 8, 22}, {9, 10, 11, 12, 23}, {13,14, 15, 16, 24}, {41,42, ...
/* * Copyright 2018 Red Hat, 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 app...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** * * * <pre> * Application Date Range Filter. * The API matches profiles with * [Application.application_date][google.cloud.talent.v4beta1.Application.appl...
package javaTester; public class Topic_03_System_Properties { public static void main(String[] args) { String projectLocation = System.getProperty("user.dir"); String osName = System.getProperty("os.name"); System.out.println(projectLocation); System.out.println(osName); System.out.println(projectLocation ...
package net.evendanan.bazel.mvn.api; import net.evendanan.bazel.mvn.api.model.Dependency; import java.util.List; public interface RuleClassifier { List<TargetsBuilder> classifyRule(Dependency dependency); }
package uk.nhs.careconnect.ri.entity.observation; import org.hibernate.annotations.LazyCollection; import org.hibernate.annotations.LazyCollectionOption; import uk.nhs.careconnect.ri.entity.BaseResource; import uk.nhs.careconnect.ri.entity.Terminology.ConceptEntity; import javax.persistence.*; import java.math.BigDec...
public class GermanShepard implements Dog { @Override public void breed() { System.out.println("Breed a German Shepard"); } }
package proyectomusica; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import java.awt.Image; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import static java.lang.Thread.sleep; import java.net....
package com.github.imthenico.annihilation.core.model.game; import com.github.imthenico.annihilation.api.event.NexusDamageEvent; import com.github.imthenico.annihilation.api.event.NexusDestroyEvent; import com.github.imthenico.annihilation.api.model.game.AnniPlayer; import com.github.imthenico.annihilation.api.model.ga...
package org.apache.maven.cli.configuration; /* * 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 ...
/** * 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...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; // Referenced classes of package com.google.android.gms.internal.ads: // zzuw, zzaqw final class zzva im...
package com.uottawa.project; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import android.view.View; import android...
package com.jspxcms.ext.repository; import java.util.List; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.data.repository.Repository; import com.jspxcms.common.orm.Limitable; import com.jspxcms.ext.domain.CollectField; impor...
/* * Copyright 2014 MovingBlocks * * 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...
package com.taurus.permanent.data; import java.io.IOException; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; import com.taurus.permanent.core.SessionManager; /** * 核心用户session对象 * @author daixiwei daixiwei15@126.com */ public final class Ses...
/* * MIT License * * Copyright (c) 2020 Ben Davies * * 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...
package io.dropwizard.auth; import io.dropwizard.auth.principal.NullPrincipal; import org.junit.jupiter.api.Test; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.Cookie; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.Request; import jav...
/* * Copyright (C) 2013 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...
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
package me.zhengjie.swagger2; import com.google.common.base.Predicates; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.ParameterBuilder; import springfox.doc...
package rq09_dayanch; public class RQ_65 { }
/* * Copyright (c) 2021 OPPO. 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 * * Unless required by applic...
package com.bkjk.influx.proxy.entity; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.NotNull; /** * @Program: influx-proxy * @Description: * @Author: shaoze.wang...
/* Copyright 2015 Google 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
package com.easemob.easeui.widget.chatrow; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.view.View; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.easemob.chat.EMMessage; import com.easemob.chat.VoiceM...
/* * Copyright 2018 StreamSets 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...
// Copyright (c) 2018 Imperial College London // // 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, merge...
/* * Rainbow authentication portal * # Rainbow authentication portal API guide ## Preamble [Download Postman collection][0] ### Introduction This guide describes list of API services that are provided by OT Rainbow authentication portal system. Services are used to manage OT Rainbow authentication. ### Protocol ...
package com.lzhpo.finance.service.impl; import com.lzhpo.finance.entity.TableDetail; import com.lzhpo.finance.mapper.TableDetailMapper; import com.lzhpo.finance.service.ITableDetailService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; import java.u...
package co.willsalz.ttyl.entities; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; public class StartCallRequest { @NotEmpty private final String from; @NotEmpty private final String to; ...
/** * <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 com.wolf.locks; import java.util.concurrent.locks.ReentrantReadWriteLock; public class SystemLocks { public static ReentrantReadWriteLock regLock = new ReentrantReadWriteLock(false);//服务注册锁 public static ReentrantReadWriteLock sessionGetLock = new ReentrantReadWriteLock(false);//session获取锁 public stat...
package com.github.mikephil.charting.charts; import android.content.Context; import android.graphics.Matrix; import android.graphics.PointF; import android.graphics.RectF; import android.util.AttributeSet; import android.util.Log; import com.github.mikephil.charting.components.Legend.LegendPosition; import com.githu...
package io.renren.modules.product.controller; import java.util.Arrays; import java.util.Map; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.ann...
package com.jtelegram.api.events.chat; import com.jtelegram.api.TelegramBot; import com.jtelegram.api.events.message.ServiceMessageEvent; import com.jtelegram.api.message.impl.service.NewChatPhotoMessage; import com.jtelegram.api.message.media.PhotoSize; import java.util.List; import lombok.Getter; import lombok.ToStr...
/* * Copyright 2015 Riccardo Tasso * * 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 (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package lib.sound.sampled; /** * Ports are simple lines for input or output of audio to or from audi...
package base; import java.util.LinkedList; public class Main { public static void main(String[] args) { // write your code here System.out.println("Hello World! Please recompile"); LinkedList <Integer> listx = new LinkedList<Integer>(); listx.add(1); listx.add(2); listx.a...
/* * #%L * BroadleafCommerce Framework Web * %% * Copyright (C) 2009 - 2016 Broadleaf Commerce * %% * Licensed under the Broadleaf Fair Use License Agreement, Version 1.0 * (the "Fair Use License" located at http://license.broadleafcommerce.org/fair_use_license-1.0.txt) * unless the restrictions on use therein...
package sk.olo.sperk.model; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.KeyFactory; import com.google.appengine.api.datastore.Text; import java.util.Date; import java.util.List; /** * Created by olo on 17. 6. 2015. */ pu...
package frc.robot; import com.ctre.phoenix.motorcontrol.can.TalonFX; import com.ctre.phoenix.motorcontrol.can.TalonSRX; import com.ctre.phoenix.motorcontrol.ControlMode; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /* Swerve Drive B3 = Speed B4 = Angle (Degrees) B5 = Rotation (-1 to 1 radians / second...
package ru.job4j.coffeemachine; import java.util.Arrays; /** * class Machine - кофемашина. * * @author Bruki Mammad (bruki_mammad@mail.ru) * @version 0.1 * @since 16.02.20 */ public class Machine { /** * Монеты в автомате. */ private final int[] coins = {10, 5, 2, 1}; /** * Метод в...
package com.example.raych.nhu; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.HashMap; import java.util.List; /** * Created by donnale on 4/25...
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
package org.apache.maven.model.validation; /* * 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 L...
package com.lambdaschool.nbapredictor.models; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.lambdaschool.nbapredictor.logging.Loggable; import org.springframework.security.core.authority...
/* * 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 ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: morphology.proto package zemberek.proto.morphology; public interface WordAnalysisProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:zemberek.morphology.WordAnalysisProto) com.google.protobuf.MessageOrBuilder { /** *...
/* * Copyright 2016 The Sem 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 applicable law or agr...
package ru.artyrian.statusmanager.service; import org.apache.log4j.Logger; import org.joda.time.DateTime; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; /** * Created by artyrian on ...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
package com.vaadin.flow.component.charts.model; /*- * #%L * Vaadin Charts for Flow * %% * Copyright (C) 2014 - 2019 Vaadin Ltd * %% * This program is available under Commercial Vaadin Add-On License 3.0 * (CVALv3). * * See the file licensing.txt distributed with this software for more * information about li...
/* * 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 br.com.lsd.dao; import java.io.Serializable; import java.util.List; public interface Dao<E> extends Serializable { public E save(E entity); public List<E> saveAll(List<E> entities); public void remove(Long id); public void removeAll(List<E> entities); public List<E> listar(); }
// Autogenerated AST node package org.python.antlr.ast; import org.antlr.runtime.CommonToken; import org.antlr.runtime.Token; import org.python.antlr.AST; import org.python.antlr.PythonTree; import org.python.antlr.adapter.AstAdapters; import org.python.antlr.base.excepthandler; import org.python.antlr.base.expr; impor...
/* * Copyright (c) 2004-2021, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.tracers; import org.junit.Assert; import org.junit.Test; import com.newrelic.agent.util.Obfuscator; public class CrossProcessNameFormatTest { @Test public void ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (c) 2017, MegaEase * 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 * * Unless required by ap...
/* * Copyright 2015 calotocen * * 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...
package lab4.prob2.domain.sub1; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import lombok.Data; ...
package it.linksmt.cts2.plugin.sti.db.model; // Generated 24.10.2011 10:08:21 by Hibernate Tools 3.2.1.GA import static javax.persistence.GenerationType.IDENTITY; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax...
package underdogs.devbie.chat.domain; import static org.assertj.core.api.Assertions.*; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import underdogs.devbie.chat.exception.NoSuchTitleColorException; class TitleColorTest { @DisplayName("지원하지 않는 타이틀 컬러") @Test void from() {...
package edu.depaul.cdm.se452.teamnosleep.hotelreservationsystem.repositories; import org.springframework.data.mongodb.repository.MongoRepository; import edu.depaul.cdm.se452.teamnosleep.hotelreservationsystem.entities.Rating; public interface ReviewRepository extends MongoRepository<Rating, String> { }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package de.dlyt.yanndroid.oneui.dialog; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Spannable; import android.text....
package cn.jia.isp.filter; import javax.servlet.annotation.WebFilter; import javax.servlet.annotation.WebInitParam; import com.alibaba.druid.support.http.WebStatFilter; @WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*", initParams = { @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,...
package ru.otus.core.dao; import ru.otus.core.model.User; import ru.otus.core.sessionmanager.SessionManager; import java.util.List; import java.util.Optional; public interface UserDao { Optional<User> findById(long id); List<User> findAll(); long insertUser(User user); void updateUser(User user); ...
/* * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package Others; /** * 数字以0123456789101112131415…的格式序列化到一个字符序列中。在这个序列中, * 第5位(从下标0开始计数)是5,第13位是1,第19位是4,等等。 * 请写一个函数,求任意第n位对应的数字。 * @Description: 剑指 Offer 44. 数字序列中某一位的数字 * @Author: Hypocrite30 * @Date: 2021/11/13 12:26 */ public class _44 { /** * 数学推导 * @Reference: https://leetcode-cn.com/problems...
package org.platformlayer.ops.machines; import java.net.InetAddress; import java.util.List; import org.platformlayer.core.model.InstanceBase; import org.platformlayer.core.model.ManagedItemState; import org.platformlayer.core.model.PlatformLayerKey; import org.platformlayer.core.model.Tag; import org.platformlayer.co...
/* * ApplicationInsights-Java * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * 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, inclu...
package com.lambdaschool.usermodel.services; import com.lambdaschool.usermodel.models.Attendee; import com.lambdaschool.usermodel.models.Event; import com.lambdaschool.usermodel.models.User; import java.util.List; public interface AttendeeService { Attendee save( Event event, User user); Att...
package com.teejaynorris.aflashcardapp.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.readystatesoftware.sqliteasset.SQLiteAssetHelper; import com.teejaynorris.aflashcardapp.R; import com.teejayn...
package com.cpucode.java.template.template; //查询总记录数 import org.springframework.jdbc.core.JdbcTemplate; import com.cpucode.java.template.utils.JDBCUtils; public class Select_sum { public static void main(String[] args){ JdbcTemplate template = new JdbcTemplate(JDBCUtils.getDataSource()); String ...
/* * Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved. * 长沙市师说网络科技有限公司 版权所有 * http://www.shishuo.com */ package com.tianzhu.cms.tag; import static freemarker.template.ObjectWrapper.BEANS_WRAPPER; import java.io.IOException; import java.util.Map; import org.apache.commons.lang3....